Skip to content

Commit

Permalink
Error for now if report requested in plates mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuhlich committed Oct 5, 2023
1 parent 620327c commit 66e81f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ashlar/scripts/ashlar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 66e81f3

Please sign in to comment.