michaelkyu / ddot

Toolkit for constructing, analyzing, and visualizing data-driven ontologies
MIT License
19 stars 21 forks source link

[`to_ndex`] "description" field does not actually upload from ddot into NDEx #4

Open antonkratz opened 5 years ago

antonkratz commented 5 years ago

With the to_ndex function, it seems that the "description" field does not actually upload from ddot into NDEx. Or it uploads but NDEx does not accept it. The description field could be extremely useful (I am uploading a large number of hierarchies and am auto-generating description text which describes model building parameters, data provenance etc), but it does not seem to get into NDEx, the "description" field there is just empty.

url, _ = ont.to_ndex(name="sho6Nooz",
  description="a_0.07_b_0.5_m_0.004_z_0.1, cutoff 0.287 algnmt GO BP DNA Repair",
  ndex_server='http://test.ndexbio.org',
  ndex_user='kratz',
  ndex_pass='XXXXXXXX',
  network=sim_long,
  main_feature='similarity',
  layout='bubble-collect')

I have described this issue in the Cytoscape Slack on 2019-01-19.

Servers I'm using: http://test.ndexbio.org, http://hiview-test.ucsd.edu, http://hiview.ucsd.edu

michaelkyu commented 5 years ago

I remember fixing this bug a few months ago. I'll take a look and see what happened...