Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions collatex-pythonport/collatex/core_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ def export_alignment_table_as_xml(table):
readings = []
for column in table.columns:
app = etree.Element('app')
if not column.variant:
app.set("type", "invariant")
for key, value in sorted(column.tokens_per_witness.items()):
child = etree.Element('rdg')
child.attrib['wit'] = "#" + key
Expand Down