cbg-ethz/cojac

cooc-curate TypeError: 'NoneType' object is not iterable

Opened this issue · 0 comments

Hello,
I am trying to use cojac for my research and encountering the issue.
When I run in command line
cooc-curate voc/omicron_ba2_mutations.yaml (this command is also mentioned as an example in https://github.com/cbg-ethz/cojac#input-data-requirements)
or
cooc-curate voc/omicron_ba2_mutations.yaml voc/omicron_ba1_mutations.yaml voc/delta_mutations.yaml -a amplicons.yaml -m
(where amplicons.yaml is produced by cooc-nutbamscan)

In both cases I get the error

File ".../bin/cooc-curate", line 140, in listalllineages
    return {s['pangoLineage']:s['count'] for s in aggregated(fields='pangoLineage')}
TypeError: 'NoneType' object is not iterable

Can you please help me?
Thanks in advance.

Best wishes,
Polina