Skip to content

Commit

Permalink
Laboratory init error message: Reorder config options
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-basevi committed Oct 14, 2024
1 parent 522d86a commit ba95e01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions payu/laboratory.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
The configured laboratory directory may not have write access. Edit/remove one
(or more) of the following config.yaml options that determine the laboratory
path:
- 'project': The project to use for payu PBS jobs. Default: ${PROJECT}
- 'shortpath' Top-level directory for laboratory
Default: /scratch/${PROJECT}
- 'laboratory': Top-level directory for the model laboratory
Default: /scratch/${PROJECT}/${USER}/${MODEL}
- 'shortpath' Top-level directory for laboratory.
Default: /scratch/${PROJECT}
- 'project': The project to use for payu PBS jobs. Default: ${PROJECT}
"""


Expand Down
2 changes: 1 addition & 1 deletion test/test_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def test_checkout_laboratory_path_error(mock_lab_initialise):

# Assert new commit has not been added
assert repo.active_branch.object.hexsha == current_commit

assert str(repo.active_branch) == "Branch1"
assert not (ctrldir / "metadata.yaml").exists()

Expand Down

0 comments on commit ba95e01

Please sign in to comment.