File tree 1 file changed +15
-4
lines changed 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -464,8 +464,12 @@ mod arguments {
464
464
let input_file = & self . input_file ;
465
465
let output_file = & self . output_file ;
466
466
467
- let input_dir = input_file. parent ( ) . expect ( "expected an input path ending in a filename" ) ;
468
- let output_dir = output_file. parent ( ) . expect ( "expected an output path ending in a filename" ) ;
467
+ let input_dir = input_file
468
+ . parent ( )
469
+ . expect ( "expected an input path ending in a filename" ) ;
470
+ let output_dir = output_file
471
+ . parent ( )
472
+ . expect ( "expected an output path ending in a filename" ) ;
469
473
470
474
let input_pattern = input_file. file_name ( ) . unwrap ( ) . to_string_lossy ( ) ;
471
475
let output_pattern = output_file. file_name ( ) . unwrap ( ) . to_string_lossy ( ) ;
@@ -478,8 +482,15 @@ mod arguments {
478
482
format ! ( r"{}(\d+){}" , escape( input_prefix) , escape( input_suffix) ) ;
479
483
let input_re = Regex :: new ( & input_re_str) . expect ( "expected a valid regex" ) ;
480
484
481
- let input_root = if input_dir == Path :: new ( "" ) { Path :: new ( "." ) } else { input_dir } ;
482
- info ! ( "Looking for input sequence files in root \" {}\" " , input_root. display( ) ) ;
485
+ let input_root = if input_dir == Path :: new ( "" ) {
486
+ Path :: new ( "." )
487
+ } else {
488
+ input_dir
489
+ } ;
490
+ info ! (
491
+ "Looking for input sequence files in root \" {}\" " ,
492
+ input_root. display( )
493
+ ) ;
483
494
484
495
let mut paths = Vec :: new ( ) ;
485
496
You can’t perform that action at this time.
0 commit comments