Skip to content

Commit

Permalink
created empty annotation file list to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
sherwoodf committed Jul 16, 2024
1 parent 5bc4daa commit 2f5c33c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def extract_annotation_method_dicts(submission: Submission) -> List[Dict[str, An
annotation_sections = find_sections_recursive(submission.section, ["Annotations"], [])

key_mapping = [
("title_id", "Title", ""),
("title_id", "Name", ""),
("protocol_description", "Annotation overview", ""),
("annotation_criteria", "Annotation criteria", ""),
("annotation_coverage", "Annotation coverage", ""),
Expand Down
2 changes: 1 addition & 1 deletion bia-ingest-shared-models/test/data/S-BIADTEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
"accno" : "Annotations-29",
"type" : "Annotations",
"attributes" : [ {
"name" : "Title",
"name" : "Name",
"value" : "Segmentation masks"
}, {
"name" : "Annotation overview",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[
]

0 comments on commit 2f5c33c

Please sign in to comment.