Skip to content

Commit

Permalink
Fix pandas delim_whitespace deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacovercast committed Feb 2, 2024
1 parent b4a066d commit a7a44e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipyrad/core/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def _link_barcodes(self):
.format(self.params.barcodes_path))

# read in the file
bdf = pd.read_csv(barcodefile[0], header=None, delim_whitespace=1)
bdf = pd.read_csv(barcodefile[0], header=None, sep="\s+")
bdf = bdf.dropna()

# make sure bars are upper case
Expand Down Expand Up @@ -380,7 +380,7 @@ def _link_populations(self, popdict=None, popmins=None):
## parse populations file
popdat = pd.read_csv(
popfile, header=None,
delim_whitespace=1,
sep="\s+",
names=["inds", "pops"],
comment="#",
dtype=str)
Expand Down

0 comments on commit a7a44e2

Please sign in to comment.