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

Fixed output filename formatting which assumed the extension was always 3 characters long #43

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

rdrighetto
Copy link
Contributor

Someone tried to run membrain-seg on a tomo with .em extension and then we found this bug in the output filename. Using os.path.splitext() fixes it.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d76e97e) 6.62% compared to head (6a1d2a4) 5.41%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #43      +/-   ##
========================================
- Coverage   6.62%   5.41%   -1.22%     
========================================
  Files         38      38              
  Lines       1313    1256      -57     
========================================
- Hits          87      68      -19     
+ Misses      1226    1188      -38     

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

@LorenzLamm
Copy link
Collaborator

Looks good, thanks for implementing! :)

@LorenzLamm LorenzLamm merged commit 1f9747a into teamtomo:main Dec 14, 2023
11 checks passed
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.

3 participants