Description
When calling omnipath.requests.Complexes.complex_genes()
, the references
column always reports stripped references which, in turn, results in the references_stripped
column containing rubbish data. This seems to be a problem with the web service (see here) and also exists in pypath
.
I am not sure if always reporting back stripped references for complexes is an intentional choice. Regardless, it is the following snippet that seems to break the references_stripped
column:
Changing the regex to something that ensures that the label does indeed exist seems to provide a temporary fix: (?=.*[a-zA-Z])[-\w]*:?(\d+)
. I understand, though, that this is a minor issue and making this change may unintentionally break something else.
Thanks a lot for the amazing package and your help! 😊