-
Notifications
You must be signed in to change notification settings - Fork 110
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
Minor Q-Chem updates #292
Minor Q-Chem updates #292
Conversation
# Conflicts: # custodian/qchem/handlers.py
@janosh This is ready for review/merging. Once merged, I would appreciate it if you could release a new version. Please and thank you! |
custodian/qchem/jobs.py
Outdated
if not os.path.exists(local_scratch): | ||
os.mkdir(local_scratch) |
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.
if not os.path.exists(local_scratch): | |
os.mkdir(local_scratch) | |
os.mkdir(local_scratch, exist_ok=True) |
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.
Not sure what @shyuep's stance on test files is for Custodian but in pymatgen we're trying to move to compressed test files to keep repo size small. Would only entail running gzip test_files/qchem/new_test_files/fileman_cpscf.qin
and changing the file extension when loading the file in python.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #292 +/- ##
==========================================
- Coverage 66.11% 65.78% -0.33%
==========================================
Files 51 51
Lines 5610 5641 +31
==========================================
+ Hits 3709 3711 +2
- Misses 1901 1930 +29
☔ View full report in Codecov by Sentry. |
This PR fixes a few bugs in the Q-Chem error handlers, adds one new handler, adds some additional tests, and slightly extends post processing scratch file handling.