Skip to content

error with Transit2 #2

@maurijlozano

Description

@maurijlozano

Hi I'm having a problem trying to run Transit2.
Can you provide some solution for this error?
Best wishes

log:

Running in GUI Mode
wx._core.wxAssertionError: C++ assertion "!IsModal()" failed at /tmp/pip-install-h3_z6p37/wxpython_a300000004ff4450a65f01267958e3b4/ext/wxWidgets/src/gtk/dialog.cpp(133) in ShowModal(): ShowModal() can't be called twice

The above exception was the direct cause of the following exception:

SystemError: <class 'wx._core.FocusEvent'> returned a result with an exception set
wx._core.wxAssertionError: C++ assertion "!IsModal()" failed at /tmp/pip-install-h3_z6p37/wxpython_a300000004ff4450a65f01267958e3b4/ext/wxWidgets/src/gtk/dialog.cpp(133) in ShowModal(): ShowModal() can't be called twice

The above exception was the direct cause of the following exception:

SystemError: <class 'wx._core.EraseEvent'> returned a result with an exception set
[transit_tools:__enter__()] Starting CombinedWig analysis 
[combined_wig:output()] Starting Combined Wig Export 
[combined_wig:output()] Getting Data 
[combined_wig:output()] Normalizing 
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/components/panel_helpers.py", line 95, in wrapper
    return func(*args,**kwargs)
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/methods/combined_wig.py", line 85, in when_button_clicked
    Method.output(
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/methods/combined_wig.py", line 103, in output
    with transit_tools.TimerAndOutputs(method_name=Method.identifier, output_paths=[output_path], disable=disable_logging) as timer:
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/specific_tools/transit_tools.py", line 278, in __exit__
    raise error
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/methods/combined_wig.py", line 130, in output
    rv2info = tnseq_tools.AnnotationFile(path=annotation_path).orf_to_info
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/specific_tools/tnseq_tools.py", line 2462, in __init__
    for key, value in GffFile.extract_gene_info(path).items()
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/specific_tools/tnseq_tools.py", line 2667, in extract_gene_info
    for description, start, end, strand, size, _, _, gene_name, orf_id, _ in gff_data.as_prot_table_rows:

'method' object is not iterable
Traceback (most recent call last):
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/components/panel_helpers.py", line 95, in wrapper
    return func(*args,**kwargs)
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/methods/combined_wig.py", line 85, in when_button_clicked
    Method.output(
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/methods/combined_wig.py", line 103, in output
    with transit_tools.TimerAndOutputs(method_name=Method.identifier, output_paths=[output_path], disable=disable_logging) as timer:
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/specific_tools/transit_tools.py", line 278, in __exit__
    raise error
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/methods/combined_wig.py", line 130, in output
    rv2info = tnseq_tools.AnnotationFile(path=annotation_path).orf_to_info
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/specific_tools/tnseq_tools.py", line 2462, in __init__
    for key, value in GffFile.extract_gene_info(path).items()
  File "/home/mauricio/.local/lib/python3.10/site-packages/pytransit/specific_tools/tnseq_tools.py", line 2667, in extract_gene_info
    for description, start, end, strand, size, _, _, gene_name, orf_id, _ in gff_data.as_prot_table_rows:
TypeError: 'method' object is not iterable

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