dib-lab / elvers

(formerly eelpond) an automated RNA-Seq workflow system
https://dib-lab.github.io/elvers/
Other
28 stars 3 forks source link

NameError: name 'pygments' is not defined #156

Open olar785 opened 4 years ago

olar785 commented 4 years ago

Hi, Running the elvers test command worked perfectly but when I tried a custom workflow I received the following error at the end of it, during the report creation. NameError: name 'pygments' is not defined I realised that in the init.py file in my miniconda3/envs/elvers-env/python3.6/site-packages/snakemake/report/ there was no import of the pygments module. Adding "import pygments" to the file fixed it but then I also had the following error: AttributeError: module 'pygments' has no attribute 'utils' This was fixed by changing, in the same file, pygments.utils.ClassNotFound to pygments.util.ClassNotFound My whole elvers workflow works fine now but I thought you should know in order to fix the conda elvers package. Best, Olivier