Skip to content

Commit

Permalink
Merge pull request #3 from rhoitink/dev
Browse files Browse the repository at this point in the history
Merge for v0.2.1
  • Loading branch information
rhoitink authored Nov 8, 2023
2 parents cc72f82 + 5580e12 commit 6c0a0e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/auto_release.yml

This file was deleted.

8 changes: 0 additions & 8 deletions src/napari_trackpy/_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ def __init__(self, viewer: napari.viewer.Viewer):

self.run_btn = PushButton(label="Run")
self.reset_btn = PushButton(enabled=False, label="Reset")
self.save_params_btn = PushButton(
enabled=False, label="Save tracking parameters"
)
self.save_tracking_btn = PushButton(
enabled=False, label="Save coordinates"
)
self.run_btn = PushButton(label="Run")
self.run_btn.clicked.connect(self.run_tracking)
self.reset_btn.clicked.connect(self.reset)
Expand All @@ -91,8 +85,6 @@ def __init__(self, viewer: napari.viewer.Viewer):
self.max_mass,
self.run_btn,
self.reset_btn,
self.save_params_btn,
self.save_tracking_btn,
]
)

Expand Down
2 changes: 2 additions & 0 deletions src/napari_trackpy/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def xyz_file_writer(
)
header += ' Unit="micrometer"'

coordinates = coordinates[:, [2, 1, 0]] # change from ZYX to XYZ

if "particle_tracking_settings" in attributes["metadata"]:
# save particle tracking settings to txt file
with open(
Expand Down

0 comments on commit 6c0a0e2

Please sign in to comment.