-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with features coming from NCBI #7
Comments
It looks like you need to fork the repository in order to contribute. I used this awhile ago but haven't looked at it in years. Try pasting the code below in a file named When running your script on the attached plasmids, I get the following output in the terminal and in a file:
|
To describe the fix here, it was unpacking a tuple that had more than two values. Printing out
There were three items in the dictionary, so the unpacking failed. It looks like there was a So, it was easy to just extend the tuple unpacking here to support more than two values |
Hello,
I am using snapgene_reader to extract the plasmid name and length from a list of files to populate a database. I have been using it for a while without problems. Here is the script:
However, for one of the files, I get the following error:
It seems that this file might have two names?
I have tracked the files that give the problem but I cannot find any possible cause (I am attaching them). It seems these two plasmid files contain a gene sequence that was downloaded from NCBI, so there might be the issue.
plasmids.zip
The text was updated successfully, but these errors were encountered: