Skip to content

Conversation

MilitaoLucas
Copy link
Contributor

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.

…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.
@Alex-AMC Alex-AMC self-requested a review October 3, 2023 07:20
Copy link
Contributor

@Alex-AMC Alex-AMC left a 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.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@MilitaoLucas MilitaoLucas requested a review from pmbulit October 3, 2023 15:35
Copy link
Member

@pmbulit pmbulit left a 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!

@MilitaoLucas MilitaoLucas requested a review from Alex-AMC October 3, 2023 16:09
@MilitaoLucas
Copy link
Contributor Author

I didn't get the branch check. Did I do something wrong?

@Alex-AMC
Copy link
Contributor

Alex-AMC commented Oct 4, 2023

@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 :)

@sjackson-ccdc sjackson-ccdc merged commit 317f972 into ccdc-opensource:main Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants