File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 46
46
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_fsl_reuse Linear /root/examples/ level1_workflow
47
47
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py27 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ level1
48
48
- docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ level1
49
- - docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_spm_nested Linear /root/examples/ l2pipeline
49
+ - docker run -v /etc/localtime:/etc/localtime:ro -v ~/examples:/root/examples:ro -v ~/scratch:/scratch -w /scratch nipype/nipype_test:py35 /usr/bin/run_examples.sh fmri_spm_nested MultiProc /root/examples/ l2pipeline
50
50
51
51
post :
52
52
- bash docker/circleci/teardown.sh
Original file line number Diff line number Diff line change @@ -475,11 +475,12 @@ def loadpkl(infile):
475
475
476
476
477
477
def savepkl (filename , record ):
478
+ content = pickle .dumps (record )
478
479
if filename .endswith ('pklz' ):
479
480
pkl_file = gzip .open (filename , 'wb' )
480
481
else :
481
482
pkl_file = open (filename , 'wb' )
482
- pickle . dump ( record , pkl_file )
483
+ pkl_file . write ( content . encode () )
483
484
pkl_file .close ()
484
485
485
486
rst_levels = ['=' , '-' , '~' , '+' ]
You can’t perform that action at this time.
0 commit comments