Skip to content

Commit

Permalink
Fix the edge case with deepcopy threadlock error
Browse files Browse the repository at this point in the history
  • Loading branch information
JureZmrzlikar committed Dec 1, 2023
1 parent 1aa147e commit 5871a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resdk/resources/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def set_annotation(
return None
field = self.resolwe.annotation_field.from_path(full_path)
annotation_value = self.resolwe.annotation_value.create(
sample=self, field=field, value=value
sample=self.id, field=field.id, value=value
)
return annotation_value

Expand Down

0 comments on commit 5871a42

Please sign in to comment.