Skip to content

Commit

Permalink
fix typo and schema for template_variables
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 21, 2023
1 parent 462859f commit 4cb7fb6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion daint.cscs.ch/mc/codes/QE-7.0-exe-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prepend_text: |
module load QuantumESPRESSO
append_text: ''
metadata:
templte_variables:
template_variables:
code_binary_name:
key_display: Code name
type: list
Expand Down
2 changes: 1 addition & 1 deletion daint.cscs.ch/mc/codes/QE-7.2-exe-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prepend_text: |
module load QuantumESPRESSO
append_text: ''
metadata:
templte_variables:
template_variables:
code_binary_name:
key_display: Code name
type: list
Expand Down
13 changes: 6 additions & 7 deletions gh_page/resource.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
"template_variables": {
"$ref": "#/definitions/template_variables"
}
}
},
"additionalProperties": false
}
},
"required": ["label", "hostname", "description", "transport", "scheduler", "work_dir", "shebang", "mpirun_command", "mpiprocs_per_machine", "prepend_text"],
Expand Down Expand Up @@ -151,7 +152,8 @@
"template_variables": {
"$ref": "#/definitions/template_variables"
}
}
},
"additionalProperties": false
}
},
"required": ["safe_interval", "username"],
Expand Down Expand Up @@ -185,14 +187,11 @@
"tooltip": {
"type": "string"
},
"ssh_auth": {
"type": "string",
"enum": ["password", "key", "2FA"]
},
"template_variables": {
"$ref": "#/definitions/template_variables"
}
}
},
"additionalProperties": false
}
},
"required": ["label", "description", "default_calc_job_plugin", "filepath_executable", "prepend_text", "append_text"],
Expand Down

0 comments on commit 4cb7fb6

Please sign in to comment.