Closed robomics closed 1 year ago
Update preprocess.py to use pipes instead of hard-coded temp files.
preprocess.py
The main motivation behind this PR is to allow running multiple instances of preprocess.py in the same working dir.
This was previously not possible because the temp file name was fixed here: https://github.com/ay-lab/dcHiC/blob/2c22c4da89a2cf8f498292383b7d3763cd3687f7/utility/preprocess.py#L55-L62
This makes sense—thank you for raising this PR!
Update
preprocess.py
to use pipes instead of hard-coded temp files.The main motivation behind this PR is to allow running multiple instances of
preprocess.py
in the same working dir.This was previously not possible because the temp file name was fixed here: https://github.com/ay-lab/dcHiC/blob/2c22c4da89a2cf8f498292383b7d3763cd3687f7/utility/preprocess.py#L55-L62