Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mapping individual differences using multi-view representation learning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Akrem Sellami
Mapping individual differences using multi-view representation learning
Commits
1a73b0aa
Commit
1a73b0aa
authored
5 years ago
by
Akrem Sellami
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
fd0abf8b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
preprocessing_tfmri/script_batch_tfmri.py
+32
-0
32 additions, 0 deletions
preprocessing_tfmri/script_batch_tfmri.py
with
32 additions
and
0 deletions
preprocessing_tfmri/script_batch_tfmri.py
0 → 100644
+
32
−
0
View file @
1a73b0aa
"""
This script demonstrates how to use firoul cluster to perform
a set of preprocessing task on task fMRI data.
39 subjects are available. You can download these multimodal fMRI data here:
https://openneuro.org/datasets/ds001771/versions/1.0.2
"""
import
os.path
as
op
import
subprocess
import
datetime
as
dt
root_dir
=
op
.
realpath
(
op
.
dirname
(
__file__
))
subdir
=
'
/hpc/banco/sellami.a/InterTVA/rsfmri
'
for
s
in
range
(
3
,
43
):
# subnames index
if
s
==
36
:
# Avoid missing data
sub
=
"
sub-{0:02d}
"
.
format
(
s
)
cmd
=
"
/hpc/soft/anaconda3/bin/python
"
+
root_dir
+
"
/proprecessing_tfmri.py {0}
"
.
format
(
sub
)
log_dir
=
op
.
join
(
subdir
,
sub
,
'
logs
'
)
std
=
log_dir
+
"
/{0}_{1}_%jobid%_preprocessing.
"
.
format
(
sub
,
d_str
)
fb_cmd
=
"
mkdir {0} -p; frioul_batch
\"
{1}
\"
-C {2}cmd -O {3}out -E {4}err -n 17,18,19
"
.
format
(
log_dir
,
cmd
,
std
,
std
,
std
)
print
(
fb_cmd
)
subprocess
.
run
(
fb_cmd
,
shell
=
True
)
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