Closed arsilan324 closed 6 years ago
I'm a little confused by that. Your command line shows you invoking Perl to run the script, but then the stack trace is python. I'm assuming that is a mis-paste.
I'm not at a spot at the moment where I can edit and test this. If you open the tbl.py module there and replace each instance of " utils." with " biocode.utils." does this fix the problem?
I am sorry it was typo. I should have written python3 instead of perl; (fixed now) in the code above.
The code is here
https://github.com/jorvis/biocode/blob/master/gff/convert_gff3_to_ncbi_tbl.py
Even replacing utils with biocode.utils in the code doesn't work. Instead it says
NameError: name 'biocode' is not defined
Would you mind making your input file available somewhere? Or you could email it to me at Gmail with this user name.
On Feb 9, 2018 5:57 PM, "arsilan324" notifications@github.com wrote:
I am sorry it was typo. I should have written python3 instead of perl; (fixed now) in the code above. The code is here https://github.com/jorvis/biocode/blob/master/gff/ convert_gff3_to_ncbi_tbl.py
Even replacing utils with utils with biocode.utils in the code doesn't work. Instead it says NameError: name 'biocode' is not defined
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jorvis/biocode/issues/53#issuecomment-364603301, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUMkw9Eu3v5djWRaXaSPl9l4VNKaVf7ks5tTNtlgaJpZM4SAmQY .
I just wrote you email with the dropbox links..
as a follow up: replacing "utils." with " biocode.utils." does this fix the problem
Thanks for the report. Corrected in commit 3e095dd
I have the same problem, i can't resolve it, NameError: name 'biocode' is not defined
@eloguh Did you happen to see if your script has the changes from the commit linked above? If not, maybe you still have the older script version. There are 4 lines of code that were corrected.
what i did was correct the import
El mié., 2 feb. 2022 21:05, Joshua Orvis @.***> escribió:
@eloguh https://github.com/eloguh Did you happen to see if your script has the changes from the commit linked above? If not, maybe you still have the older script version. There are 4 lines of code that were corrected.
— Reply to this email directly, view it on GitHub https://github.com/jorvis/biocode/issues/53#issuecomment-1028312146, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXK3BFI63MN4BREFIVF5YPDUZGFBVANCNFSM4EQCMQMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
If you're not using a GitHub checkout then you should probably replace your tbl file with this one:
That's a critical part which uses the module name as needed.
thanks
El mié., 2 feb. 2022 22:08, Joshua Orvis @.***> escribió:
If you're not using a GitHub checkout then you should probably replace your tbl file with this one:
That's a critical part which uses the module name as needed.
— Reply to this email directly, view it on GitHub https://github.com/jorvis/biocode/issues/53#issuecomment-1028359737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXK3BFLB7PC3BMDSWFCCWRTUZGMOTANCNFSM4EQCMQMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
I'm surprised you're seeing this if you're using an updated version of biocode, as I've made a release since this bugfix was added.
I still do not control much the general operation of the upload of codes
El mié., 2 feb. 2022 22:39, Joshua Orvis @.***> escribió:
I'm surprised you're seeing this if you're using an updated version of biocode, as I've made a release since this bugfix was added.
— Reply to this email directly, view it on GitHub https://github.com/jorvis/biocode/issues/53#issuecomment-1028382894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXK3BFP3XVT2IWFDAA6PEMTUZGQCVANCNFSM4EQCMQMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
I am trying to run convert_gff3_to_ncbi_tbl.py script but getting this error.
Can you please comment how can I fix it? Thanks