kipoi / kipoiseq

Standard set of data-loaders for training and making predictions for DNA sequence-based models.
https://kipoi.org/kipoiseq/
MIT License
77 stars 13 forks source link

Generate .fai file in the IntervalSeqDl __init__ #27

Open Avsecz opened 5 years ago

Avsecz commented 5 years ago

When using multiple workers with IntervalSeqDl, the workers can simultaneusly generate the fai file which causes issues. We need to move the .fai creation step to the __init__.py