Skip to content

Reset species output paths when deleting all species jobs#686

Merged
alongd merged 1 commit intomainfrom
reset_output_paths
Aug 10, 2023
Merged

Reset species output paths when deleting all species jobs#686
alongd merged 1 commit intomainfrom
reset_output_paths

Conversation

@alongd
Copy link
Copy Markdown
Member

@alongd alongd commented Jul 27, 2023

When we delete_all_species_jobs, for example after switching a TS guess to something better and we no longer need the sp, freq, etc jobs of the previous TS, we must also reset the output dict of the Scheduler object, so that all paths are empty. Note that for irc we have two paths, forward and reverse, so we treat it differently (see here the structure of the output dict)

Copy link
Copy Markdown
Contributor

@Lilachn91 Lilachn91 left a comment

Choose a reason for hiding this comment

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

Looks good :)
Thanks!

@alongd alongd force-pushed the reset_output_paths branch from 435ab66 to 864e5fe Compare August 10, 2023 08:17
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 10, 2023

Codecov Report

Merging #686 (864e5fe) into main (bffe8db) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #686   +/-   ##
=======================================
  Coverage   73.18%   73.19%           
=======================================
  Files          99       99           
  Lines       26524    26525    +1     
  Branches     5547     5548    +1     
=======================================
+ Hits        19412    19414    +2     
  Misses       5771     5771           
+ Partials     1341     1340    -1     
Flag Coverage Δ
unittests 73.19% <0.00%> (+<0.01%) ⬆️

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

Files Changed Coverage Δ
arc/scheduler.py 21.30% <0.00%> (-0.02%) ⬇️

... and 1 file with indirect coverage changes

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

@alongd alongd merged commit d9c75c1 into main Aug 10, 2023
@alongd alongd deleted the reset_output_paths branch August 10, 2023 15:58
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