Skip to content

Commit

Permalink
add missing closing quote
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Aug 12, 2024
1 parent 680cadd commit f3c8205
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 01_ingest/grebi_ingest_ols/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ fn read_entities(json: &mut JsonStreamReader<BufReader<StdinLock<'_>>>, output_n
output_nodes.write_all(datasource.as_bytes()).unwrap();
output_nodes.write_all(r#"","grebi:type":[""#.as_bytes()).unwrap();
output_nodes.write_all(grebitype.as_bytes()).unwrap();
output_nodes.write_all(r#"""#.as_bytes()).unwrap();
if obj.contains_key("ols:directAncestor") {
for ancestor in get_string_values(obj.get("ols:directAncestor").unwrap()) {
if type_superclasses.contains(ancestor) {
Expand All @@ -222,7 +223,7 @@ fn read_entities(json: &mut JsonStreamReader<BufReader<StdinLock<'_>>>, output_n
}
}
}
output_nodes.write_all(r#""]"#.as_bytes()).unwrap();
output_nodes.write_all(r#"]"#.as_bytes()).unwrap();

for k in obj.keys() {

Expand Down

0 comments on commit f3c8205

Please sign in to comment.