Skip to content

Commit

Permalink
Previous behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
frannerin committed Feb 7, 2025
1 parent ac6856b commit d555ced
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_pip_tcl_ubuntu_newenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libnetcdf-dev
sudo apt-get install libnetcdf-dev libsqlite3-dev
python -m pip install -U --upgrade-strategy eager pip
pip install -U --upgrade-strategy eager setuptools "numpy==1.23.5" wheel
pip install -r pip_requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions src/AlloViz/AlloViz/Analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"cfb": {
"function": "networkx.algorithms.centrality.current_flow_betweenness_centrality",
"arguments": {"weight": "graph_weight"}
"arguments": {"weight": "graph_distance"} # "graph_weight"
}
}
"""
Expand All @@ -47,7 +47,7 @@
},
"cfb": {
"function": "networkx.algorithms.centrality.edge_current_flow_betweenness_centrality",
"arguments": {"weight": "graph_weight"}
"arguments": {"weight": "graph_distance"} # "graph_weight"
}
}
"""
Expand Down Expand Up @@ -209,7 +209,7 @@ def analyze(filtered, elements, metrics, nodes_dict, edges_dict):
Other Parameters
----------------
nodes_dict, edges_dict : dict
Optional kwarg(s) of the dictionary(ies) thatmaps network metrics custom names
Optional kwarg(s) of the dictionary(ies) that maps network metrics custom names
(e.g., betweenness centrality, "btw") with their corresponding NetworkX
function and arguments, with the format:
```
Expand Down

0 comments on commit d555ced

Please sign in to comment.