Skip to content

Commit

Permalink
fix: Fix typo accessing Target projects (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbchristie authored Aug 13, 2024
1 parent 2821be6 commit 6fad98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/cset_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def create_mol(self, inchi, target, name=None) -> Compound:
target.title,
num_target_proposals,
)
for project in target.project_set.all():
for project in target.project_id.all():
cpd.project_id.add(project)
except MultipleObjectsReturned as exc:
# NB! when processing new uploads, Compound is always
Expand Down

0 comments on commit 6fad98c

Please sign in to comment.