Skip to content

Commit

Permalink
change default
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Morris committed Apr 25, 2024
1 parent b265038 commit 23ecbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyto_dl/image/io/polygon_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ def __call__(self, input_dict):
f"key `{key}` not available. Available keys are {input_dict.keys()}"
)
elif self.missing_key_mode == "create":
input_dict[key] = np.zeros_like(input_dict[self.shape_reference_key])
input_dict[key] = np.ones_like(input_dict[self.shape_reference_key])
return input_dict

0 comments on commit 23ecbc9

Please sign in to comment.