mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Annotation attached to citation causes python Attribute error #183

Closed mbakeranalecta closed 6 years ago

mbakeranalecta commented 6 years ago

It should be a structure error.

 [include statements](rule "#include")

causes:

  File "C:/Users/Mark/sam/samparser.py", line 2567, in _annotation_start
    phrase.annotations.append(Annotation(annotation_type, unescape(specifically), namespace, is_local))
AttributeError: 'Citation' object has no attribute 'annotations'
mbakeranalecta commented 6 years ago

Addressed in 14d5468ceca38ee21ba2646058fa4347401f99e6