216 |
|
|
217 |
|
options[tmp]=self.cfg_params_dataset[sec][opt] |
218 |
|
|
219 |
< |
# protect against no user_remote_dir |
219 |
> |
# check if user_remote_dir is set in multicrab.cfg |
220 |
> |
self.user_remote_dir =self.cfg_params_dataset[sec].get("user.user_remote_dir",None) |
221 |
|
if not self.user_remote_dir: |
222 |
|
self.user_remote_dir = "./" |
223 |
|
# add section to storage_path if exist in crab.cfg |
224 |
|
if not self.cfg_params_dataset.has_key("USER.user_remote_dir") and self.user_remote_dir: |
225 |
|
options["-USER.user_remote_dir"]=self.user_remote_dir+"/"+sec |
226 |
+ |
print options["-USER.user_remote_dir"] |
227 |
|
# also for ui_working_dir |
228 |
|
if not self.cfg_params_dataset.has_key("USER.ui_working_dir") and self.ui_working_dir: |
229 |
|
options["-USER.ui_working_dir"]=self.ui_working_dir+"/"+sec |