michaelkyu / ddot

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

Tulip does not work on python37 #2

Open cthoyt opened 6 years ago

cthoyt commented 6 years ago

Right now, there hasn't been a wheel added for py37 so it can't yet be used. It seems like they do not have their source code publicly available so I don't think it's an option to build from scratch either...

michaelkyu commented 6 years ago

I believe the Tulip source code is at https://github.com/Tulip-Dev/tulip. I'm guessing it can be compiled for py37, but I haven't tried yet.

Currently the only time that ddot uses Tulip is to generate a specific type of 2D layout algorithm of an ontology called a "bubble tree" layout when uploading the ontology to the NDEx database. This is invoked by the function Ontology.to_ndex() with parameter layout="bubble" or layout="bubble-collect". A future milestone is to re-implement this algorithm within ddot, allowing me to remove the Tulip dependency.

In the meantime, I suggest sticking with py36 in a virtual environment if possible.