diff --git a/pysp2/io/read_dat.py b/pysp2/io/read_dat.py index d1c6eae..96daba3 100644 --- a/pysp2/io/read_dat.py +++ b/pysp2/io/read_dat.py @@ -38,9 +38,9 @@ def read_dat(file_name, type): for f in fname: try: if type.lower() == 'particle': - ds = act.io.csvfiles.read_csv(f, sep="\t", skiprows=2) + ds = act.io.text.read_csv(f, sep="\t", skiprows=2) else: - ds = act.io.csvfiles.read_csv(f, sep="\t") + ds = act.io.text.read_csv(f, sep="\t") ds_list.append(ds) except (pd.errors.EmptyDataError, IndexError): continue