You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: