π Sparsity thresholds not scaling for network centrality
shnizzedy opened this issue Β· comments
Describe the bug
Updated string parameters
from to [β¦] [β¦] 'sparsity' 'Sparsity threshold'
β #1396
Lines 83 to 84 in a892846
"sparsity"
isn't a valid "threshold_option" since < 1.8.0, but that's the value used to scale the threshold value
C-PAC/CPAC/network_centrality/pipeline.py
Lines 47 to 49 in a0e425d
C-PAC/CPAC/network_centrality/network_centrality.py
Lines 72 to 73 in 3facedb
Expected behavior
The scaling occurs for 'Sparsity threshold'
instead of for 'sparsity'
or the threshold range is 0 β 100 instead of 0 β 1 for 'Sparsity threshold'
Acceptance criteria
- The scaling occurs for
'Sparsity threshold'
instead of for'sparsity'
or - the threshold range is 0 β 100 instead of 0 β 1 for
'Sparsity threshold'
C-PAC version
Additional context
Discovered while working on #1998
Fixed in 1.8.6