Skip to content

Commit

Permalink
pca impute_method for no imputation should be None and not False
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacovercast committed Sep 22, 2024
1 parent 3996302 commit 414830a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipyrad/analysis/pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def __init__(
index=self.names, columns=["missing"])

# impute missing data
if (self.impute_method is not False) and self._mvals:
if (self.impute_method is not None) and self._mvals:
self._impute_data()


Expand Down

0 comments on commit 414830a

Please sign in to comment.