Skip to content

Commit

Permalink
Migrate to dynamic js (#9)
Browse files Browse the repository at this point in the history
* Having Trouble with dynamic js and node_type and num_cores

* Completed migration to Dynamic JS
  • Loading branch information
Gerald Byrket authored Dec 16, 2021
1 parent c67e0c0 commit 750f4de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 65 deletions.
61 changes: 0 additions & 61 deletions form.js

This file was deleted.

13 changes: 9 additions & 4 deletions form.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ attributes:
Number of cores on node type (4 GB per core unless requesting whole
node). Leave blank if requesting full node.
min: 0
max: 48
max: 28
step: 1
id: 'num_cores'
bc_num_slots: "1"
bc_vnc_resolution:
required: true
Expand All @@ -47,8 +46,14 @@ attributes:
available RAM as well as 48 cores. There are 16 of these nodes on
Owens. Requesting hugemem nodes allocates entire nodes.
options:
- "any"
- "hugemem"
- [
"any", "any",
data-max-num-cores: 28,
]
- [
"hugemem", "hugemem",
data-max-num-cores: 48,
]
version:
widget: select
label: "Stata version"
Expand Down

0 comments on commit 750f4de

Please sign in to comment.