@@ -11811,7 +11811,7 @@ <h3 id="Execution">Execution<a class="anchor-link" href="#Execution">¶</a><
11811
11811
</ div >
11812
11812
< div class ="inner_cell ">
11813
11813
< div class ="text_cell_render border-box-sizing rendered_html ">
11814
- < h1 id ="Global,-workflow-&-node-level "> Global, workflow & node level< a class ="anchor-link " href ="#Global,-workflow-&-node-level "> ¶</ a > </ h1 > < p > The configuration options can be changed globally (i.e. for all workflows), for just a workflow, or for just a node. The implementations look as follows:</ p >
11814
+ < h1 id ="Global,-workflow-&-node-level "> Global, workflow & node level< a class ="anchor-link " href ="#Global,-workflow-&-node-level "> ¶</ a > </ h1 > < p > The configuration options can be changed globally (i.e. for all workflows), for just a workflow, or for just a node. The implementations look as follows (note that you should first create directories if you want to change < code > crashdump_dir </ code > and < code > log_directory </ code > ) :</ p >
11815
11815
11816
11816
</ div >
11817
11817
</ div >
@@ -11827,7 +11827,7 @@ <h3 id="At-the-global-level:">At the global level:<a class="anchor-link" href="#
11827
11827
</ div >
11828
11828
< div class ="cell border-box-sizing code_cell rendered ">
11829
11829
< div class ="input ">
11830
- < div class ="prompt input_prompt "> In [ ]:</ div >
11830
+ < div class ="prompt input_prompt "> In [1 ]:</ div >
11831
11831
< div class ="inner_cell ">
11832
11832
< div class ="input_area ">
11833
11833
< div class =" highlight hl-ipython3 "> < pre > < span > </ span > < span class ="kn "> from</ span > < span class ="nn "> nipype</ span > < span class ="k "> import</ span > < span class ="n "> config</ span > < span class ="p "> ,</ span > < span class ="n "> logging</ span >
@@ -11839,13 +11839,13 @@ <h3 id="At-the-global-level:">At the global level:<a class="anchor-link" href="#
11839
11839
< span class ="s1 "> 'hash_method'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'timestamp'</ span > < span class ="p "> ,</ span >
11840
11840
< span class ="s1 "> 'local_hash_check'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'true'</ span > < span class ="p "> ,</ span >
11841
11841
< span class ="s1 "> 'create_report'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'true'</ span > < span class ="p "> ,</ span >
11842
- < span class ="s1 "> 'crashdump_dir'</ span > < span class ="p "> :</ span > < span class ="s1 "> '/home/jovyan/work /crash_folder'</ span > < span class ="p "> ,</ span >
11842
+ < span class ="s1 "> 'crashdump_dir'</ span > < span class ="p "> :</ span > < span class ="s1 "> '/opt/tutorial /crash_folder'</ span > < span class ="p "> ,</ span >
11843
11843
< span class ="s1 "> 'use_relative_paths'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'false'</ span > < span class ="p "> ,</ span >
11844
11844
< span class ="s1 "> 'job_finished_timeout'</ span > < span class ="p "> :</ span > < span class ="s1 "> '5'</ span > < span class ="p "> },</ span >
11845
11845
< span class ="s1 "> 'logging'</ span > < span class ="p "> :</ span > < span class ="p "> {</ span > < span class ="s1 "> 'workflow_level'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'INFO'</ span > < span class ="p "> ,</ span >
11846
11846
< span class ="s1 "> 'filemanip_level'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'INFO'</ span > < span class ="p "> ,</ span >
11847
11847
< span class ="s1 "> 'interface_level'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'INFO'</ span > < span class ="p "> ,</ span >
11848
- < span class ="s1 "> 'log_directory'</ span > < span class ="p "> :</ span > < span class ="s1 "> '/home/jovyan/work /log_folder'</ span > < span class ="p "> ,</ span >
11848
+ < span class ="s1 "> 'log_directory'</ span > < span class ="p "> :</ span > < span class ="s1 "> '/opt/tutorial /log_folder'</ span > < span class ="p "> ,</ span >
11849
11849
< span class ="s1 "> 'log_to_file'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'true'</ span > < span class ="p "> }}</ span >
11850
11850
< span class ="n "> config</ span > < span class ="o "> .</ span > < span class ="n "> update_config</ span > < span class ="p "> (</ span > < span class ="n "> config_dict</ span > < span class ="p "> )</ span >
11851
11851
< span class ="n "> logging</ span > < span class ="o "> .</ span > < span class ="n "> update_logging</ span > < span class ="p "> (</ span > < span class ="n "> config</ span > < span class ="p "> )</ span >
@@ -11867,7 +11867,7 @@ <h3 id="At-the-workflow-level:">At the workflow level:<a class="anchor-link" hre
11867
11867
</ div >
11868
11868
< div class ="cell border-box-sizing code_cell rendered ">
11869
11869
< div class ="input ">
11870
- < div class ="prompt input_prompt "> In [ ]:</ div >
11870
+ < div class ="prompt input_prompt "> In [2 ]:</ div >
11871
11871
< div class ="inner_cell ">
11872
11872
< div class ="input_area ">
11873
11873
< div class =" highlight hl-ipython3 "> < pre > < span > </ span > < span class ="kn "> from</ span > < span class ="nn "> nipype</ span > < span class ="k "> import</ span > < span class ="n "> Workflow</ span >
@@ -11881,7 +11881,7 @@ <h3 id="At-the-workflow-level:">At the workflow level:<a class="anchor-link" hre
11881
11881
< span class ="s1 "> 'filemanip_level'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'DEBUG'</ span > < span class ="p "> ,</ span >
11882
11882
< span class ="s1 "> 'interface_level'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'DEBUG'</ span > < span class ="p "> ,</ span >
11883
11883
< span class ="s1 "> 'log_to_file'</ span > < span class ="p "> :</ span > < span class ="s1 "> 'True'</ span > < span class ="p "> ,</ span >
11884
- < span class ="s1 "> 'log_directory'</ span > < span class ="p "> :</ span > < span class ="s1 "> '/home/jovyan/work /log_folder'</ span > < span class ="p "> }</ span >
11884
+ < span class ="s1 "> 'log_directory'</ span > < span class ="p "> :</ span > < span class ="s1 "> '/opt/tutorial /log_folder'</ span > < span class ="p "> }</ span >
11885
11885
</ pre > </ div >
11886
11886
11887
11887
</ div >
@@ -11900,7 +11900,7 @@ <h3 id="At-the-node-level:">At the node level:<a class="anchor-link" href="#At-t
11900
11900
</ div >
11901
11901
< div class ="cell border-box-sizing code_cell rendered ">
11902
11902
< div class ="input ">
11903
- < div class ="prompt input_prompt "> In [ ]:</ div >
11903
+ < div class ="prompt input_prompt "> In [3 ]:</ div >
11904
11904
< div class ="inner_cell ">
11905
11905
< div class ="input_area ">
11906
11906
< div class =" highlight hl-ipython3 "> < pre > < span > </ span > < span class ="kn "> from</ span > < span class ="nn "> nipype</ span > < span class ="k "> import</ span > < span class ="n "> Node</ span >
0 commit comments