@@ -41,6 +41,7 @@ def step0_reduce_remove_hydrogens(config, system=None):
41
41
42
42
def step1_extract_molecule (config , system = None ):
43
43
conf = settings .ConfReader (config , system )
44
+ conf .working_dir_path = global_work_dir
44
45
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
45
46
global_prop = conf .get_prop_dic (global_log = global_log )
46
47
global_paths = conf .get_paths_dic ()
@@ -53,6 +54,7 @@ def step1_extract_molecule(config, system=None):
53
54
54
55
def step00_cat_pdb (config , system = None ):
55
56
conf = settings .ConfReader (config , system )
57
+ conf .working_dir_path = global_work_dir
56
58
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
57
59
global_prop = conf .get_prop_dic (global_log = global_log )
58
60
global_paths = conf .get_paths_dic ()
@@ -65,6 +67,7 @@ def step00_cat_pdb(config, system=None):
65
67
66
68
def step2_fix_side_chain (config , system = None ):
67
69
conf = settings .ConfReader (config , system )
70
+ conf .working_dir_path = global_work_dir
68
71
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
69
72
global_prop = conf .get_prop_dic (global_log = global_log )
70
73
global_paths = conf .get_paths_dic ()
@@ -77,6 +80,7 @@ def step2_fix_side_chain(config, system=None):
77
80
78
81
def step4_pdb2gmx (config , system = None ):
79
82
conf = settings .ConfReader (config , system )
83
+ conf .working_dir_path = global_work_dir
80
84
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
81
85
global_prop = conf .get_prop_dic (global_log = global_log )
82
86
global_paths = conf .get_paths_dic ()
@@ -91,6 +95,7 @@ def step4_pdb2gmx(config, system=None):
91
95
92
96
def step5_editconf (config , system = None ):
93
97
conf = settings .ConfReader (config , system )
98
+ conf .working_dir_path = global_work_dir
94
99
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
95
100
global_prop = conf .get_prop_dic (global_log = global_log )
96
101
global_paths = conf .get_paths_dic ()
@@ -103,6 +108,7 @@ def step5_editconf(config, system=None):
103
108
104
109
def step6_solvate (config , system = None ):
105
110
conf = settings .ConfReader (config , system )
111
+ conf .working_dir_path = global_work_dir
106
112
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
107
113
global_prop = conf .get_prop_dic (global_log = global_log )
108
114
global_paths = conf .get_paths_dic ()
@@ -117,6 +123,7 @@ def step6_solvate(config, system=None):
117
123
118
124
def step7_grompp_genion (config , system = None ):
119
125
conf = settings .ConfReader (config , system )
126
+ conf .working_dir_path = global_work_dir
120
127
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
121
128
global_prop = conf .get_prop_dic (global_log = global_log )
122
129
global_paths = conf .get_paths_dic ()
@@ -129,6 +136,7 @@ def step7_grompp_genion(config, system=None):
129
136
130
137
def step8_genion (config , system = None ):
131
138
conf = settings .ConfReader (config , system )
139
+ conf .working_dir_path = global_work_dir
132
140
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
133
141
global_prop = conf .get_prop_dic (global_log = global_log )
134
142
global_paths = conf .get_paths_dic ()
@@ -143,6 +151,7 @@ def step8_genion(config, system=None):
143
151
144
152
def step9_grompp_min (config , system = None ):
145
153
conf = settings .ConfReader (config , system )
154
+ conf .working_dir_path = global_work_dir
146
155
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
147
156
global_prop = conf .get_prop_dic (global_log = global_log )
148
157
global_paths = conf .get_paths_dic ()
@@ -155,6 +164,7 @@ def step9_grompp_min(config, system=None):
155
164
156
165
def step10_mdrun_min (config , system = None ):
157
166
conf = settings .ConfReader (config , system )
167
+ conf .working_dir_path = global_work_dir
158
168
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
159
169
global_prop = conf .get_prop_dic (global_log = global_log )
160
170
global_paths = conf .get_paths_dic ()
@@ -173,6 +183,7 @@ def step10_mdrun_min(config, system=None):
173
183
174
184
def step100_make_ndx (config , system = None ):
175
185
conf = settings .ConfReader (config , system )
186
+ conf .working_dir_path = global_work_dir
176
187
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
177
188
global_prop = conf .get_prop_dic (global_log = global_log )
178
189
global_paths = conf .get_paths_dic ()
@@ -197,6 +208,7 @@ def step11_grompp_nvt(config, system=None):
197
208
198
209
def step12_mdrun_nvt (config , system = None ):
199
210
conf = settings .ConfReader (config , system )
211
+ conf .working_dir_path = global_work_dir
200
212
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
201
213
global_prop = conf .get_prop_dic (global_log = global_log )
202
214
global_paths = conf .get_paths_dic ()
@@ -215,6 +227,7 @@ def step12_mdrun_nvt(config, system=None):
215
227
216
228
def step13_grompp_npt (config , system = None ):
217
229
conf = settings .ConfReader (config , system )
230
+ conf .working_dir_path = global_work_dir
218
231
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
219
232
global_prop = conf .get_prop_dic (global_log = global_log )
220
233
global_paths = conf .get_paths_dic ()
@@ -227,6 +240,7 @@ def step13_grompp_npt(config, system=None):
227
240
228
241
def step14_mdrun_npt (config , system = None ):
229
242
conf = settings .ConfReader (config , system )
243
+ conf .working_dir_path = global_work_dir
230
244
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
231
245
global_prop = conf .get_prop_dic (global_log = global_log )
232
246
global_paths = conf .get_paths_dic ()
@@ -245,6 +259,7 @@ def step14_mdrun_npt(config, system=None):
245
259
246
260
def step15_grompp_md (config , system = None ):
247
261
conf = settings .ConfReader (config , system )
262
+ conf .working_dir_path = global_work_dir
248
263
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
249
264
global_prop = conf .get_prop_dic (global_log = global_log )
250
265
global_paths = conf .get_paths_dic ()
@@ -257,6 +272,7 @@ def step15_grompp_md(config, system=None):
257
272
258
273
def step16_mdrun_md (config , system = None ):
259
274
conf = settings .ConfReader (config , system )
275
+ conf .working_dir_path = global_work_dir
260
276
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
261
277
global_prop = conf .get_prop_dic (global_log = global_log )
262
278
global_paths = conf .get_paths_dic ()
@@ -275,6 +291,7 @@ def step16_mdrun_md(config, system=None):
275
291
276
292
def step17_gmx_image1 (config , system = None ):
277
293
conf = settings .ConfReader (config , system )
294
+ conf .working_dir_path = global_work_dir
278
295
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
279
296
global_prop = conf .get_prop_dic (global_log = global_log )
280
297
global_paths = conf .get_paths_dic ()
@@ -287,6 +304,7 @@ def step17_gmx_image1(config, system=None):
287
304
288
305
def step18_gmx_image2 (config , system = None ):
289
306
conf = settings .ConfReader (config , system )
307
+ conf .working_dir_path = global_work_dir
290
308
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
291
309
global_prop = conf .get_prop_dic (global_log = global_log )
292
310
global_paths = conf .get_paths_dic ()
@@ -299,6 +317,7 @@ def step18_gmx_image2(config, system=None):
299
317
300
318
def step19_gmx_trjconv_str (config , system = None ):
301
319
conf = settings .ConfReader (config , system )
320
+ conf .working_dir_path = global_work_dir
302
321
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
303
322
global_prop = conf .get_prop_dic (global_log = global_log )
304
323
global_paths = conf .get_paths_dic ()
@@ -311,6 +330,7 @@ def step19_gmx_trjconv_str(config, system=None):
311
330
312
331
def step20_gmx_energy (config , system = None ):
313
332
conf = settings .ConfReader (config , system )
333
+ conf .working_dir_path = global_work_dir
314
334
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
315
335
global_prop = conf .get_prop_dic (global_log = global_log )
316
336
global_paths = conf .get_paths_dic ()
@@ -323,6 +343,7 @@ def step20_gmx_energy(config, system=None):
323
343
324
344
def step21_gmx_rgyr (config , system = None ):
325
345
conf = settings .ConfReader (config , system )
346
+ conf .working_dir_path = global_work_dir
326
347
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
327
348
global_prop = conf .get_prop_dic (global_log = global_log )
328
349
global_paths = conf .get_paths_dic ()
@@ -335,6 +356,7 @@ def step21_gmx_rgyr(config, system=None):
335
356
336
357
def step22_rmsd_first (config , system = None ):
337
358
conf = settings .ConfReader (config , system )
359
+ conf .working_dir_path = global_work_dir
338
360
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
339
361
global_prop = conf .get_prop_dic (global_log = global_log )
340
362
global_paths = conf .get_paths_dic ()
@@ -347,6 +369,7 @@ def step22_rmsd_first(config, system=None):
347
369
348
370
def step23_rmsd_exp (config , remove = False , system = None ):
349
371
conf = settings .ConfReader (config , system )
372
+ conf .working_dir_path = global_work_dir
350
373
global_log , _ = fu .get_logs (path = conf .get_working_dir_path (), light_format = True )
351
374
global_prop = conf .get_prop_dic (global_log = global_log )
352
375
global_paths = conf .get_paths_dic ()
0 commit comments