Removing a frequent warning about node declaration
hunterhector opened this issue · comments
Is your feature request related to a problem? Please describe.
The following warning will be triggered during a call to the OntologyCodeGenerator
.
WARNING:root:Re-declared a new class named [ConstituentNode], which is probably used in import.
Previously, this warning only appears when we are re-generating base_ontology
, however, we are now using the ontology parsing during our normal pipeline execution. This will make this warning appear more often, and quite confusing since the context is not clear to the user.
Describe the solution you'd like
- Revisit the reason for this warning, this might be due to a duplicated declaration of
ConstituentNode
, consider fixing the root problem if we can - If the root problem is not resolvable, we should consider reducing the appearance of this warning.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.