diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml deleted file mode 100644 index 7cea8a6..0000000 --- a/.github/workflows/auto_release.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "tagged-release" - -on: - push: - tags: - - "v*" - -jobs: - tagged-release: - name: "Tagged Release" - runs-on: "ubuntu-latest" - - steps: - - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false diff --git a/src/napari_trackpy/_widget.py b/src/napari_trackpy/_widget.py index c6e87fb..389e2e0 100644 --- a/src/napari_trackpy/_widget.py +++ b/src/napari_trackpy/_widget.py @@ -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) @@ -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, ] ) diff --git a/src/napari_trackpy/_writer.py b/src/napari_trackpy/_writer.py index 294b04c..3d32412 100644 --- a/src/napari_trackpy/_writer.py +++ b/src/napari_trackpy/_writer.py @@ -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(