pvdeg.utilities.remove_scenario_filetrees#
- pvdeg.utilities.remove_scenario_filetrees(fp, pattern='pvd_job_*')[source]#
Move cwd to fp and remove all scenario file trees from fp directory.
Permanently deletes all scenario file trees. USE WITH CAUTION.
Parameters:#
- fpstring
file path to directory where all scenario files should be removed
- patternstr
pattern to search for using glob. Default value of pvd_job_ is equvilent to pvd_job_* in bash.
Returns:#
None