Skip to content

RuntimeError: generator raised StopIteration #45

Description

@bernard-kim

A test run with long read data and the following read splitting options resulted in an error:

read2tree [ ... options ... ] --read_type long --split_reads --split_len 20000 --split_overlap 1000
RuntimeError: generator raised StopIteration

This appears to be an issue with FastxReader.py caused by Python>=3.7, as detailed in https://stackoverflow.com/questions/51700960/runtimeerror-generator-raised-stopiteration-every-time-i-try-to-run-app

Recoding FastxReader.py (on my local machine) to handle the StopIteration as described in that post seems to fix the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions