cytoscape / py2cytoscape

Python utilities for Cytoscape and Cytoscape.js
https://py2cytoscape.readthedocs.io
MIT License
178 stars 45 forks source link

Making util_dataframe.py python2 compatible. #63

Closed JamesPino closed 6 years ago

JamesPino commented 6 years ago

Currently there are two lines that unpack lists with a list or tuple, which was introduced in python 3.5 (https://www.python.org/dev/peps/pep-3132/).

Found this error when the project MAGINE started failing (https://travis-ci.org/LoLab-VU/MAGINE/jobs/386242770).

Then saw that it is failing during installation portion of py2cytoscape (line 754 for python2 build) https://travis-ci.org/cytoscape/py2cytoscape/jobs/385068789. That portion doesn't get called in the unittests, so I guess it doesn't get caught.