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

wdl: use cp instead of mv #1007

Merged
merged 1 commit into from
Oct 1, 2022
Merged

wdl: use cp instead of mv #1007

merged 1 commit into from
Oct 1, 2022

Conversation

j23414
Copy link

@j23414 j23414 commented Sep 30, 2022

Description of proposed changes

  • Copy the nextclade_cache instead of moving, to preserve older caches

While updating our cache on Terra, realized we may want to preserve older caches.

An example case is when we pull an all dataset (All GenBank) and then subsequently start a new run subsetting to a region (e.g. North American GenBank). Moving the cache (during regional subsetting) destroys the All GenBank cache. This PR will fix that.

Related issue(s)

Fixes: #1006
Related to #1005

Testing

Will be tested by:

Although suggestions appreciated.

* Copy the nextclade_cache instead of moving, to preserve older caches
@j23414 j23414 merged commit dc5d73b into master Oct 1, 2022
@j23414 j23414 deleted the wdl/minor_edit branch October 1, 2022 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

1 participant