Skip to content

Commit

Permalink
deepsource iterate dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleySchuhl committed May 7, 2024
1 parent 5e96360 commit 4b2f862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plantcv/annotate/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def save_counts(self, label=None):
"""Save collected coordinates to Outputs.observations"""
if label is None:
label = params.sample_label
for x in self.count.keys():
value = self.count[x]
for key in self.count:
value = self.count[key]
outputs.add_observation(sample=label, variable="object_count",
trait='count of category',
method='count', scale='count', datatype=int,
Expand Down

0 comments on commit 4b2f862

Please sign in to comment.