Closed Katterrina closed 5 months ago
https://github.com/MICA-MNI/ENIGMA/blob/2591ccefdbf94439db4080ab1dd04338c605802b/enigmatoolbox/datasets/base.py#L293
if parcellation is 'aparc' causes SyntaxWarning: "is" with a literal. Did you mean "=="?
if parcellation is 'aparc'
SyntaxWarning: "is" with a literal. Did you mean "=="?
I think it could be easily solved by replacing "is" with "==".
Thanks for pointing it out! Fixed it for both load_fc, load_sc
load_fc
load_sc
https://github.com/MICA-MNI/ENIGMA/blob/2591ccefdbf94439db4080ab1dd04338c605802b/enigmatoolbox/datasets/base.py#L293
if parcellation is 'aparc'
causesSyntaxWarning: "is" with a literal. Did you mean "=="?
I think it could be easily solved by replacing "is" with "==".