Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

RuntimeError: dictionary keys changed during iteration #31

Description

@woodoo46

Hi, there,

We recently upgraded to STRique 0.4.2; but when we tried to run the program, we had the following weird error:

03.01.2022 14:00:58 [PID 46032] [WARNING] Factory: Unexpected error in Worker, proceeding wiht remaining reads.

Traceback (most recent call last):

File "/tools/STRique/0.4.2/scripts/STRique.py", line 758, in worker

input = worker_callable(**input)

File "/tools/STRique/0.4.2/scripts/STRique.py", line 684, in detect

self.__init_hmm__()

File "/tools/STRique/0.4.2/scripts/STRique.py", line 645, in init_hmm

self.repeatCounter.add_target(target_name, repeat, prefix, suffix)

File "/tools/STRique/0.4.2/scripts/STRique.py", line 567, in add_target

flankedRepeatHMM(repeat, prefix, suffix, self.pm, self.HMM_config),

File "/tools/STRique/0.4.2/scripts/STRique.py", line 403, in init

self.__build_model__()

File "/tools/STRique/0.4.2/scripts/STRique.py", line 432, in build_model

self.bake(merge='All')

File "pomegranate/hmm.pyx", line 869, in pomegranate.hmm.HiddenMarkovModel.bake

File "/tools/STRique/0.4.2/lib/python3.8/site-packages/networkx/classes/reportviews.py", line 729, in

for nbr, dd in nbrs.items()

RuntimeError: dictionary keys changed during iteration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions