Update param_study_moduls.py
changed the delimiter to ","
This commit is contained in:
parent
a25fab93ca
commit
6edc9c2ec4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user