NREL / buildstockbatch

Other
21 stars 14 forks source link

Checking if directory is deleted before copying #431

Closed nmerket closed 7 months ago

nmerket commented 7 months ago

Pull Request Description

Checks to see if the directory on local scratch is empty before copying to it.

Checklist

Not all may apply

github-actions[bot] commented 7 months ago

File Coverage
All files 86% :white_check_mark:
base.py 91% :white_check_mark:
exc.py 57% :white_check_mark:
hpc.py 78% :white_check_mark:
local.py 70% :white_check_mark:
postprocessing.py 84% :white_check_mark:
utils.py 91% :white_check_mark:
cloud/docker_base.py 89% :white_check_mark:
sampler/base.py 79% :white_check_mark:
sampler/downselect.py 33% :white_check_mark:
sampler/precomputed.py 93% :white_check_mark:
sampler/residential_quota.py 61% :white_check_mark:
test/shared_testing_stuff.py 85% :white_check_mark:
test/test_docker.py 33% :white_check_mark:
test/test_local.py 97% :white_check_mark:
test/test_validation.py 97% :white_check_mark:
workflow_generator/base.py 90% :white_check_mark:
workflow_generator/commercial.py 53% :white_check_mark:
workflow_generator/residential_hpxml.py 86% :white_check_mark:

Minimum allowed coverage is 33%

Generated by :monkey: cobertura-action against 48bd8ed493368b2964ccfd871254738d8f31b3ce

nmerket commented 7 months ago

This didn't address the issue they were having as it wasn't a race condition. The actual fix is #438.