Skip to content

Commit

Permalink
Merge pull request #60 from rcjackson/no_csvfiles
Browse files Browse the repository at this point in the history
FIX: No more csvfiles
  • Loading branch information
rcjackson authored Feb 19, 2024
2 parents 1f8419b + 0cd705f commit 3684668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysp2/io/read_dat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3684668

Please sign in to comment.