Skip to content

Commit

Permalink
Fix an issue with new version of NetworkX
Browse files Browse the repository at this point in the history
  • Loading branch information
maximsch2 committed Jun 21, 2016
1 parent 70f1ff0 commit 65e1bb5
Show file tree
Hide file tree
Showing 10 changed files with 12,150 additions and 8,150 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
build
*.pyc
*.egg-info/
4 changes: 2 additions & 2 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Metadata-Version: 1.0
Name: pglasso
Version: 1.0.1
Version: 1.0.2
Summary: Pathway Graphical Lasso implementation
Home-page: https://sites.google.com/a/cs.washington.edu/pathglasso/
Home-page: http://pathglasso-leelab.cs.washington.edu
Author: Maxim Grechkin
Author-email: grechkin@cs.washington.edu
License: MIT
Expand Down
20,256 changes: 12,139 additions & 8,117 deletions _pglasso.c

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions _pglasso.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ def cpglasso_DC(S, pathways, lmbda, tol=1e-4, maxIter=50, debug=False, Theta=Non
j = 1
components = nx.connected_components(tree)
for component in components:
component = list(component) # convert set to list for NetworkX > 1.10
j += 1
source = random.choice(component)
for i in xrange(maxIter):
Expand Down
10 changes: 0 additions & 10 deletions pglasso.egg-info/PKG-INFO

This file was deleted.

12 changes: 0 additions & 12 deletions pglasso.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion pglasso.egg-info/dependency_links.txt

This file was deleted.

3 changes: 0 additions & 3 deletions pglasso.egg-info/requires.txt

This file was deleted.

2 changes: 0 additions & 2 deletions pglasso.egg-info/top_level.txt

This file was deleted.

7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@

setup(
name = "pglasso",
version = "1.0.1",
version = "1.0.2",
author='Maxim Grechkin',
author_email='grechkin@cs.washington.edu',
url="https://sites.google.com/a/cs.washington.edu/pathglasso/",
url="http://pathglasso-leelab.cs.washington.edu",
packages=['pglasso'],
scripts=["pglasso/__init__.py"],
description='Pathway Graphical Lasso implementation',
description="Pathway Graphical Lasso implementation",
license="MIT",
ext_modules = cythonize( Extension("_pglasso", ["_pglasso.pyx"], include_dirs=[np.get_include()])),
install_requires=[
"cython >= 0.20.1",
Expand Down

0 comments on commit 65e1bb5

Please sign in to comment.