cytoscape / cyREST

Core App: REST API module for Cytoscape
https://github.com/cytoscape/cyREST/wiki
MIT License
30 stars 13 forks source link

CyColumn model should include listType for operations, and for CyJSONUtil #74

Closed dotasek closed 6 years ago

dotasek commented 6 years ago

To address this bug:

http://code.cytoscape.org/redmine/issues/4046

Original description:

The JSON output representing columns for both CyREST Functions and Commands doesn't include listType for list columns.

For example, in galFiltered.sif, the following is the __Annotations column:

{
    "name": "__Annotations",
    "type": "List",
    "immutable": false,
    "primaryKey": false
}

An optional field, listType would make the type of list clear:

{
    "name": "__Annotations",
    "type": "List",
    "listType": "String",
    "immutable": false,
    "primaryKey": false
}
dotasek commented 6 years ago

Addressed in 850e832e388e367036fe3687ef7245e9ad1eaf32