Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Wrong ROI coordinates for new Fluidigm software versions #104

Closed
jwindhager opened this issue Jan 20, 2021 · 4 comments
Closed

Wrong ROI coordinates for new Fluidigm software versions #104

jwindhager opened this issue Jan 20, 2021 · 4 comments
Assignees
Labels
bug V2 Issues related to the new imctools v2 release

Comments

@jwindhager
Copy link
Contributor

imctools version: 2.1.0
Python version: 3.9.1
Operating System: Ubuntu 20.04.1 LTS

The ROI coordinate fix is only applied to old Fluidigm software versions:

# TODO: check if the issue is fixed in newer Fluidigm versions
roi_start_x_pos_um = float(a.get(const.ROI_START_X_POS_UM, 0))
roi_start_y_pos_um = float(a.get(const.ROI_START_Y_POS_UM, 0))
if slide.sw_version is None or version.parse(slide.sw_version) <= version.parse("7.0.5189.0"):
roi_start_x_pos_um /= 1000
roi_start_y_pos_um /= 1000

The code doesn't work correctly for current Fluidigm software versions. This isn't future-proof and a fix is urgently needed.

@plankter
Copy link
Contributor

Which slide.sw_version do you have in affected files? We don't have any specification updates from Fluidigm and this 1000 bug-fix was discovered by Vito, as I remember.

@plankter
Copy link
Contributor

This is an issue we had back then: Correct Fluidigm's comma fault #72

@plankter
Copy link
Contributor

I see two options: either I remove version check completely (then we may have problems with future fixed versions), or I update the version number to the latest known version, which is broken.

plankter added a commit that referenced this issue Jan 20, 2021
- FIX: Wrong ROI coordinates for new Fluidigm software versions #104
- FIX: Extra 161 bytes extracted on all image buffers #102
@plankter plankter mentioned this issue Jan 20, 2021
@plankter
Copy link
Contributor

Fixed in 2.1.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug V2 Issues related to the new imctools v2 release
Projects
None yet
Development

No branches or pull requests

2 participants