Skip to content

Commit

Permalink
Merge pull request #27 from alexpron/hotfix-issue#26
Browse files Browse the repository at this point in the history
[BF]:add again K_JSON_FIND_AND_REPLACE to LIST_AUTHORIZED_KEYS_JSON
  • Loading branch information
quentinduche authored Nov 18, 2024
2 parents 4349130 + 125572b commit f05750d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shanoir2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
from dotenv import load_dotenv
from heudiconv.main import workflow

# import loggger used in heudiconv workflow
from heudiconv.main import lgr
import bids_validator

# Load environment variables
Expand Down Expand Up @@ -61,6 +59,7 @@ def banner_msg(msg):
LIST_AUTHORIZED_KEYS_JSON = LIST_MANDATORY_KEYS_JSON + [
K_DCM2NIIX_PATH,
K_DCM2NIIX_OPTS,
K_JSON_FIND_AND_REPLACE,
K_JSON_DATE_FROM,
K_JSON_DATE_TO,
K_JSON_SESSION,
Expand Down Expand Up @@ -494,6 +493,7 @@ def download_subject(self, subject_to_search):
for far in self.list_fars:
bids_subject_id.replace(far[K_FIND], far[K_REPLACE])


bids_seq_session = None

# Loop on each sequence defined in the dictionary
Expand Down

0 comments on commit f05750d

Please sign in to comment.