Skip to content

Commit 29b3e5b

Browse files
committed
small changes in basic_configuration and basic_import_workflows: mostly changing paths
1 parent 7da866a commit 29b3e5b

File tree

2 files changed

+193
-33
lines changed

2 files changed

+193
-33
lines changed

notebooks/basic_configuration.ipynb

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@
7171
" 'hash_method': 'timestamp',\n",
7272
" 'local_hash_check': 'true',\n",
7373
" 'create_report': 'true',\n",
74-
" 'crashdump_dir': '/home/user/crash_folder',\n",
74+
" 'crashdump_dir': '/home/jovyan/work/crash_folder',\n",
7575
" 'use_relative_paths': 'false',\n",
7676
" 'job_finished_timeout': '5'},\n",
7777
" 'logging': {'workflow_level': 'INFO',\n",
7878
" 'filemanip_level': 'INFO',\n",
7979
" 'interface_level': 'INFO',\n",
80-
" 'log_directory': '/home/user/log_folder',\n",
80+
" 'log_directory': '/home/jovyan/work/log_folder',\n",
8181
" 'log_to_file': 'true'}}\n",
8282
"config.update_config(config_dict)\n",
8383
"logging.update_logging(config)"
@@ -103,6 +103,9 @@
103103
},
104104
"outputs": [],
105105
"source": [
106+
"from nipype import Workflow\n",
107+
"wf = Workflow(name=\"config_test\")\n",
108+
"\n",
106109
"# Change execution parameters\n",
107110
"wf.config['execution']['stop_on_first_crash'] = 'true'\n",
108111
"\n",
@@ -111,7 +114,7 @@
111114
" 'filemanip_level' : 'DEBUG',\n",
112115
" 'interface_level' : 'DEBUG',\n",
113116
" 'log_to_file' : 'True',\n",
114-
" 'log_directory' : '/home/user/log_folder'}"
117+
" 'log_directory' : '/home/jovyan/work/log_folder'}"
115118
]
116119
},
117120
{
@@ -134,30 +137,34 @@
134137
},
135138
"outputs": [],
136139
"source": [
140+
"from nipype import Node\n",
141+
"from nipype.interfaces.fsl import BET\n",
142+
"bet = Node(BET(), name=\"config_test\")\n",
143+
"\n",
137144
"bet.config = {'execution': {'keep_unnecessary_outputs': 'false'}}"
138145
]
139146
}
140147
],
141148
"metadata": {
142149
"anaconda-cloud": {},
143150
"kernelspec": {
144-
"display_name": "Python [default]",
151+
"display_name": "Python 3",
145152
"language": "python",
146-
"name": "python2"
153+
"name": "python3"
147154
},
148155
"language_info": {
149156
"codemirror_mode": {
150157
"name": "ipython",
151-
"version": 2
158+
"version": 3
152159
},
153160
"file_extension": ".py",
154161
"mimetype": "text/x-python",
155162
"name": "python",
156163
"nbconvert_exporter": "python",
157-
"pygments_lexer": "ipython2",
158-
"version": "2.7.13"
164+
"pygments_lexer": "ipython3",
165+
"version": "3.5.2"
159166
}
160167
},
161168
"nbformat": 4,
162-
"nbformat_minor": 0
169+
"nbformat_minor": 1
163170
}

notebooks/basic_import_workflows.ipynb

Lines changed: 177 additions & 24 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)