Skip to content

Commit

Permalink
fix value access
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-sicho committed Nov 27, 2024
1 parent eb1fb04 commit 9e67706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qsprpred/data/tables/mol.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,9 @@ def addDescriptors(
if before != after:
logger.warning(
f"Descriptor set {calculator} has been reduced from "
f"{len(before)} to {len(after)} descriptors."
f"{before} to {after} descriptors."
"Returned data frame contained more columns than expected."
f"Extra columns: {set(before) - set(after)}"
f"Extra columns: {set(cols) - set(df_descriptors.columns)}"
)
df_descriptors = df_descriptors[[*calculator.descriptors,
self.idProp]]
Expand Down

0 comments on commit 9e67706

Please sign in to comment.