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

batch replace 'except:' with 'except Exception:' #703

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Apr 18, 2022

The latter will not catch KeyboardInterrupt and SystemExit. See https://stackoverflow.com/a/18982726/9567349.

The latter will not catch `KeyboardInterrupt` and `SystemExit`. See https://stackoverflow.com/a/18982726/9567349.
@codecov-commenter
Copy link

codecov-commenter commented Apr 18, 2022

Codecov Report

Merging #703 (1015622) into devel (ddbcaa9) will not change coverage.
The diff coverage is 11.62%.

@@           Coverage Diff           @@
##            devel     #703   +/-   ##
=======================================
  Coverage   34.71%   34.71%           
=======================================
  Files          86       86           
  Lines       15525    15525           
=======================================
  Hits         5390     5390           
  Misses      10135    10135           
Impacted Files Coverage Δ
dpgen/auto_test/Lammps.py 30.94% <0.00%> (ø)
dpgen/data/gen.py 50.85% <0.00%> (ø)
dpgen/data/reaction.py 0.00% <0.00%> (ø)
dpgen/data/surf.py 67.20% <0.00%> (ø)
dpgen/data/tools/cessp2force_lin.py 0.00% <0.00%> (ø)
dpgen/dispatcher/ALI.py 0.00% <0.00%> (ø)
dpgen/dispatcher/DispatcherList.py 0.00% <0.00%> (ø)
dpgen/dispatcher/LSF.py 9.35% <0.00%> (ø)
dpgen/dispatcher/SSHContext.py 22.76% <0.00%> (ø)
dpgen/dispatcher/Shell.py 14.45% <0.00%> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ddbcaa9...1015622. Read the comment docs.

@wanghan-iapcm wanghan-iapcm merged commit 80ad9c1 into deepmodeling:devel Apr 19, 2022
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.

3 participants