- 
                Notifications
    
You must be signed in to change notification settings  - Fork 106
 
Open
Description
Hi all,
Snakemake is encountering this issue snakemake/snakemake#1952 which leads to this error when running pangolin:
****
Pangolin running in usher mode.
****
Maximum ambiguity allowed is 0.3.
****
Query file:     /pangolin/data/SRR14855875.consensus.fa
****
Data files found:
usher_pb:       /opt/conda/envs/pangolin/lib/python3.11/site-packages/pangolin_data/data/lineageTree.pb
****
Traceback (most recent call last):
  File "/opt/conda/envs/pangolin/lib/python3.11/site-packages/snakemake/__init__.py", line 699, in snakemake
    success = workflow.execute(
              ^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/pangolin/lib/python3.11/site-packages/snakemake/workflow.py", line 960, in execute
    self.scheduler = JobScheduler(
                     ^^^^^^^^^^^^^
  File "/opt/conda/envs/pangolin/lib/python3.11/site-packages/snakemake/scheduler.py", line 98, in __init__
    from ratelimiter import RateLimiter
  File "/opt/conda/envs/pangolin/lib/python3.11/site-packages/ratelimiter.py", line 36, in <module>
    class RateLimiter(object):
  File "/opt/conda/envs/pangolin/lib/python3.11/site-packages/ratelimiter.py", line 127, in RateLimiter
    __aexit__ = asyncio.coroutine(__exit__)
                ^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
The problem is only encountered with python3.11 but this can be a problem when using the pangolin docker image as there is no constraint on the python version when using base image continuumio/miniconda3:4.9.2-alpine.
Cheers
sreichl
Metadata
Metadata
Assignees
Labels
No labels