Skip to content

Commit

Permalink
Changed default worker count to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroberts committed Nov 1, 2024
1 parent 15300f1 commit 652d491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrf_apps/mrf_unjoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def parse_arguments():
default='NNb',
help='Overview resampling: Avg, NNb, or None')
parser.add_argument('-w', '--workers',
type=int, default=8,
type=int, default=16,
help='Number of parallel processes')
parser.add_argument('-v', '--verbose', action='store_true', help='Enable verbose output')

Expand Down Expand Up @@ -91,7 +91,7 @@ def process_cell(args, mrf_info, row, col, new_vrt):

# create an empty MRF for inserting new cell VRT
output_file = args.output_dir + '/' + prefix + '-c' + f'{col:02}' + 'r' + f'{row:02}' + '.mrf'
print(f'Creating {output_file}')
print(f'Creating {output_file}\n')
# delete any existing files
Path(output_file).unlink(True)
Path(output_file.replace('.mrf', '.idx')).unlink(True)
Expand Down

0 comments on commit 652d491

Please sign in to comment.