diff --git a/hippo/animal.py b/hippo/animal.py index c5a7fde..d2edfd5 100644 --- a/hippo/animal.py +++ b/hippo/animal.py @@ -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 = {} @@ -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, diff --git a/tests/config.py b/tests/config.py index 354c526..7f95b7b 100644 --- a/tests/config.py +++ b/tests/config.py @@ -18,7 +18,7 @@ ## CONFIGURE TESTS CLEANUP = True -DOWNLOAD = False +DOWNLOAD = True SETUP = True ADD_HITS = True SCAFFOLDS = True