Skip to content

Commit

Permalink
update syntax to avoid deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdalton committed Dec 19, 2024
1 parent 4c950c4 commit d91f81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reciprocalspaceship/io/precognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def read_precognition(hklfile, spacegroup=None, cell=None, logfile=None):
F = pd.read_csv(
hklfile,
header=None,
delim_whitespace=True,
sep="\\s+",
names=["H", "K", "L", "F(+)", "SigF(+)", "F(-)", "SigF(-)"],
usecols=usecols,
)
Expand All @@ -49,7 +49,7 @@ def read_precognition(hklfile, spacegroup=None, cell=None, logfile=None):
F = pd.read_csv(
hklfile,
header=None,
delim_whitespace=True,
sep="\\s+",
names=[
"H",
"K",
Expand Down

0 comments on commit d91f81f

Please sign in to comment.