From 66e81f37e9b54b2a76401e505447b24ecd383027 Mon Sep 17 00:00:00 2001 From: Jeremy Muhlich Date: Thu, 5 Oct 2023 00:56:55 -0400 Subject: [PATCH] Error for now if report requested in plates mode --- ashlar/scripts/ashlar.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ashlar/scripts/ashlar.py b/ashlar/scripts/ashlar.py index dde14981..eb9597e0 100644 --- a/ashlar/scripts/ashlar.py +++ b/ashlar/scripts/ashlar.py @@ -180,6 +180,10 @@ def main(argv=sys.argv): print_error("--tile-size can only be used with OME-TIFF output") return 1 + if args.plates and args.report: + print_error("--plates and --report cannot be used together yet") + return 1 + ffp_paths = args.ffp if ffp_paths: if len(ffp_paths) not in (0, 1, len(filepaths)): @@ -222,7 +226,6 @@ def main(argv=sys.argv): try: if args.plates: - # FIXME handle report return process_plates( filepaths, output_path, args.filename_format, args.flip_x, args.flip_y, ffp_paths, dfp_paths, args.barrel_correction,