Skip to content

Commit

Permalink
fix: upload 2 existing compound lookup
Browse files Browse the repository at this point in the history
Lookup was using key that didn't exist in experiment object.
  • Loading branch information
kaliif committed Dec 11, 2024
1 parent af96a1e commit 9e8eebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/target_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ def process_site_observation(
try:
logger.debug('exp: %s, %s', experiment, experiments[experiment_id].new)
compound = experiment.compounds.get(
smiles=experiments[experiment_id].index_data["smiles"]
ligand_name=ligand_name,
)
except Compound.DoesNotExist:
# really doensn't exist, can happen
Expand Down

0 comments on commit 9e8eebd

Please sign in to comment.