We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e64b87 commit 1e28c1bCopy full SHA for 1e28c1b
src/main.rs
@@ -219,9 +219,13 @@ fn main() -> Result<(), Box<dyn Error>> {
219
220
let num_classes = classes.len();
221
222
- if (current_id == args.ont_a || current_id == args.ont_b) && !classes.is_empty() {
223
- ontologies.push(Ontology { id: current_id.clone(), num_classes, definitions: classes });
+ if current_id == args.ont_a {
+ ontologies.push(Ontology { id: current_id.clone(), num_classes, definitions: classes.clone() });
224
}
225
+ if current_id == args.ont_b {
226
227
+ }
228
+
229
if ontologies.len() == 2 {
230
break;
231
0 commit comments