-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from i-VRESSE/configurable-ncores
Make ncores in workfow rewrite configurable
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Workflow rewrite | ||
|
||
You can submit a workflow to the webapp that can contain any parameter that haddock3 cli accepts. | ||
However we do not want a user to tell the webapp for example which run dir, queue to use, which cns executable, etc. | ||
The webapp should control most of the [global parameters](https://github.com/i-VRESSE/workflow-builder/blob/main/packages/haddock3_catalog/public/catalog/haddock3.guru.yaml) except molecules parameter and preprocess parameter. | ||
|
||
Currently the submitted workflow is rewritten at [app/models/applicaton.server.ts](app/models/applicaton.server.ts) to defaults fit for bartender job service. | ||
|
||
The following parameters can be rewritten with environment variables: | ||
|
||
- Number of CPU cores (ncores) with `HADDOCK3_NCORES` environment variable. If not set uses haddock3 default. |