Skip to content

Commit

Permalink
Update catalog + use debug = false instead of less_io = true
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Sep 20, 2024
1 parent c07a888 commit 12dd308
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
10 changes: 5 additions & 5 deletions app/catalogs/haddock3.easy.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@
"then": {},
"else": {
"properties": {
"less_io": {
"debug": {
"default": false,
"title": "Reduce the amount of I/O operations.",
"description": "Reduce the amount of I/O operations.",
"$comment": "This option will reduce the amount of I/O operations by writing less files to disk. This can be useful for example when running on a network file system where I/O operations are slow.",
"title": "Write intermediate and stdout files.",
"description": "Write intermediate and stdout files.",
"$comment": "When set to true, this option will increase the amount of I/O operations by writing intermediate input, output and error files on disk. Turning it to false can be useful for example when running on a network file system where I/O operations are slow.",
"type": "boolean"
}
}
Expand Down Expand Up @@ -201,7 +201,7 @@
"offline": {
"ui:group": "execution"
},
"less_io": {
"debug": {
"ui:group": "execution"
}
},
Expand Down
10 changes: 5 additions & 5 deletions app/catalogs/haddock3.expert.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@
"then": {},
"else": {
"properties": {
"less_io": {
"debug": {
"default": false,
"title": "Reduce the amount of I/O operations.",
"description": "Reduce the amount of I/O operations.",
"$comment": "This option will reduce the amount of I/O operations by writing less files to disk. This can be useful for example when running on a network file system where I/O operations are slow.",
"title": "Write intermediate and stdout files.",
"description": "Write intermediate and stdout files.",
"$comment": "When set to true, this option will increase the amount of I/O operations by writing intermediate input, output and error files on disk. Turning it to false can be useful for example when running on a network file system where I/O operations are slow.",
"type": "boolean"
}
}
Expand Down Expand Up @@ -211,7 +211,7 @@
"offline": {
"ui:group": "execution"
},
"less_io": {
"debug": {
"ui:group": "execution"
}
},
Expand Down
10 changes: 5 additions & 5 deletions app/catalogs/haddock3.guru.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@
"then": {},
"else": {
"properties": {
"less_io": {
"debug": {
"default": false,
"title": "Reduce the amount of I/O operations.",
"description": "Reduce the amount of I/O operations.",
"$comment": "This option will reduce the amount of I/O operations by writing less files to disk. This can be useful for example when running on a network file system where I/O operations are slow.",
"title": "Write intermediate and stdout files.",
"description": "Write intermediate and stdout files.",
"$comment": "When set to true, this option will increase the amount of I/O operations by writing intermediate input, output and error files on disk. Turning it to false can be useful for example when running on a network file system where I/O operations are slow.",
"type": "boolean"
}
}
Expand Down Expand Up @@ -221,7 +221,7 @@
"offline": {
"ui:group": "execution"
},
"less_io": {
"debug": {
"ui:group": "execution"
}
},
Expand Down
2 changes: 1 addition & 1 deletion app/catalogs/index.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function hideExecutionParameters(catalog: ICatalog) {
"postprocess",
"clean",
"offline",
"less_io",
"debug",
];
const globalProps = catalog.global.schema.properties!;
for (const param of executionParameters) {
Expand Down
10 changes: 5 additions & 5 deletions app/models/application.server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ mode = 'local'
postprocess = true
clean = true
offline = false
less_io = true
debug = false
ncores = 1
`;
const output_config = await retrieveConfigFromArchive(result);
Expand All @@ -99,7 +99,7 @@ mode = 'local'
postprocess = true
clean = true
offline = false
less_io = true
debug = false
ncores = 1
`;
const output_config = await retrieveConfigFromArchive(result);
Expand Down Expand Up @@ -129,7 +129,7 @@ ncores = 1
postprocess = true
clean = true
offline = false
less_io = true
debug = false
`;
const output_config = await retrieveConfigFromArchive(result);
assert.equal(output_config, expected_config);
Expand All @@ -154,7 +154,7 @@ mode = 'local'
postprocess = true
clean = true
offline = false
less_io = true
debug = false
ncores = 1
[seletop]
Expand All @@ -181,7 +181,7 @@ mode = 'local'
postprocess = true
clean = true
offline = false
less_io = true
debug = false
ncores = 1
[clustfcc]
Expand Down
2 changes: 1 addition & 1 deletion app/models/applicaton.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function rewriteConfig(table: ReturnType<typeof parse>) {
table.postprocess = true;
table.clean = true;
table.offline = false;
table.less_io = true;
table.debug = false;

const haddock3_ncores = getNCores();
if (haddock3_ncores > 0) {
Expand Down

0 comments on commit 12dd308

Please sign in to comment.