-
Notifications
You must be signed in to change notification settings - Fork 21
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
'raw' gather report should output all PU repeats #884
Conversation
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.
Thanks @frannerin - just a couple of things.
I think there's that one test that will fail and will require manually adding in the repeats to the stored table string.
I did the zero-indexed repeats thing and updated the test_gather.py. I ran pytest -k test_gather and got: 23 passed, 3 skipped, 840 deselected, 1 xfailed, 2 xpassed, 25 warnings |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #884 +/- ##
==========================================
- Coverage 94.59% 91.64% -2.95%
==========================================
Files 134 134
Lines 9935 9935
==========================================
- Hits 9398 9105 -293
- Misses 537 830 +293
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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.
lgtm! @frannerin would you like to be added to our list of contributors?
Super glad that this was useful!!!
That would be great, thank you so much |
Function
_parse_raw_units
in openfecli/commands/gather.py only processed first ProtocolUnit repeat and then_write_raw
did not distinguish between repeats if there were any._write_dg_raw
is left unchanged because it seems to be unused.Example output (openfe gather --report raw ) before fix for a RBFE protocol with 3 PU repeats for the solvent legs, and 1 repeat for the complex legs:
Example output after fix:
Checklist
news
entryDevelopers certificate of origin