You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"exclusion of {term_label} [{pf.value}] (#{excluded2idx[pf]}) is redundant due to exclusion of its ancestor {anc_label} [{anc.value}] (#{excluded2idx[anc]})"
279
-
)
276
+
ifpfinself._hpo:
277
+
forancinself._hpo.graph.get_ancestors(pf):
278
+
ifancinexcluded2idx:
279
+
term_label=self._hpo.get_term_name(pf)
280
+
anc_label=self._hpo.get_term_name(anc)
281
+
pfs_pad.add_error(
282
+
f"exclusion of {term_label} [{pf.value}] (#{excluded2idx[pf]}) is redundant due to exclusion of its ancestor {anc_label} [{anc.value}] (#{excluded2idx[anc]})"
f"presence of {term_label} [{pf.value}] (#{present2idx[pf]}) is logically inconsistent with exclusion of {anc_label} [{anc.value}] (#{excluded2idx[anc]})"
318
-
)
316
+
ifpfinself._hpo:
317
+
forancinself._hpo.graph.get_ancestors(pf):
318
+
ifancinexcluded2idx:
319
+
term_label=self._hpo.get_term_name(pf)
320
+
anc_label=self._hpo.get_term_name(anc)
321
+
pfs_pad.add_error(
322
+
f"presence of {term_label} [{pf.value}] (#{present2idx[pf]}) is logically inconsistent with exclusion of {anc_label} [{anc.value}] (#{excluded2idx[anc]})"
0 commit comments