You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running spladder build, I had this little warning message pop up and crash.
It's just a tiny issue that could be fixed by either accounting for strand is None, or maybe not printing it at all.
It's a tiny, easy to fix issue, but it might be intimidating for programming-averse users.
What I Did
Traceback (most recent call last):
File "/groups/nshomron/guyshapira/.local/bin/spladder", line 8, in <module>
sys.exit(main())
File "/groups/nshomron/guyshapira/.local/lib/python3.7/site-packages/spladder/spladder.py", line 190, in main
options.func(options)
File "/groups/nshomron/guyshapira/.local/lib/python3.7/site-packages/spladder/spladder_build.py", line 83, in spladder
(genes, options) = init.init_genes_gff3(options)
File "/groups/nshomron/guyshapira/.local/lib/python3.7/site-packages/spladder/init.py", line 218, in init_genes_gff3
genes[tags['ID']] = Gene(name=tags['ID'], start=start, stop=stop, chr=sl[0], strand=sl[6], source=sl[1], gene_type=sl[2])
File "/groups/nshomron/guyshapira/.local/lib/python3.7/site-packages/spladder/classes/gene.py", line 23, in __init__
warnings.warn('WARNING: strand of gene was provided as %s - automatically set to +') % strand
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'
The text was updated successfully, but these errors were encountered:
Description
While running spladder build, I had this little warning message pop up and crash.
It's just a tiny issue that could be fixed by either accounting for
strand is None
, or maybe not printing it at all.It's a tiny, easy to fix issue, but it might be intimidating for programming-averse users.
What I Did
The text was updated successfully, but these errors were encountered: