Skip to content

Commit

Permalink
Add rule to copy geolocation rules example data during CI [#23]
Browse files Browse the repository at this point in the history
All add example geolocation rules data file.
  • Loading branch information
genehack committed Dec 2, 2024
1 parent 63f9e51 commit 5522f62
Show file tree
Hide file tree
Showing 2 changed files with 44,715 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ingest/build-configs/ci/copy_example_data.smk
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ rule copy_example_nextclade_data:
"""
# force this rule over Nextclade data fetch
ruleorder: copy_example_nextclade_data > get_nextclade_dataset


rule copy_example_geolocation_rules:
input:
general_geolocation_rules="example-data/general-geolocation-rules.tsv"
output:
general_geolocation_rules="data/general-geolocation-rules.tsv",
shell:
r"""
cp -f {input.general_geolocation_rules} {output.general_geolocation_rules}
"""
# force this rule over downloading geolocation rules
ruleorder: copy_example_geolocation_rules > fetch_general_geolocation_rules
Loading

0 comments on commit 5522f62

Please sign in to comment.