File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def load_graph_from_bin(filename):
54
54
if os .path .exists (filename ):
55
55
print ("Loading graph from binary file using pickle" , flush = True )
56
56
filehandler = open (filename , "rb" )
57
- pv = pickle . load (filehandler )
57
+ pv = pd . read_pickle (filehandler )
58
58
graph = Graph .from_point_vasculature (pv )
59
59
else :
60
60
raise BloodFlowError ("Graph file not found" )
Original file line number Diff line number Diff line change 25
25
"mpi4py" ,
26
26
"networkx" ,
27
27
"numpy" ,
28
- "pandas<2.0.0 " ,
28
+ "pandas" ,
29
29
"psutil" ,
30
30
"pyyaml" ,
31
31
"scipy" ,
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ def test_total_flow_conservation_in_graph(params):
424
424
TEST_DIR = Path (__file__ ).resolve ().parent .parent
425
425
graph_path_cc = TEST_DIR / "examples/data/graphs_folder/toy_graph.bin"
426
426
filehandler = open (graph_path_cc , "rb" )
427
- pv = pickle . load (filehandler )
427
+ pv = pd . read_pickle (filehandler )
428
428
graph = utils .Graph .from_point_vasculature (pv )
429
429
430
430
entry_nodes = [123 , 144 , 499 ]
You can’t perform that action at this time.
0 commit comments