Skip to content

Commit

Permalink
tag.json deprecated, long live pathogen.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Sep 19, 2024
1 parent bd7c76d commit 0fd6c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipes/WDL/tasks/tasks_nextstrain.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ task nextclade_one_sample {
DATASET_ARG="--input-dataset ."
python3<<CODE1
import json, os
with open('tag.json', 'rt') as inf:
with open('pathogen.json', 'rt') as inf:
datasetinfo = json.load(inf)
with open('VERSION', 'wt') as outf:
outf.write(os.environ['NEXTCLADE_VERSION'] + "; name=" + datasetinfo['name'] + "; tag=" + datasetinfo['tag'] + "\n")
outf.write(os.environ['NEXTCLADE_VERSION'] + "; name=" + datasetinfo['attributes']['name'] + "; tag=" + datasetinfo['version']['tag'] + "\n")
CODE1
fi
Expand Down

0 comments on commit 0fd6c3b

Please sign in to comment.