kipoi / kipoi-veff

Variant effect prediction plugin for Kipoi
https://kipoi.org/veff-docs
MIT License
6 stars 5 forks source link

Make a duplicate of variants.vcf when testing #10

Closed krrome closed 6 years ago

krrome commented 6 years ago

py.test is not executed in the repository root hence file paths cannot be found

Avsecz commented 6 years ago

the repository root is correctly defined (otherwise kipoi.get_model("model", source="dir") would already fail). The problem is when multiple test threads try to remove and gzip the vcf file tests/models/rbp/example_files/variants.vcf.

Avsecz commented 6 years ago

One solution to this problem is to copy the vcf file to a unique tmp path in each thread