Browse Source

changed default for 'scale' to 2

main
Holger Frey 3 years ago
parent
commit
e77b5fdae0
  1. 2
      README.md
  2. 4
      sensospot_grid/__init__.py

2
README.md

@ -26,7 +26,7 @@ Creating nice grid images from scans
-w, --wells TEXT restrict to this wells, * = all [default: *] -w, --wells TEXT restrict to this wells, * = all [default: *]
-e, --Exposures TEXT restrict to this exposure ids, * = all [default: *] -e, --Exposures TEXT restrict to this exposure ids, * = all [default: *]
-s, --scale INTEGER scale-up of images [default: 3] -s, --scale INTEGER scale-up of images [default: 2]
--crop create cropped images of each spots [default: False] --crop create cropped images of each spots [default: False]
--help Show this message and exit. --help Show this message and exit.

4
sensospot_grid/__init__.py

@ -197,7 +197,7 @@ def process(
output_dir, output_dir,
wells="*", wells="*",
exposures="*", exposures="*",
scale=3, scale=2,
crop_single_spots=False, crop_single_spots=False,
): ):
"""process a complete raw data directory """process a complete raw data directory
@ -266,7 +266,7 @@ def process(
"-s", "-s",
"--scale", "--scale",
type=int, type=int,
default=3, default=2,
show_default=True, show_default=True,
help="scale-up of images", help="scale-up of images",
) )

Loading…
Cancel
Save