SynBioDex / sbol_factory

The SBOLFactory provides a mechanism for automatically generating an interactive, object-oriented API from a declarative data model specification encoded in OWL.
MIT License
6 stars 3 forks source link

UML generation fails with 1.0a6 release #30

Closed jakebeal closed 3 years ago

jakebeal commented 3 years ago

When I attempt to generate figures with the 1.0a6 release, I get the following error:

> uml.__umlfactory__.generate('figures')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/Users/jakebeal/projects/SBOL/sbol_factory/sbol_factory/sbol_factory.py", line 320, in generate
    if self.factory.namespace not in class_uri:
AttributeError: module 'uml' has no attribute 'namespace'

This appears to be a regression, and doesn't have a test in the library checking for it either.