Skip to content

Commit

Permalink
allow_pickle
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Aug 3, 2023
1 parent c35e7e8 commit 231e01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantconn/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def merge(destination: Annotated[Path, typer.Option("--destination", "-dest",
if not os.path.exists(connectivity_matrice_path):
print(f":yellow_circle: Missing data for subject {sub} in {output_path} folder.")
continue
conn_mat = np.load(connectivity_matrice_path)
conn_mat = np.load(connectivity_matrice_path, allow_pickle=True)
for i, mt in enumerate(['betweenness_centrality',
'global_efficiency', 'modularity']):
df_conn_2 = pd.DataFrame({'# subject': [sub],
Expand Down

0 comments on commit 231e01c

Please sign in to comment.