Skip to content

Commit

Permalink
[FIX] changed is to == in load_fc, load_sc
Browse files Browse the repository at this point in the history
  • Loading branch information
saratheriver committed Apr 11, 2024
1 parent 2591cce commit 465eac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enigmatoolbox/datasets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def load_sc(parcellation='aparc'):
"""
root_pth = os.path.dirname(__file__)

if parcellation is 'aparc':
if parcellation == 'aparc':
ctx = 'strucMatrix_ctx.csv'
ctx_ipth = os.path.join(root_pth, 'matrices', 'hcp_connectivity', ctx)

Expand Down Expand Up @@ -290,7 +290,7 @@ def load_fc(parcellation='aparc'):
"""
root_pth = os.path.dirname(__file__)

if parcellation is 'aparc':
if parcellation == 'aparc':
ctx = 'funcMatrix_ctx.csv'
ctx_ipth = os.path.join(root_pth, 'matrices', 'hcp_connectivity', ctx)

Expand Down

0 comments on commit 465eac0

Please sign in to comment.