Skip to content

reV-Batch copies status and log directories from parent directory #573

@WilliamsTravis

Description

@WilliamsTravis

reV version checks

  • I have confirmed this bug has not already been reported.

  • I have confirmed this bug exists on the latest version of reV.

  • I have confirmed this bug exists on the main branch of reV.

Bug Description

When running reV-batch, if the user had run the pipeline in the source directory it will copy over the .gaps and logs directories into each batched run directory. Of course, the intention of a batch run is to only run the batched runs, but if the user wanted to test the parent configs before running batch, the presence of the .gaps directory could interfere with the batch runs and the logs directory could be confusing when troublingshooting.

The solution is to simply exclude these two specific directories when copying the parent files into each batch run directory.

Reproducible Example

reV batch -c config_batch.json5

Full Traceback

No response

Expected Behavior

reV-batch copies all files from the parent directory except for logs and .gaps into each batch run directory.

System and installed versions

  • OS: Linux
  • Compute hardware: Kestrel
  • reV Version: 0.14.5
  • Python Version: 3.13.9

Charge code

GDOP.12495.31.01.01

Metadata

Metadata

Assignees

Labels

bugfixFixes a bugenhancementUpdate to logic or general code improvementsp-lowPriority: low

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions