Skip to content

Commit

Permalink
add raw string formatter and change sep -> delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
alisterburt committed Feb 11, 2024
1 parent 1f46a2c commit d790fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/starfile/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _parse_loop_block(self) -> pd.DataFrame:
else:
df = pd.read_csv(
StringIO(loop_data.replace("'", '"')),
sep='\s+',
delimiter=r'\s+',
header=None,
comment='#',
keep_default_na=False
Expand Down

0 comments on commit d790fba

Please sign in to comment.