Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RawCX2NetworkFactory get_cx2network() should do some further checks on data passed in #100

Open
coleslaw481 opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels

Comments

@coleslaw481
Copy link
Contributor

In version 3.9.0 calling RawCX2NetworkFactory.get_cx2network() and passing in a list with a string value returns a cx2network with no error. Probably should have some additional checks that the data structure is in fact a cx2 network.

from ndex2.cx2 import RawCX2NetworkFactory, CX2Network
factory = RawCX2NetworkFactory()
factory.get_cx2network(['hi'])
<ndex2.cx2.CX2Network object at 0x7fb8981344f0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants