recast-hep / recast-atlas

CLI for ATLAS RECAST contributors
https://recast.docs.cern.ch/
Apache License 2.0
5 stars 5 forks source link

fix: Allow for shutil.copytree to have existing dirs #156

Closed matthewfeickert closed 1 month ago

matthewfeickert commented 1 month ago
* Add dirs_exist_ok=True to allow the copying operation to continue if
  it encounters existing directories.
   - c.f. https://docs.python.org/3.12/library/shutil.html#shutil.copytree
   - dirs_exist_ok was added in Python 3.8.
* Amends PR https://github.com/recast-hep/recast-atlas/pull/155.