Skip to content

Commit

Permalink
Set reftype, type is necessary because of hyperimage in XML workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Apr 9, 2020
1 parent 3b4a36e commit 2191f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/eoatex2imxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,7 @@ def process_references(xmlTree):

eoarefs = xmlTree.xpath("//EOAref")
for ref in eoarefs:
ref.set("type", "number")
ref_element = ref.find("./ref")
target_attribute = ref.xpath("./ref/@target")
ref_label = ref.find("./Label").text
Expand Down

0 comments on commit 2191f31

Please sign in to comment.