Skip to content

Commit 20e3b62

Browse files
author
Alexey Pechnikov
committed
Fix regular expression formatting
1 parent da01ef1 commit 20e3b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmtsar/pygmtsar/PRM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def _from_io(prm):
281281
"""
282282
import pandas as pd
283283

284-
df = pd.read_csv(prm, sep='\s+=\s+', header=None, names=['name', 'value'], engine='python').set_index('name')
284+
df = pd.read_csv(prm, sep=r'\s+=\s+', header=None, names=['name', 'value'], engine='python').set_index('name')
285285
df['value'] = df['value'].map(PRM.to_numeric_or_original)
286286

287287
return PRM(df)

0 commit comments

Comments
 (0)