Coder Social home page Coder Social logo

cxio's Introduction

WARNING: This library is deprecated. The CX library has been moved into ndex-object-model

cxio

Old Java Library for reading/writing CX JSON streams

Docuemnts


© UC, San Diego Trey Ideker Lab

cxio's People

Contributors

brettjsettle avatar cmzmasek avatar jingjingbic avatar keiono avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

isabella232

cxio's Issues

Edge Table is empty/bogus for some networks

When cx is loaded that does not have edgeAttributes, the edge table seems to be completely incorrect. Example case can be seen with network on NDex with uuid:633d141d-0e39-11e5-ac0f-000c29cb28fb where there are no edgeAttributes. Only the shared interaction column is filled in, but the name and interaction and shared name columns are all empty.

Serialize/deserialize function for NodeAttributesElement value is not symmetrical

The "value" field in a NodeAttributesElement object can be a single value or a list of numbers or strings. In order to store the value and make our code independent from the implementation of NodeAttributesElement. We use CxioUtil.getAttributeValuesAsString() to serialize and NodeAttributesElement.createInstanceWithMultipleValues() function to de-serialize the value. We found out that CxioUtil.getAttributeValuesAsString() converts a list of long, for example [5,8] into string '["5","8"]', but when we pass this stringified value to NodeAttributesElement.createInstanceWithMultipleValues(), it will construct a list of string rather than a list of long. The roundtrip of this kind of CX attributes will fail.

Could take a look of this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.