ndexbio / ndex2-client

NDEx2 Client
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Add method to ndex2 python client to apply style from one NiceCXNetwork to another NiceCXNetwork #43

Closed coleslaw481 closed 5 years ago

coleslaw481 commented 5 years ago

https://ndexbio.atlassian.net/browse/UD-152

Right now the only way to apply style onto a NiceCXNetwork object is to call NiceCXNetwork.apply_template() method which takes a UUID of a network on a NDEx server. This is causing problems for content loaders since the style cannot be kept with the code base.

To remedy add a new method named apply_style_from_network(NiceCXNetworkObject) to NiceCXNetwork object that applies the style from the network passed in.

coleslaw481 commented 5 years ago

Fixed in chrisdev3.1.0 branch