I do like the idea of a force= (or overwrite) option. And then maybe in your Makefile you would call my_script.py --force, then that args.force would propagate to ValidPath(whatever, force=True)
You'd want to think about whether ValidPath(existing_dir) does nothing or deletes the content of the directory...
I do like the idea of a
force=
(oroverwrite
) option. And then maybe in your Makefile you would callmy_script.py --force
, then thatargs.force
would propagate toValidPath(whatever, force=True)
You'd want to think about whether
ValidPath(existing_dir)
does nothing or deletes the content of the directory..._Originally posted by @swo in https://github.com/CDCgov/cfa-viral-lineage-model/pull/39#discussion_r1727675207_