Skip to content
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

PartShop.submit fails when document.displayId has no value #394

Open
tramyn opened this issue Dec 8, 2020 · 0 comments
Open

PartShop.submit fails when document.displayId has no value #394

tramyn opened this issue Dec 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@tramyn
Copy link

tramyn commented Dec 8, 2020

I am getting the following error when submitting contents to SynBioHub when calling PartShop.submit(). Below is a snippet of this error:

if len(doc.displayId) > 0:
TypeError: object of type 'NoneType' has no len()

Parameters pass to PartShop.submit() looks something like this:

PartShop.submit(document, collection, flags)

document represents an SBOL document object
collection is set to uri from SynBioHub
flags is set to 2

@tramyn tramyn added the bug Something isn't working label Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant