Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo and missing quote on jobfile documentation #772

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/jobs/jobfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ stream = "path/to/stream/dir" # Stdout/Stderr streaming (see --stream)
max_fails = 11

[[task]]
stdout = "testout-%{TASK_ID}
stdout = "testout-%{TASK_ID}"
stderr = { path = "testerr-%{TASK_ID}", mode = "rm-if-finished" }
task_dir = true
time_limit = "1m 10s"
Expand Down Expand Up @@ -142,7 +142,7 @@ command = [...]
[[task]]
id = 5
command = [...]
deps = [1, 3] # <---- Dependancy on tasks 1 and 3
deps = [1, 3] # <---- Dependency on tasks 1 and 3
```

## Resource variants
Expand Down Expand Up @@ -177,4 +177,4 @@ to an index of chosen variant (counted from 0) when a task is started.
You may specify a resource number as float, e.g. `resources = { "foo" = 1.5 }`.
It is valid but internally the type if converted to float, that may for some numbers lead to
a rounding up when number is converted to 4-digit precision of resource amounts.
If you want to avoid this, put the number into parentheses, e.g. `resources = { "foo" = "1.5" }`.
If you want to avoid this, put the number into parentheses, e.g. `resources = { "foo" = "1.5" }`.
Loading