-
Notifications
You must be signed in to change notification settings - Fork 40
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
MzTab Validation #362
MzTab Validation #362
Conversation
I am not looking for a review just yet I just opened this PR to run the test jobs and test the jmzTab validator steps. |
…into 322-mztab-validation
…into 322-mztab-validation
…into 322-mztab-validation
…into 322-mztab-validation
…into 322-mztab-validation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #362 +/- ##
==========================================
+ Coverage 91.48% 94.03% +2.54%
==========================================
Files 12 12
Lines 1022 1022
==========================================
+ Hits 935 961 +26
+ Misses 87 61 -26 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice clean implementation. 👍 One minor style comment.
One more thing that you might investigate a bit more before merging though is whether the validation can still be extracted. I'm thinking something like a separate GitHub action, where it now says "Set up Java" and uses that specific action, that we might create a dedicated action that provides mzTab validation. I haven't done something like that myself yet, so I don't know how it would work or whether it'd be possible.
The immediate benefit is that the jar would not need to be included in the Casanovo repository, but rather in a separate repository that would implement this action. The bigger benefit, however, would be that we'd then be able to easily call this action for any tool that exports to mzTab, whereas now the validation is Casanovo-specific.
Hmm, question though: the change to export the precursor charge as an integer instead of a float in 9792584 doesn't seem to be retained in the final diff. Did that get reverted? And if so, the generated mzTabs should be non-compliant, so the test should fail. Can you double-check that the output is correct and the tests run successfully? The precursor charge export fix should also be mentioned in the changelog. |
I checked |
Yes, you're right. Very weird, the diff doesn't even indicate that |
Automatically runs mzTab validation via github actions using a compiled jmzTab validator executable.