8000 Gaussian v2 parser by shivupa · Pull Request #1595 · cclib/cclib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Gaussian v2 parser #1595

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Gaussian v2 parser #1595

wants to merge 11 commits into from

Conversation

shivupa
Copy link
Member
@shivupa shivupa commented May 9, 2025

This implements all of the currently implemented V2 attributes except mocoeffs and atomcharges for Gaussian

@shivupa shivupa requested review from berquist and amandadumi May 9, 2025 06:14
Copy link
codecov bot commented May 9, 2025

Codecov Report

Attention: Patch coverage is 50.34965% with 142 lines in your changes missing coverage. Please review.

Project coverage is 12.67%. Comparing base (c146408) to head (0ace0dd).

Files with missing lines Patch % Lines
cclib/attribute_parsers/aonames.py 0.00% 95 Missing ⚠️
cclib/attribute_parsers/moments.py 73.91% 24 Missing ⚠️
cclib/attribute_parsers/geotargets.py 0.00% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1595      +/-   ##
==========================================
+ Coverage   12.07%   12.67%   +0.59%     
==========================================
  Files         110      111       +1     
  Lines       16818    17095     +277     
==========================================
+ Hits         2031     2167     +136     
- Misses      14787    14928     +141     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +96 to +105
if line[5:33] == "Natural Orbital Coefficients":
parsed_atombasis = natural_orbital_single_spin_parsing(file_handler)
return {atombasis.__name__: parsed_atombasis}

if line[5:39] == "Alpha Natural Orbital Coefficients":
parsed_atombasis = natural_orbital_single_spin_parsing(file_handler)
return {atombasis.__name__: parsed_atombasis}
if line[5:38] == "Beta Natural Orbital Coefficients":
parsed_atombasis = natural_orbital_single_spin_parsing(file_handler)
return {atombasis.__name__: parsed_atombasis}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would combine these three into a single conditional.

this_dispersionenergies.append(dispersion)
return {dispersionenergies.__name__: np.array(this_dispersionenergies)}
return None
# The geometry convergence targets and values are printed in a table, with the legends
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray comment from Psi4 section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0