Skip to content

Commit

Permalink
Add ndim to attributes in Tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Dec 17, 2024
1 parent a1e1ff1 commit 418ac83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/motile_plugin/data_model/tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ def _save_attrs(self, directory: Path):
"scale": self.scale
if not isinstance(self.scale, np.ndarray)
else self.scale.tolist(),
"ndim": self.ndim,
}
with open(out_path, "w") as f:
json.dump(attrs_dict, f)
Expand Down

0 comments on commit 418ac83

Please sign in to comment.