ete icon indicating copy to clipboard operation
ete copied to clipboard

Racecondition when downloading color definition files

Open sirno opened this issue 2 years ago • 0 comments

Hi,

the following code introduces a racecondition that may trigger when multiple instances of python import ete4 in parallel

https://github.com/etetoolkit/ete/blob/254f25643fa59762b10bc1663472d52cfcc2df46/ete4/smartview/renderer/layouts/ncbi_taxonomy_layouts.py#L12-L20

Similar raceconditions apply for smart2color.json and pfam2color.json.

sirno avatar Aug 22 '23 11:08 sirno