Skip to content

Commit

Permalink
fix: fixed compounds being not connected to project
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliif committed Dec 15, 2023
1 parent f585e1f commit 6b45364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions viewer/target_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,7 @@ def process_metadata(
) in compound_objects.items(): # pylint: disable=no-member
experiment = experiment_objects[comp_code].instance
experiment.compounds.add(comp_meta.instance)
comp_meta.instance.project_id.add(self.experiment_upload.project)

xtalform_objects = self.process_xtalform(yaml_data=xtalforms)

Expand Down

0 comments on commit 6b45364

Please sign in to comment.