Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions hippo/animal.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,14 +848,14 @@ def load_sdf(
ref_str = row.get(reference_col)
if ref_str:
try:
reference = int(ref_str)
row_reference = int(ref_str)
except ValueError:
reference = inspiration_map[ref_str]
row_reference = inspiration_map[ref_str]
else:
reference = None
row_reference = None

elif isinstance(reference, Pose):
reference = reference.id
row_reference = reference.id

# metadata
metadata = {}
Expand Down Expand Up @@ -906,7 +906,7 @@ def load_sdf(
path=pose_path,
metadata=metadata,
inspiration_ids=inspiration_list,
reference_id=reference,
reference_id=row_reference,
mol=mol,
inchikey=inchikey,
smiles=smiles,
Expand Down
2 changes: 1 addition & 1 deletion tests/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## CONFIGURE TESTS

CLEANUP = True
DOWNLOAD = False
DOWNLOAD = True
SETUP = True
ADD_HITS = True
SCAFFOLDS = True
Expand Down
Loading