From a889ebfaf44367cb47fdaa715bfba8760d94c165 Mon Sep 17 00:00:00 2001 From: David Johnson Date: Mon, 19 Jun 2017 17:21:48 +0100 Subject: [PATCH] Minor function name change --- isatools/magetab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isatools/magetab.py b/isatools/magetab.py index 7f7dc16a..56665f19 100644 --- a/isatools/magetab.py +++ b/isatools/magetab.py @@ -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 = {} @@ -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 = {}