-
Notifications
You must be signed in to change notification settings - Fork 23
Improvements to the way failures are handled and state saving #44
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
Conversation
…f multi_component_hydrogen_bond_propensity_report.py
…to save the state of the MCHBP. This was done so a report can be compiled even if the software crashes. This will allow for example stopping the software and re-running it and skipping the already calculated regressions.
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.
Looks good. I'd recommend implementing the change suggested and then we can look at getting it merged in.
.../multi_component_hydrogen_bond_propensity/multi_component_hydrogen_bond_propensity_report.py
Outdated
Show resolved
Hide resolved
.../multi_component_hydrogen_bond_propensity/multi_component_hydrogen_bond_propensity_report.py
Show resolved
Hide resolved
.../multi_component_hydrogen_bond_propensity/multi_component_hydrogen_bond_propensity_report.py
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
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.
Looks good to me. Thanks for the changes!
I didn't get the branch check. Did I do something wrong? |
@Luke2Sky don't worry. This is something we will be changing soon, but for now, we will try to merge the changes as they are :) |
This pull request aims to improve how unexpected process stopping in multi_component_hydrogen_bond_propensity_report.py loses all progress made. This happens when the computer in which it is being run is unexpectedly shutdown or when the script uses too much memory. I also listed the coformers for which there is a failure in the file failures.txt. This improvement is not enough for a new script based in MCHBP. This was tested with HXACAN28 and 3 coformers that we are using in LaMuCrEs-IFSC-USP. It also worked in a longer test with 90 coformers for a specific molecule we are working with.