Skip to content

Commit

Permalink
Adapt to UUID use for QuantumGraph nodeIds
Browse files Browse the repository at this point in the history
  • Loading branch information
natelust committed Nov 11, 2021
1 parent 480a61a commit 42f71c6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,21 @@ refresh_exe
# Run the init step
pipetask --long-log run -b "$tmp_butler" -i "$incoll" --output-run "$exerun" --init-only --register-dataset-types --qgraph "$graph_file" --extend-run

NODES=( $(pipetask qgraph -b "$tmp_butler" -g "$graph_file" --show-qgraph-header \
|jq -r 'first(.Nodes)[][0]') )

# Run the three quanta one at a time to ensure that we can start from a
# clean execution butler every time.
refresh_exe
node=0
node=${NODES[0]}
pipetask --long-log run -b "$tmp_butler" --output-run "$exerun" --qgraph "$graph_file" --qgraph-node-id "$node" --skip-init-writes --extend-run --clobber-outputs --skip-existing

refresh_exe
node=1
node=${NODES[1]}
pipetask --long-log run -b "$tmp_butler" --output-run "$exerun" --qgraph "$graph_file" --qgraph-node-id $node --skip-init-writes --extend-run --clobber-outputs --skip-existing

refresh_exe
node=2
node=${NODES[2]}
pipetask --long-log run -b "$tmp_butler" --output-run "$exerun" --qgraph "$graph_file" --qgraph-node-id $node --skip-init-writes --extend-run --clobber-outputs --skip-existing

# Bring home the datasets.
Expand Down

0 comments on commit 42f71c6

Please sign in to comment.