Skip to content

Commit

Permalink
Fix a format string.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Nov 16, 2023
1 parent 65ec926 commit ff9c05d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def main(args):

fgnd_frac_comp_time = time.time() - start_time

print('Number of foreground tiles = {:d} ({:2f}%%)'.format(
print('Number of foreground tiles = {:d} ({:.2f}%)'.format(
num_fgnd_tiles, percent_fgnd_tiles))

print('Tile foreground fraction computation time = {}'.format(
Expand Down
2 changes: 1 addition & 1 deletion histomicstk/cli/NucleiDetection/NucleiDetection.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def process_wsi(ts, it_kwargs, args, im_fgnd_mask_lres=None,

fgnd_frac_comp_time = time.time() - start_time

print('Number of foreground tiles = {:d} ({:2f}%%)'.format(
print('Number of foreground tiles = {:d} ({:.2f}%)'.format(
num_fgnd_tiles, percent_fgnd_tiles))

print('Tile foreground fraction computation time = {}'.format(
Expand Down

0 comments on commit ff9c05d

Please sign in to comment.