File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -210,11 +210,10 @@ def clone_case(
210
210
absdir = osutils .abspath (casedir )
211
211
tmpl_dir = osutils .abspath (template_dir )
212
212
if os .path .exists (absdir ):
213
- raise IOError ("Cannot overwrite existing file/directory: %s" , absdir )
213
+ raise IOError (f "Cannot overwrite existing file/directory: { absdir } " )
214
214
if not (os .path .exists (tmpl_dir ) and is_caelus_casedir (tmpl_dir )):
215
215
raise IOError (
216
- "Invalid Caelus case directory provided as template: %s" ,
217
- template_dir ,
216
+ "Invalid Caelus case directory provided as template: {template_dir}"
218
217
)
219
218
220
219
default_ignore = [
@@ -250,7 +249,5 @@ def clone_case(
250
249
251
250
def get_mpi_size (casedir ):
252
251
"""Determine the number of MPI ranks to run"""
253
- # TODO: Implement decomposeParDict options. How do we handle
254
- # redistributePar?
255
252
with osutils .set_work_dir (casedir ):
256
253
return len (glob .glob ("processor*" ))
You can’t perform that action at this time.
0 commit comments