Skip to content

Commit

Permalink
fix bug with features unordered and standardizer refit for applicabil…
Browse files Browse the repository at this point in the history
…ity domain
  • Loading branch information
HellevdM committed Mar 10, 2024
1 parent c2c68b1 commit 79a4c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qsprpred/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def predictMols(
# return predictions and if mols are within applicability domain if requested
if hasattr(self, "applicabilityDomain") and use_applicability_domain:
in_domain = self.applicabilityDomain.contains(
dataset.getFeatures(concat=True)
dataset.getFeatures(concat=True, ordered=True, refit_standardizer=False)
)
in_domain = self.handleInvalidsInPredictions(mols, in_domain, failed_mask)
return predictions, in_domain.values
Expand Down

0 comments on commit 79a4c24

Please sign in to comment.