Skip to content

Commit

Permalink
Merge pull request #116 from lsst/u/arunkannawadi/user_variable
Browse files Browse the repository at this point in the history
Update README to use USER env variable
  • Loading branch information
arunkannawadi authored Jul 31, 2024
2 parents de326e0 + 2816249 commit d15bc7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ If the run fails on a given task for the primary ``HSC/runs/ci_hsc`` run, you ca

.. code-block:: bash
pipetask run -b DATA -j 1 -i HSC/runs/ci_hsc -o u/USER/testing -p "${DRP_PIPE_DIR}/pipelines/HSC/DRP-ci_hsc.yaml#taskLabelToRerun" -d "skymap='discrete/ci_hsc' AND tract=0 AND patch=69"
pipetask run -b DATA -j 1 -i HSC/runs/ci_hsc -o u/$USER/testing -p "${DRP_PIPE_DIR}/pipelines/HSC/DRP-ci_hsc.yaml#taskLabelToRerun" -d "skymap='discrete/ci_hsc' AND tract=0 AND patch=69"
This will pick up the outputs from everything that had been run prior to the task that failed and rerun the task with the output going to a new collection called ``u/USER/testing``.
This will pick up the outputs from everything that had been run prior to the task that failed and rerun the task with the output going to a new collection called ``u/$USER/testing``.

After fixing any problems, the processing can be resumed with the following command (note the ``..`` at the end of the task label):

Expand All @@ -61,7 +61,7 @@ If the problem occurs in the faro pipeline run, the following call may be of use

.. code-block:: bash
pipetask run -b DATA -j 1 -i HSC/runs/ci_hsc_faro -o u/USER/testing -p "${FARO_DIR}/pipelines/metrics_pipeline.yaml#taskLabelToRerun" -d "skymap='discrete/ci_hsc' AND tract=0 AND patch=69"
pipetask run -b DATA -j 1 -i HSC/runs/ci_hsc_faro -o u/$USER/testing -p "${FARO_DIR}/pipelines/metrics_pipeline.yaml#taskLabelToRerun" -d "skymap='discrete/ci_hsc' AND tract=0 AND patch=69"
Cleaning up
-----------
Expand Down

0 comments on commit d15bc7a

Please sign in to comment.