Skip to content

Commit

Permalink
Make data download URLs default-branch-name agnostic [#6]
Browse files Browse the repository at this point in the history
This is in preparation for renaming the default branch from `master`
to `main`, and provides some insulation against any future default
branch name changes, should that ever happen.
  • Loading branch information
genehack committed Nov 19, 2024
1 parent 4ef12ae commit eb89ed0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@ process fetch_zika_tutorial {
#! /usr/bin/env bash
# pull data
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/data/sequences.fasta
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/data/sequences.fasta
sleep 0.5
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/data/metadata.tsv
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/data/metadata.tsv
sleep 0.5
# pull default configs
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/config/auspice_config.json
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/config/auspice_config.json
sleep 0.5
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/config/colors.tsv
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/config/colors.tsv
sleep 0.5
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/config/dropped_strains.txt
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/config/dropped_strains.txt
sleep 0.5
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/config/lat_longs.tsv
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/config/lat_longs.tsv
sleep 0.5
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/master/config/zika_outgroup.gb
wget https://raw.githubusercontent.com/nextstrain/zika-tutorial/@/config/zika_outgroup.gb
"""
}

Expand Down

0 comments on commit eb89ed0

Please sign in to comment.