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

Make TrackMateImporter robust against non integer frame numbers #304

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

stefanhahmann
Copy link
Collaborator

This PR aims at making the TrackMateImporter more robust against non pure integer frame numbers.

I received a MaMuT file from a collaborator that contained frame numbers, such as FRAME=0.0, FRAME=1.0, etc.
While the decimal digit does not make any sense, it seems to be the case that some MaMuT version are storing them, cf. this snippet from a MaMuT file:
grafik

This lead to an exception while importing the MaMuT file into Mastodon:
grafik

This PR provides a workaround for this situation.

@stefanhahmann stefanhahmann self-assigned this Apr 29, 2024
@tinevez tinevez merged commit 53d8380 into dev Apr 29, 2024
1 check passed
@tinevez tinevez deleted the stefanhahmann-patch-1 branch April 29, 2024 12:58
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

Successfully merging this pull request may close these issues.

2 participants