prevent scola overwriting

This commit is contained in:
Mayeul Aubin 2025-03-24 17:33:42 +01:00
parent 881bc7b234
commit 0447279fcc

View file

@ -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