Skip to content

Commit 6b1833b

Browse files
authored
Merge pull request #51 from Exabyte-io/chore/SOF-6430
chore/SOF-6430
2 parents 309eb88 + f88ab7b commit 6b1833b

16 files changed

+35
-35
lines changed

.yamllint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rules:
99
level: warning
1010
max-end: 1
1111
quoted-strings:
12-
quote-type: single
12+
quote-type: double
1313
required: false
1414
indentation:
1515
spaces: 2

assets/subworkflows/espresso/average_electrostatic_potential_find_minima.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ units:
2020
- config:
2121
name: Set Average ESP Value
2222
operand: AVG_ESP
23-
value: 'json.loads(STDOUT)["minima"]'
23+
value: "json.loads(STDOUT)['minima']"
2424
input:
2525
- name: STDOUT
2626
scope: python-find-extrema

assets/subworkflows/espresso/average_electrostatic_potential_via_band_structure.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ units:
3131
- config:
3232
name: Select indirect band gap
3333
operand: BAND_GAP_INDIRECT
34-
value: '[bandgap for bandgap in band_gaps["values"] if bandgap["type"] == "indirect"][0]'
34+
value: "[bandgap for bandgap in band_gaps['values'] if bandgap['type'] == 'indirect'][0]"
3535
input:
3636
- name: band_gaps
3737
scope: pw-bands-calculate-band-gap
3838
type: assignment
3939
- config:
4040
name: Set Valence Band Maximum
4141
operand: VBM
42-
value: 'BAND_GAP_INDIRECT["eigenvalueValence"]'
42+
value: "BAND_GAP_INDIRECT['eigenvalueValence']"
4343
type: assignment
4444
- config:
4545
execName: bands.x
@@ -60,7 +60,7 @@ units:
6060
- config:
6161
name: Set Macroscopically Averaged ESP Data
6262
operand: array_from_context
63-
value: 'average_potential_profile["yDataSeries"][1]'
63+
value: "average_potential_profile['yDataSeries'][1]"
6464
input:
6565
- name: average_potential_profile
6666
scope: average-electrostatic-potential

assets/subworkflows/espresso/band_gap_hse_dos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: HSE Band Gap
22
application:
33
name: espresso
4-
version: '6.3'
4+
version: "6.3"
55
model:
66
name: DFTModel
77
config:

assets/subworkflows/espresso/dielectric_tensor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
application:
22
name: espresso
3-
version: '6.3'
3+
version: "6.3"
44
method:
55
config:
66
data: {}

assets/subworkflows/espresso/gw_band_structure_band_gap_full_frequency.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
application:
22
name: espresso
3-
version: '6.3'
3+
version: "6.3"
44
method:
55
name: PseudopotentialMethod
66
setSearchText: .*dojo-oncv.*

assets/subworkflows/espresso/gw_band_structure_band_gap_plasmon_pole.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
application:
22
name: espresso
3-
version: '6.3'
3+
version: "6.3"
44
method:
55
name: PseudopotentialMethod
66
setSearchText: .*dojo-oncv.*

assets/subworkflows/espresso/kpoint_convergence.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: K-point Convergence
22
application:
33
name: espresso
4-
version: '6.3'
4+
version: "6.3"
55
method:
66
name: PseudopotentialMethod
77
model:
@@ -49,7 +49,7 @@ units:
4949
- config:
5050
name: check convergence
5151
flowchartId: check-convergence
52-
statement: 'abs((PREV_RESULT-RESULT)/RESULT) < TOL'
52+
statement: "abs((PREV_RESULT-RESULT)/RESULT) < TOL"
5353
maxOccurrences: 50
5454
then: convergence-is-reached
5555
else: update-result

assets/subworkflows/espresso/valence_band_offset_calc_from_previous_esp_vbm.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ units:
1414
- config:
1515
name: Difference of valence band maxima
1616
operand: VBM_DIFF
17-
value: 'VBM_LEFT - VBM_RIGHT'
17+
value: "VBM_LEFT - VBM_RIGHT"
1818
type: assignment
1919
- config:
2020
name: Difference of macroscopically averaged ESP in bulk
2121
operand: AVG_ESP_DIFF
22-
value: 'AVG_ESP_LEFT[0] - AVG_ESP_RIGHT[0]'
22+
value: "AVG_ESP_LEFT[0] - AVG_ESP_RIGHT[0]"
2323
type: assignment
2424
- config:
2525
name: Lineup of macroscopically averaged ESP in interface
2626
operand: ESP_LINEUP
27-
value: 'np.abs(AVG_ESP_INTERFACE[0] - AVG_ESP_INTERFACE[1])'
27+
value: "np.abs(AVG_ESP_INTERFACE[0] - AVG_ESP_INTERFACE[1])"
2828
type: assignment
2929
- config:
3030
name: Valence Band Offset
3131
operand: VALENCE_BAND_OFFSET
32-
value: 'abs(VBM_DIFF - AVG_ESP_DIFF + (np.sign(AVG_ESP_DIFF) * ESP_LINEUP))'
32+
value: "abs(VBM_DIFF - AVG_ESP_DIFF + (np.sign(AVG_ESP_DIFF) * ESP_LINEUP))"
3333
results:
3434
- name: valence_band_offset
3535
type: assignment

assets/subworkflows/exabyteml/train_head.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ units:
1313
operand: IS_WORKFLOW_RUNNING_TO_PREDICT
1414
tags:
1515
- pyml:workflow-type-setter
16-
value: 'False'
16+
value: "False"
1717
type: assignment
1818
- config:
1919
enableRender: true
2020
flowchartId: head-fetch-training-data
2121
input:
22-
- basename: '{{DATASET_BASENAME}}'
22+
- basename: "{{DATASET_BASENAME}}"
2323
objectData:
24-
CONTAINER: ''
25-
NAME: '{{DATASET_FILEPATH}}'
26-
PROVIDER: ''
27-
REGION: ''
24+
CONTAINER: ""
25+
NAME: "{{DATASET_FILEPATH}}"
26+
PROVIDER: ""
27+
REGION: ""
2828
name: Fetch Dataset
2929
source: object_storage
3030
type: io
@@ -42,12 +42,12 @@ units:
4242
enableRender: true
4343
flowchartId: head-fetch-trained-model
4444
input:
45-
- basename: ''
45+
- basename: ""
4646
objectData:
47-
CONTAINER: ''
48-
NAME: ''
49-
PROVIDER: ''
50-
REGION: ''
47+
CONTAINER: ""
48+
NAME: ""
49+
PROVIDER: ""
50+
REGION: ""
5151
name: Fetch Trained Model as file
5252
source: object_storage
5353
tags:
@@ -57,5 +57,5 @@ units:
5757
flowchartId: end-of-ml-train-head
5858
name: End Setup
5959
operand: IS_SETUP_COMPLETE
60-
value: 'True'
60+
value: "True"
6161
type: assignment

assets/subworkflows/exabyteml/train_kernel_ridge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ model:
1515
subtype: re
1616
type: ml
1717
name: Model
18-
name: 'ML: Kernel Ridge Regression Train Model'
18+
name: "ML: Kernel Ridge Regression Train Model"
1919
units:
2020
- config:
2121
flowchartId: io

assets/subworkflows/exabyteml/train_linear_least_squares.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ model:
1515
subtype: re
1616
type: ml
1717
name: Model
18-
name: 'ML: Linear Least Squares Train Model'
18+
name: "ML: Linear Least Squares Train Model"
1919
units:
2020
- config:
2121
flowchartId: io

assets/subworkflows/vasp/kpoint_convergence.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ units:
5252
- config:
5353
name: check convergence
5454
flowchartId: check-convergence
55-
statement: 'abs((PREV_RESULT-RESULT)/RESULT) < TOL'
55+
statement: "abs((PREV_RESULT-RESULT)/RESULT) < TOL"
5656
maxOccurrences: 50
5757
then: convergence-is-reached
5858
else: update-result

assets/workflows/espresso/valence_band_offset.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ units:
2929
config:
3030
attributes:
3131
name: Set Material Index (Interface)
32-
value: '0'
32+
value: "0"
3333
- name: average_electrostatic_potential_find_minima
3434
type: subworkflow
3535
config:
@@ -54,7 +54,7 @@ units:
5454
config:
5555
attributes:
5656
name: Set Material Index (Interface left)
57-
value: '1'
57+
value: "1"
5858
- index: 2
5959
type: executionBuilder
6060
config:
@@ -116,7 +116,7 @@ units:
116116
config:
117117
attributes:
118118
name: Set Material Index (Interface right)
119-
value: '2'
119+
value: "2"
120120
- index: 2
121121
type: executionBuilder
122122
config:
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'ML: Kernel Ridge Regression Train Model'
1+
name: "ML: Kernel Ridge Regression Train Model"
22
units:
33
- name: train_kernel_ridge
44
type: subworkflow
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'ML: Linear Least Squares Train Model'
1+
name: "ML: Linear Least Squares Train Model"
22
units:
33
- name: train_linear_least_squares
44
type: subworkflow

0 commit comments

Comments
 (0)