Skip to content

Commit 7337cae

Browse files
committed
Fix relative paths per Josh's feedback
1 parent e403bde commit 7337cae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Generate_Figure2_visuals.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@
596596
"\n",
597597
"random.seed(1)\n",
598598
"\n",
599-
"mm_adj = pandas.read_csv('../data/mm_adj.csv',header=0,index_col=0)\n",
599+
"mm_adj = pandas.read_csv('data/mm_adj.csv',header=0,index_col=0)\n",
600600
"statnames = mm_adj.columns\n",
601601
"\n",
602602
"numpy.fill_diagonal(mm_adj.values,numpy.nan)\n",
@@ -622,7 +622,7 @@
622622
"clusters = hierarchy.fcluster(Z, threshold, criterion='distance')\n",
623623
"nclusters = numpy.unique(clusters).size\n",
624624
"\n",
625-
"cm = numpy.genfromtxt('../data/cmap.csv', delimiter=',')\n",
625+
"cm = numpy.genfromtxt('data/cmap.csv', delimiter=',')\n",
626626
"cmap = [matplotlib.colors.rgb2hex(c / 255 + (0,)) for c in cm]\n",
627627
"\n",
628628
"hierarchy.set_link_color_palette(cmap)"

0 commit comments

Comments
 (0)