Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit ID on z-stacks - "Z:[z.unit]" label is fixed to 0.00um #511

Closed
Rdornier opened this issue Aug 9, 2023 · 1 comment
Closed

Edit ID on z-stacks - "Z:[z.unit]" label is fixed to 0.00um #511

Rdornier opened this issue Aug 9, 2023 · 1 comment

Comments

@Rdornier
Copy link
Contributor

Rdornier commented Aug 9, 2023

Bug report

Describe the bug
The label "Z:[z.unit]" updates to 0.00um and is not further updated when you copy-paste an image and edit its id (the new image has the same number of xyczt). This issue happens on the copied images, even if you delete previous labels and add them again.
However, this issue does not happen if you replace "unit" by "pixel" in the label field.
Edit: Related issue #512

To Reproduce

  1. Open a new figure
  2. Import an z-stack
  3. Select some slices
  4. Add "Z:[z.unit]" label (You need to manually replace "pixel" by "unit")
  5. Copy-Paste the slices
  6. Select the new coipes
  7. Edit their ID with the ID of a new stack (with same number of xyczt => can be the same image ID as well)
  8. All the labels are updated to "Z: 0.00 um"
  9. If you change the displayed slice, the label doesn't update anymore

Expected behavior
The label should be updated correctly regarding the displayed slice.

Screenshots
OMERO-figure-bug-label

Desktop :

  • Software: OMERO.figure
  • version: 6.0.0

ping @romainGuiet

Rdornier added a commit to Rdornier/omero-figure that referenced this issue Sep 20, 2023
@Rdornier
Copy link
Contributor Author

This issue should be fixed in the PR #518.
The z-step and z-unit were added to the minimal attributes to transfer when setting a new ID.

@jburel jburel closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants