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

Saving and Reloading BranchSpot Feature in Table does not work #279

Open
stefanhahmann opened this issue Feb 16, 2024 · 1 comment
Open
Labels

Comments

@stefanhahmann
Copy link
Collaborator

stefanhahmann commented Feb 16, 2024

Bug Description

Steps to reproduce

Reproduce by Saving and Reloading project

  1. Clone project: https://github.com/mastodon-sc/mastodon-example-data/tree/master/tgmm-mini
  2. Open Fiji
  3. Open Mastodon Beta-28
  4. Open Feature Computer
  5. Compute BranchSpot feature, e.g. Branch duration and displacement, Branch depth and Branch N Spots
  6. Save project as new project
  7. Close project
  8. Open Mastodon again
  9. Open project
  10. Open Table

GIF 16 02 2024 09-40-05

After this procedure, the previously computed (and presumably serialized and deserialized) feature values are not shown in the feature table. Instead those columns appear to be empty:

grafik

Expected behaviour

The columns should show the same values as after the computation of the features.

Reproduce by Regenerating the branch graph after branch graph features have been computed

  1. Compute Branch Features
  2. Press "Regenerate" in TrackScheme window

GIF 16 02 2024 12-07-57

Tested in environment:

  • Windows
  • Mastodon Beta-28
@stefanhahmann
Copy link
Collaborator Author

stefanhahmann commented Feb 16, 2024

I think, I can narrow it down to this line in ProjectLoader:

appModel.getBranchGraphSync().sync();

The value maps in the feature model do have values before this branch graph sync and after, these maps are empty.

The same happens, if the feature are computed and the branch graph is regenerated manually by pressing "Regenerate" in the TrackSchemeView.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant