Skip to content

Commit

Permalink
Update fetch-curation command to be more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed Jan 17, 2025
1 parent e6fa6e6 commit 0e98153
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,20 @@ version = "1.0.0"

[tasks]
# Fetch manual curation folders locally (assumes you git cloned the repo from HPC)
fetch-curation = "rsync -av \"$(git remote get-url origin)/data/outputs/01_ebp-assembly-workflow/{08_rapid_curation,10_report}\" data/outputs/01_ebp-assembly-workflow/"
fetch-curation = {
cmd = [
"rsync",
"-av",
$SSH_OPTS,
"\"$(git remote get-url $ORIGIN)/data/outputs/01_ebp-assembly-workflow/{08_rapid_curation,10_report}\"",
"data/outputs/01_ebp-assembly-workflow/"
],
env = {
SSH_OPTS = "",
ORIGIN = "origin"
}
}

# Template updates
git-link-template = "git remote add template https://github.com/NBISweden/assembly-project-template"
git-merge-template = "git fetch template && git merge template/main --allow-unrelated-histories"
Expand Down

0 comments on commit 0e98153

Please sign in to comment.