Skip to content

runIDFs() method suggestion #443

@rodrigokl

Description

@rodrigokl

Hey guys,

Before submitting to a pull request, I would like to suggest a small update to the runIDFs and prepare_run methods, both of which create/read the 'multi_runs' folder at os.mkdir('multi_runs'), but when I try to run multiple parallel instances (for example, in a 20 thread processor, 4 runs with 5 simulations each), we replace the simulations as they run, losing the outputs at the end.

To fix this, my suggestion is to add some output_dir to 'multi_runs' like this:

def runIDFs(jobs, processors=1, debug=False, output_dir='multi_runs')
 
 def prepare_run(run_id, run_data, output_dir='multi_runs')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions