Skip to content

209 update to geff v1 compatibility#90

Merged
cmalinmayor merged 11 commits intomainfrom
209-update-to-geff-v1-compatibility
Oct 10, 2025
Merged

209 update to geff v1 compatibility#90
cmalinmayor merged 11 commits intomainfrom
209-update-to-geff-v1-compatibility

Conversation

@AnniekStok
Copy link
Copy Markdown
Collaborator

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 95.91837% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.32%. Comparing base (109e762) to head (0962762).
⚠️ Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
src/funtracks/import_export/import_from_geff.py 94.44% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   89.00%   89.32%   +0.32%     
==========================================
  Files          25       25              
  Lines        1128     1134       +6     
==========================================
+ Hits         1004     1013       +9     
+ Misses        124      121       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/funtracks/import_export/export_to_geff.py Outdated

# Create metadata and add the affine matrix. Axes will be added automatically.
metadata = GeffMetadata(
geff_version=geff.__version__,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@msschwartz21 an example of our API being inconvenient - Anniek had to make a GeffMetadata to store related objects, but most of the other metadata stuff gets populated by our write thing, so this code is a little silly (plus i'm not sure if we gets the right geff-spec version overwritten)
Anniek - this should technically be geff-spec.version

Comment thread src/funtracks/import_export/import_from_geff.py Outdated
Copy link
Copy Markdown
Contributor

@cmalinmayor cmalinmayor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the nice geff API :) instead of the secret confusing one

@cmalinmayor cmalinmayor self-requested a review October 10, 2025 17:30
Copy link
Copy Markdown
Contributor

@cmalinmayor cmalinmayor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing - thanks!! 🦷 🪥

@cmalinmayor cmalinmayor merged commit 1138c92 into main Oct 10, 2025
15 checks passed
@cmalinmayor cmalinmayor deleted the 209-update-to-geff-v1-compatibility branch October 10, 2025 17:33
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