Skip to content
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

Adding check for the raw calculation to see if lammps has exited with an error #90

Conversation

JPchico
Copy link
Collaborator

@JPchico JPchico commented Nov 25, 2023

Adding check for the raw calculation to see if lammps has exited with an error. Addresses #87

@JPchico JPchico requested a review from sphuber November 25, 2023 16:44
@JPchico JPchico self-assigned this Nov 25, 2023
Copy link

codecov bot commented Nov 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (12a4c95) 85.30% compared to head (d8e6985) 85.86%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #90      +/-   ##
===========================================
+ Coverage    85.30%   85.86%   +0.56%     
===========================================
  Files           19       19              
  Lines         1599     1606       +7     
===========================================
+ Hits          1364     1379      +15     
+ Misses         235      227       -8     
Flag Coverage Δ
pytests 85.86% <100.00%> (+0.56%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Member

@sphuber sphuber left a comment

Choose a reason for hiding this comment

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

Changes look good, thanks @JPchico . Would be great if you could add a quick test. Does one already exist for the other parser?

@JPchico
Copy link
Collaborator Author

JPchico commented Nov 28, 2023

Hi @sphuber! No there is no test for this, so I'll add one for both parsers.

@JPchico
Copy link
Collaborator Author

JPchico commented Nov 28, 2023

@sphuber tests added. If you agree I'll merge this one.

@sphuber sphuber self-requested a review November 28, 2023 11:16
Copy link
Member

@sphuber sphuber left a comment

Choose a reason for hiding this comment

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

Thanks @JPchico good to go

@JPchico JPchico merged commit 0affc72 into aiidaplugins:develop Nov 28, 2023
10 checks passed
@JPchico JPchico deleted the 87-return-non-zero-exit-code-if-lammps-errors-out-in-the-raw-calculation branch November 28, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants