Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bidsme_examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GIGA-CRC Human Imaging
Public
BIDStools
BIDSme
bidsme_examples
Commits
d83d340f
Commit
d83d340f
authored
5 years ago
by
Beliy Nikita
Browse files
Options
Downloads
Patches
Plain Diff
changed folder from aus to auxiliary
parent
1329ed2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
example1/resources/plugins/bidsify_plugin.py
+2
-2
2 additions, 2 deletions
example1/resources/plugins/bidsify_plugin.py
example1/resources/plugins/rename_plugin.py
+4
-5
4 additions, 5 deletions
example1/resources/plugins/rename_plugin.py
with
6 additions
and
7 deletions
example1/resources/plugins/bidsify_plugin.py
+
2
−
2
View file @
d83d340f
...
@@ -39,10 +39,10 @@ def SessionEP(scan):
...
@@ -39,10 +39,10 @@ def SessionEP(scan):
sid
=
-
1
sid
=
-
1
checkSeries
(
path
,
sub
,
ses
,
False
)
checkSeries
(
path
,
sub
,
ses
,
False
)
# copytng behevioral data
# copytng behevioral data
aux_input
=
os
.
path
.
join
(
rawfolder
,
sub
,
ses
,
"
aux
"
)
aux_input
=
os
.
path
.
join
(
rawfolder
,
sub
,
ses
,
"
aux
iliary
"
)
if
ses
in
(
"
ses-LCL
"
,
"
ses-HCL
"
):
if
ses
in
(
"
ses-LCL
"
,
"
ses-HCL
"
):
if
not
os
.
path
.
isdir
(
aux_input
):
if
not
os
.
path
.
isdir
(
aux_input
):
logger
.
error
(
"
Session {}/{} do not contain aux folder
"
logger
.
error
(
"
Session {}/{} do not contain aux
iliary
folder
"
.
format
(
sub
,
ses
))
.
format
(
sub
,
ses
))
raise
FileNotFoundError
(
"
folder {} not found
"
raise
FileNotFoundError
(
"
folder {} not found
"
.
format
(
aux_input
))
.
format
(
aux_input
))
...
...
This diff is collapsed.
Click to expand it.
example1/resources/plugins/rename_plugin.py
+
4
−
5
View file @
d83d340f
...
@@ -159,17 +159,16 @@ def SessionEndEP(session: BidsSession):
...
@@ -159,17 +159,16 @@ def SessionEndEP(session: BidsSession):
session
.
getPath
(
True
))
session
.
getPath
(
True
))
out_path
=
os
.
path
.
join
(
path
,
out_path
=
os
.
path
.
join
(
path
,
"
MRI
"
)
"
MRI
"
)
if
not
checkSeries
(
out_path
,
checkSeries
(
out_path
,
session
.
subject
,
session
.
session
,
session
.
subject
,
session
.
session
,
False
):
False
)
return
1
# parcing log files
# parcing log files
if
session
.
session
==
"
ses-STROOP
"
:
if
session
.
session
==
"
ses-STROOP
"
:
return
0
return
0
logs
=
os
.
path
.
join
(
session
.
in_path
,
"
inp
"
)
logs
=
os
.
path
.
join
(
session
.
in_path
,
"
inp
"
)
aux_d
=
os
.
path
.
join
(
path
,
"
aux
"
)
aux_d
=
os
.
path
.
join
(
path
,
"
aux
iliary
"
)
if
not
os
.
path
.
isdir
(
logs
):
if
not
os
.
path
.
isdir
(
logs
):
raise
NotADirectoryError
(
logs
)
raise
NotADirectoryError
(
logs
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment