From 6edc9c2ec48dbb604f486c2433b314c755585fc6 Mon Sep 17 00:00:00 2001 From: JakHolzer <53743814+JakHolzer@users.noreply.github.com> Date: Tue, 13 Oct 2020 17:50:26 +0200 Subject: [PATCH] Update param_study_moduls.py changed the delimiter to "," --- pyzebra/param_study_moduls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyzebra/param_study_moduls.py b/pyzebra/param_study_moduls.py index b2f3e2d..2c7618e 100644 --- a/pyzebra/param_study_moduls.py +++ b/pyzebra/param_study_moduls.py @@ -15,11 +15,11 @@ def load_dats(filepath): data_type = "txt" file_list = list() with open(filepath, "r") as infile: - col_names = next(infile).split() + col_names = next(infile).split(",") for line in infile: if "END" in line: break - file_list.append(tuple(line.split())) + file_list.append(tuple(line.split(","))) elif isinstance(filepath, list): data_type = "list" file_list = filepath