Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --copy-to option #1291

Merged
merged 4 commits into from
Jun 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove comment
  • Loading branch information
pierotofy committed Jun 3, 2021
commit 16c91897874ed87a40d574bd76f3c837337dd610
6 changes: 0 additions & 6 deletions opendm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ def get_processing_results_paths():
]

def copy_paths(paths, destination, rerun):
"""
Attempt to create hard-links for each path in paths to the destination
folder. If hard links fail, this does a normal recursive copy (slower).
If previous files/folders exist in destination, they are removed
"""

if not os.path.isdir(destination):
os.makedirs(destination)

Expand Down