-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
811aadf
commit 0f2dd1f
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
setup( | ||
name = 'swan_vis', | ||
packages = ['swan_vis'], | ||
version = '0.0.4_b', | ||
version = '0.0.4', | ||
license='MIT', description = 'swan is a tool for visualizing and analyzing transcript isoforms', | ||
author = 'Fairlie Reese', | ||
author_email = '[email protected]', | ||
|
@@ -18,7 +18,7 @@ | |
'fpdf', | ||
'seaborn', | ||
'diffxpy', | ||
'tensorflow==2.2', | ||
'tensorflow', | ||
'tensorflow-probability' | ||
], | ||
classifiers=[ | ||
|
@@ -30,3 +30,14 @@ | |
'Programming Language :: Python :: 3.7', | ||
], | ||
) | ||
|
||
try: | ||
import networkx as nx | ||
import shutil | ||
nx_loc = nx.__file__ | ||
nx_loc = '/'.join(nx_loc.split('/')[:-1]) | ||
nx_loc += '/drawing/nx_pylab.py' | ||
nx_file = 'swan_vis/networkx_patch/nx_pylab.py' | ||
shutil.copyfile(nx_file, nx_loc) | ||
except: | ||
raise Exception('Unable to patch networkx to allow for dashed edges.') |