Skip to content

UnboundLocalError: local variable 'pre_name' referenced before assignment #107

@TmrSegev

Description

@TmrSegev

Hi,

I recently used mirge-build to add a new species, and when running miRge, I encountered the following error, which prevents the creation of the GFF file:

Summarizing and tabulating results...
Traceback (most recent call last):
File "/home/stome/.local/bin/miRge3.0", line 8, in
sys.exit(main())
File "/home/stome/.local/lib/python3.8/site-packages/mirge/main.py", line 166, in main
summarize(args, workDir, ref_db, base_names, pdMapped, sampleReadCounts, trimmedReadCounts, trimmedReadCountsUnique)
File "/home/stome/.local/lib/python3.8/site-packages/mirge/libs/summary.py", line 839, in summarize
create_gff(args, pre_mirDict, mirDict, d, filenamegff, cannonical_4gff, isomirs_4gff, base_names, ref_db, annotation_lib, workDir, mirRPM_completeSet)
File "/home/stome/.local/lib/python3.8/site-packages/mirge/libs/summary.py", line 120, in create_gff
pre_cur_name[mature_name] = pre_name
UnboundLocalError: local variable 'pre_name' referenced before assignment

Could you please help me identify the issue? We followed the requirements in the documentation for mirge-build, but we are having difficulty pinpointing the problem.
Thank you,
Tomer

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