Skip to content

Commit

Permalink
Minor function name change
Browse files Browse the repository at this point in the history
  • Loading branch information
djcomlab committed Jun 19, 2017
1 parent 77a01af commit a889ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isatools/magetab.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def parse(magetab_idf_path, technology_type, measurement_type):
return ISA


def tsv_to_dict(file_path):
def transposed_tsv_to_dict(file_path):
with open(file_path, encoding='utf-8') as tsvfile:
tsvreader = csv.reader(filter(lambda r: r[0] != '#', tsvfile), dialect='excel-tab')
table_dict = {}
Expand Down Expand Up @@ -739,7 +739,7 @@ def get_single(values):
print("Warning: more than one value found, selecting first in value list")
return stripped_values[0]

table_dict = tsv_to_dict(file_path=file_path)
table_dict = transposed_tsv_to_dict(file_path=file_path)

squashed_table_dict = {}

Expand Down

0 comments on commit a889ebf

Please sign in to comment.