SynBioDex / pySBOL3

Native python implementation of SBOL 3.0 specification
MIT License
37 stars 16 forks source link

Unable to Execute " i13504.encoding = SBOL_IUPAC_DNA " #298

Closed PRUBHTEJ closed 3 years ago

PRUBHTEJ commented 3 years ago

I've been executing the code from COMBINE 2020 SBOL tutorials and while executing this statement in the Jupiter notebook, it returns the following error: -

NameError: name 'SBOL_IUPAC_DNA' is not defined

Screenshot 2021-08-30 at 19 14 34
tcmitchell commented 3 years ago

Sorry for the trouble. The sequence encoding constants were updated as part of the SBOL 3.0.1 specification update. Please try IUPAC_DNA_ENCODING instead of SBOL_IUPAC_DNA and let us know how it goes. If that works ok for you we can have the COMBINE 2020 SBOL tutorial updated accordingly.

Thanks for letting us know!

PRUBHTEJ commented 3 years ago

Thanks! That works perfectly for me.

Screenshot 2021-08-30 at 19 48 28