ReactionMechanismGenerator / ARC

ARC - Automatic Rate Calculator
https://reactionmechanismgenerator.github.io/ARC/index.html
MIT License
43 stars 21 forks source link

Only process #653

Open alongd opened 1 year ago

alongd commented 1 year ago

We'd like ARC to immediately process thermo/kinetics after all relevant jobs have ended. This PR takes us one small step closer to this goal, adding an only_process arg to the input (restart) file, to request ARC to only process what it can and not spawn new jobs in this restart mode when only_process is True.

Also, save the species adjlist if given. Some species are not read correctly in RMG (especially hyperventilate N and S containing species), which results in excluding them from the final thermo library. Here we use the user-provided adjlist (which is the best way to define these species) if given.

codecov[bot] commented 1 year ago

Codecov Report

Merging #653 (c3d61c3) into main (0ad087a) will increase coverage by 0.00%. The diff coverage is 53.33%.

@@           Coverage Diff           @@
##             main     #653   +/-   ##
=======================================
  Coverage   73.20%   73.21%           
=======================================
  Files          99       99           
  Lines       26359    26370   +11     
  Branches     5513     5516    +3     
=======================================
+ Hits        19297    19306    +9     
- Misses       5693     5694    +1     
- Partials     1369     1370    +1     
Flag Coverage Δ
unittests 73.21% <53.33%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
arc/plotter.py 27.77% <0.00%> (ø)
arc/scheduler.py 20.25% <25.00%> (-0.03%) :arrow_down:
arc/main.py 48.96% <33.33%> (-0.07%) :arrow_down:
arc/reaction_test.py 89.47% <100.00%> (+0.03%) :arrow_up:
arc/species/species.py 71.26% <100.00%> (+0.08%) :arrow_up:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more