Closed patrickkwang closed 3 years ago
>>> tk.get_descendants("transcript", formatted=True) ['biolink:Transcript', 'biolink:RNAProduct', 'biolink:Noncoding_RNAProduct', 'biolink:SiRNA', 'biolink:MicroRNA', 'biolink:RNAProductIsoform']
biolink:Noncoding_RNAProduct should not have an underscore.
biolink:Noncoding_RNAProduct
Yet somehow, at the same time,
>>> tk.get_element("noncoding RNA product").class_uri 'biolink:NoncodingRNAProduct'
These transformations should be unified, too.
The stringcase library that we're using is just pretty shaky: https://github.com/okunishinishi/python-stringcase/issues
biolink:Noncoding_RNAProduct
should not have an underscore.Yet somehow, at the same time,
These transformations should be unified, too.