diff --git a/scola.py b/scola.py index a6156ad..ff341ab 100644 --- a/scola.py +++ b/scola.py @@ -13,6 +13,11 @@ def main_scola(parsed_args): nboxes_tot = int(parsed_args.N_tiles**3) + if have_all_tiles(parsed_args) and not parsed_args.force: + print_message("All tiles already exist. Use -F to overwrite.", 1, "scola", verbose=parsed_args.verbose) + print_ending_module("scola", verbose=parsed_args.verbose) + return + if parsed_args.execution == "local": from parameters_card import parse_arguments_card from tqdm import tqdm