Skip to content

Commit

Permalink
put correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Aug 22, 2024
1 parent 9e38328 commit 5b9b999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion import_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def main() -> None:
segment.append(excel2xml.make_isSegmentOf_prop("video_1"))
segment.append(excel2xml.make_hasSegmentBounds_prop(segment_start=0, segment_end=5))
segment.append(excel2xml.make_hasTitle_prop("Intro of my video"))
segment.append(excel2xml.make_hasDescription_prop("This segments spans the first 5 seconds of my video"))
segment.append(excel2xml.make_hasComment_prop("Video segments can also have comments"))
segment.append(excel2xml.make_hasDescription_prop("This segments spans the first 5 seconds of my video"))
segment.append(excel2xml.make_hasKeyword_prop("publicly available video"))
segment.append(excel2xml.make_relatesTo_prop(object_labels_to_ids["Horohoroto"]))
root.append(segment)
Expand Down
2 changes: 1 addition & 1 deletion test/expected.xml
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@
<isSegmentOf permissions="prop-default">video_1</isSegmentOf>
<hasSegmentBounds segment_start="0" segment_end="5" permissions="prop-default"/>
<hasTitle permissions="prop-default">Intro of my video</hasTitle>
<hasDescription permissions="prop-default">This segments spans the first 5 seconds of my video</hasDescription>
<hasComment permissions="prop-default">Video segments can also have comments</hasComment>
<hasDescription permissions="prop-default">This segments spans the first 5 seconds of my video</hasDescription>
<hasKeyword permissions="prop-default">publicly available video</hasKeyword>
<relatesTo permissions="prop-default">Horohoroto_42fd3508-f299-4981-9d85-65a48cab14d7</relatesTo>
</video-segment>
Expand Down

0 comments on commit 5b9b999

Please sign in to comment.