Skip to content

Development branch mitoConsensus.py: "File exists: '.../Out_mitoConsensus/temp/sparse_matrices2.0'" #6

@petervangalen

Description

@petervangalen

From submitting the 24 jobs of Step5 simultaneously, I regularly get the error:
File exists: '.../Out_mitoConsensus/temp/sparse_matrices2.0
This is because the jobs are trying to make the folder at the same time.

SOLUTION
I replaced line 56-57 of $mitoConsensus/mitoConsensus.py with
os.makedirs(out_dir+"/temp/sparse_matrices2.0", exist_ok=True)

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