Open rmarkello opened 3 years ago
The following line is present in all parcellation-specific null models (i.e., nulls.vasa, nulls.hungarian, nulls.baum, and nulls.cornblath):
nulls.vasa
nulls.hungarian
nulls.baum
nulls.cornblath
https://github.com/netneurolab/brainnotation/blob/09ef3c88270f85d97de83d69e51cb6917e21f417/brainnotation/nulls/nulls.py#L190
But it should be the opposite (i.e., if parcellation is None). Currently all of these functions are useless :grimacing: Should be an easy fix, though!
if parcellation is None
(h/t to @danjgale for pointing this out)
Hypothetically fixed with the mess of a PR that was #5. Gonna leave this open 'till I add some tests to confirm, though.
The following line is present in all parcellation-specific null models (i.e.,
nulls.vasa
,nulls.hungarian
,nulls.baum
, andnulls.cornblath
):https://github.com/netneurolab/brainnotation/blob/09ef3c88270f85d97de83d69e51cb6917e21f417/brainnotation/nulls/nulls.py#L190
But it should be the opposite (i.e.,
if parcellation is None
). Currently all of these functions are useless :grimacing: Should be an easy fix, though!(h/t to @danjgale for pointing this out)