diff --git a/src/pyobo/struct/struct.py b/src/pyobo/struct/struct.py index d8e15bce..e29df067 100644 --- a/src/pyobo/struct/struct.py +++ b/src/pyobo/struct/struct.py @@ -107,7 +107,7 @@ def to_obo(self) -> str: def _fp(self) -> str: x = f'"{self._escape(self.name)}" {self.specificity}' - if self.type: + if self.type and self.type.pair != DEFAULT_SYNONYM_TYPE.pair: x = f"{x} {self.type.curie}" return f"{x} [{comma_separate(self.provenance)}]"