@mat3ra/wode 2025.11.6-0 → 2025.11.13-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{subworkflows → js/subworkflows}/create.js +2 -1
- package/package.json +17 -11
- package/src/{subworkflows → js/subworkflows}/create.js +6 -1
- /package/dist/{context → js/context}/context.js +0 -0
- /package/dist/{context → js/context}/mixins/ApplicationContextMixin.js +0 -0
- /package/dist/{context → js/context}/mixins/JobContextMixin.js +0 -0
- /package/dist/{context → js/context}/mixins/MaterialContextMixin.js +0 -0
- /package/dist/{context → js/context}/mixins/MaterialsContextMixin.js +0 -0
- /package/dist/{context → js/context}/mixins/MaterialsSetContextMixin.js +0 -0
- /package/dist/{context → js/context}/mixins/MethodDataContextMixin.js +0 -0
- /package/dist/{context → js/context}/mixins/WorkflowContextMixin.js +0 -0
- /package/dist/{context → js/context}/providers/BoundaryConditionsFormDataProvider.js +0 -0
- /package/dist/{context → js/context}/providers/CollinearMagnetizationContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/HubbardContextProviderLegacy.js +0 -0
- /package/dist/{context → js/context}/providers/HubbardJContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/HubbardUContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/HubbardVContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/IonDynamicsContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/MLSettingsContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/MLTrainTestSplitContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/NEBFormDataProvider.js +0 -0
- /package/dist/{context → js/context}/providers/NonCollinearMagnetizationContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/PlanewaveCutoffsContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/PointsGridFormDataProvider.js +0 -0
- /package/dist/{context → js/context}/providers/PointsPathFormDataProvider.js +0 -0
- /package/dist/{context → js/context}/providers/by_application/ExecutableContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/by_application/espresso/QENEBContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/by_application/espresso/QEPWXContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/by_application/nwchem/NWChemTotalEnergyContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/by_application/vasp/VASPContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/by_application/vasp/VASPNEBContextProvider.js +0 -0
- /package/dist/{context → js/context}/providers/settings.js +0 -0
- /package/dist/{context → js/context}/providers.js +0 -0
- /package/dist/{enums.js → js/enums.js} +0 -0
- /package/dist/{index.js → js/index.js} +0 -0
- /package/dist/{patch.js → js/patch.js} +0 -0
- /package/dist/{subworkflows → js/subworkflows}/convergence/factory.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/convergence/non_uniform_kgrid.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/convergence/parameter.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/convergence/uniform_kgrid.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/convergence.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/dynamic/espresso/getQpointIrrep.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/dynamic/index.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/dynamic/surfaceEnergy.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/index.js +0 -0
- /package/dist/{subworkflows → js/subworkflows}/subworkflow.js +0 -0
- /package/dist/{units → js/units}/assertion.js +0 -0
- /package/dist/{units → js/units}/assignment.js +0 -0
- /package/dist/{units → js/units}/base.js +0 -0
- /package/dist/{units → js/units}/builders/AssertionUnitConfigBuilder.js +0 -0
- /package/dist/{units → js/units}/builders/AssignmentUnitConfigBuilder.js +0 -0
- /package/dist/{units → js/units}/builders/ExecutionUnitConfigBuilder.js +0 -0
- /package/dist/{units → js/units}/builders/IOUnitConfigBuilder.js +0 -0
- /package/dist/{units → js/units}/builders/UnitConfigBuilder.js +0 -0
- /package/dist/{units → js/units}/builders/index.js +0 -0
- /package/dist/{units → js/units}/condition.js +0 -0
- /package/dist/{units → js/units}/execution.js +0 -0
- /package/dist/{units → js/units}/factory.js +0 -0
- /package/dist/{units → js/units}/index.js +0 -0
- /package/dist/{units → js/units}/io.js +0 -0
- /package/dist/{units → js/units}/map.js +0 -0
- /package/dist/{units → js/units}/processing.js +0 -0
- /package/dist/{units → js/units}/reduce.js +0 -0
- /package/dist/{units → js/units}/subworkflow.js +0 -0
- /package/dist/{utils.js → js/utils.js} +0 -0
- /package/dist/{workflows → js/workflows}/create.js +0 -0
- /package/dist/{workflows → js/workflows}/default.js +0 -0
- /package/dist/{workflows → js/workflows}/index.js +0 -0
- /package/dist/{workflows → js/workflows}/relaxation.js +0 -0
- /package/dist/{workflows → js/workflows}/workflow.js +0 -0
- /package/src/{context → js/context}/context.js +0 -0
- /package/src/{context → js/context}/mixins/ApplicationContextMixin.js +0 -0
- /package/src/{context → js/context}/mixins/JobContextMixin.js +0 -0
- /package/src/{context → js/context}/mixins/MaterialContextMixin.js +0 -0
- /package/src/{context → js/context}/mixins/MaterialsContextMixin.js +0 -0
- /package/src/{context → js/context}/mixins/MaterialsSetContextMixin.js +0 -0
- /package/src/{context → js/context}/mixins/MethodDataContextMixin.js +0 -0
- /package/src/{context → js/context}/mixins/WorkflowContextMixin.js +0 -0
- /package/src/{context → js/context}/providers/BoundaryConditionsFormDataProvider.js +0 -0
- /package/src/{context → js/context}/providers/CollinearMagnetizationContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/HubbardContextProviderLegacy.js +0 -0
- /package/src/{context → js/context}/providers/HubbardJContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/HubbardUContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/HubbardVContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/IonDynamicsContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/MLSettingsContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/MLTrainTestSplitContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/NEBFormDataProvider.js +0 -0
- /package/src/{context → js/context}/providers/NonCollinearMagnetizationContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/PlanewaveCutoffsContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/PointsGridFormDataProvider.js +0 -0
- /package/src/{context → js/context}/providers/PointsPathFormDataProvider.js +0 -0
- /package/src/{context → js/context}/providers/by_application/ExecutableContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/by_application/espresso/QENEBContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/by_application/espresso/QEPWXContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/by_application/nwchem/NWChemTotalEnergyContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/by_application/vasp/VASPContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/by_application/vasp/VASPNEBContextProvider.js +0 -0
- /package/src/{context → js/context}/providers/settings.js +0 -0
- /package/src/{context → js/context}/providers.js +0 -0
- /package/src/{enums.js → js/enums.js} +0 -0
- /package/src/{index.js → js/index.js} +0 -0
- /package/src/{patch.js → js/patch.js} +0 -0
- /package/src/{subworkflows → js/subworkflows}/convergence/factory.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/convergence/non_uniform_kgrid.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/convergence/parameter.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/convergence/uniform_kgrid.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/convergence.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/dynamic/espresso/getQpointIrrep.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/dynamic/index.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/dynamic/surfaceEnergy.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/index.js +0 -0
- /package/src/{subworkflows → js/subworkflows}/subworkflow.js +0 -0
- /package/src/{units → js/units}/assertion.js +0 -0
- /package/src/{units → js/units}/assignment.js +0 -0
- /package/src/{units → js/units}/base.js +0 -0
- /package/src/{units → js/units}/builders/AssertionUnitConfigBuilder.js +0 -0
- /package/src/{units → js/units}/builders/AssignmentUnitConfigBuilder.js +0 -0
- /package/src/{units → js/units}/builders/ExecutionUnitConfigBuilder.js +0 -0
- /package/src/{units → js/units}/builders/IOUnitConfigBuilder.js +0 -0
- /package/src/{units → js/units}/builders/UnitConfigBuilder.js +0 -0
- /package/src/{units → js/units}/builders/index.js +0 -0
- /package/src/{units → js/units}/condition.js +0 -0
- /package/src/{units → js/units}/execution.js +0 -0
- /package/src/{units → js/units}/factory.js +0 -0
- /package/src/{units → js/units}/index.js +0 -0
- /package/src/{units → js/units}/io.js +0 -0
- /package/src/{units → js/units}/map.js +0 -0
- /package/src/{units → js/units}/processing.js +0 -0
- /package/src/{units → js/units}/reduce.js +0 -0
- /package/src/{units → js/units}/subworkflow.js +0 -0
- /package/src/{utils.js → js/utils.js} +0 -0
- /package/src/{workflows → js/workflows}/create.js +0 -0
- /package/src/{workflows → js/workflows}/default.js +0 -0
- /package/src/{workflows → js/workflows}/index.js +0 -0
- /package/src/{workflows → js/workflows}/relaxation.js +0 -0
- /package/src/{workflows → js/workflows}/workflow.js +0 -0
|
@@ -66,9 +66,10 @@ function createMethod({
|
|
|
66
66
|
} = config;
|
|
67
67
|
const defaultConfig = _getConfigFromModelOrMethodName(name, "Method");
|
|
68
68
|
const defaultConfigForApp = new _standata.ApplicationMethodStandata().getDefaultMethodConfigForApplication(applicationConfig);
|
|
69
|
+
const defaultConfigForAppSimple = defaultConfigForApp && defaultConfigForApp.units ? _mode.MethodConversionHandler.convertToSimple(defaultConfigForApp) : defaultConfigForApp;
|
|
69
70
|
const method = methodFactoryCls.create({
|
|
70
71
|
...defaultConfig,
|
|
71
|
-
...
|
|
72
|
+
...defaultConfigForAppSimple,
|
|
72
73
|
...methodConfig
|
|
73
74
|
});
|
|
74
75
|
return {
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mat3ra/wode",
|
|
3
|
-
"version": "2025.11.
|
|
3
|
+
"version": "2025.11.13-0",
|
|
4
4
|
"description": "WOrkflow DEfinitions",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"test": "nyc --reporter=text mocha --recursive --bail --require @babel/register/lib --require tests/setup.js tests",
|
|
7
|
-
"lint": "eslint src tests && prettier --write src tests",
|
|
8
|
-
"lint:fix": "eslint --fix --cache src tests && prettier --write src tests",
|
|
9
|
-
"transpile": "babel --out-dir dist src",
|
|
6
|
+
"test": "nyc --reporter=text mocha --recursive --bail --require @babel/register/lib --require tests/js/setup.js tests/js",
|
|
7
|
+
"lint": "eslint src/js tests/js && prettier --write src/js tests/js",
|
|
8
|
+
"lint:fix": "eslint --fix --cache src/js tests/js && prettier --write src/js tests/js",
|
|
9
|
+
"transpile": "babel --out-dir dist/js src/js",
|
|
10
10
|
"postinstall": "npm run transpile",
|
|
11
|
-
"prettier": "prettier --check src tests",
|
|
11
|
+
"prettier": "prettier --check src/js tests/js",
|
|
12
12
|
"prepare": "husky install || exit 0"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "https://github.com/Exabyte-io/wode.git"
|
|
17
17
|
},
|
|
18
|
-
"main": "dist/index.js",
|
|
18
|
+
"main": "dist/js/index.js",
|
|
19
19
|
"files": [
|
|
20
20
|
"/assets",
|
|
21
21
|
"/dist",
|
|
22
|
-
"/src",
|
|
22
|
+
"/src/js",
|
|
23
23
|
".babelrc",
|
|
24
24
|
"build_workflows.js"
|
|
25
25
|
],
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@mat3ra/code": "2025.10.24-0",
|
|
57
57
|
"@mat3ra/esse": "2025.10.8-0",
|
|
58
58
|
"@mat3ra/made": "2025.7.15-0",
|
|
59
|
-
"@mat3ra/standata": "2025.11.
|
|
59
|
+
"@mat3ra/standata": "2025.11.12-0",
|
|
60
60
|
"chai": "^4.3.4",
|
|
61
61
|
"eslint": "7.32.0",
|
|
62
62
|
"eslint-config-airbnb": "19.0.2",
|
|
@@ -88,7 +88,13 @@
|
|
|
88
88
|
"node": ">=20.0.0"
|
|
89
89
|
},
|
|
90
90
|
"lint-staged": {
|
|
91
|
-
"
|
|
92
|
-
|
|
91
|
+
"src/js/**/*.js": [
|
|
92
|
+
"eslint --cache --fix",
|
|
93
|
+
"prettier --write"
|
|
94
|
+
],
|
|
95
|
+
"tests/js/**/*.js": [
|
|
96
|
+
"eslint --cache --fix",
|
|
97
|
+
"prettier --write"
|
|
98
|
+
]
|
|
93
99
|
}
|
|
94
100
|
}
|
|
@@ -2,6 +2,7 @@ import ApplicationRegistry from "@mat3ra/ade/dist/js/ApplicationRegistry";
|
|
|
2
2
|
import {
|
|
3
3
|
default_methods as MethodConfigs,
|
|
4
4
|
default_models as ModelConfigs,
|
|
5
|
+
MethodConversionHandler,
|
|
5
6
|
MethodFactory,
|
|
6
7
|
ModelFactory,
|
|
7
8
|
} from "@mat3ra/mode";
|
|
@@ -48,9 +49,13 @@ function createMethod({ config, methodFactoryCls, applicationConfig = {} }) {
|
|
|
48
49
|
const defaultConfig = _getConfigFromModelOrMethodName(name, "Method");
|
|
49
50
|
const defaultConfigForApp =
|
|
50
51
|
new ApplicationMethodStandata().getDefaultMethodConfigForApplication(applicationConfig);
|
|
52
|
+
const defaultConfigForAppSimple =
|
|
53
|
+
defaultConfigForApp && defaultConfigForApp.units
|
|
54
|
+
? MethodConversionHandler.convertToSimple(defaultConfigForApp)
|
|
55
|
+
: defaultConfigForApp;
|
|
51
56
|
const method = methodFactoryCls.create({
|
|
52
57
|
...defaultConfig,
|
|
53
|
-
...
|
|
58
|
+
...defaultConfigForAppSimple,
|
|
54
59
|
...methodConfig,
|
|
55
60
|
});
|
|
56
61
|
return { method, setSearchText };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{context → js/context}/providers/by_application/espresso/QENEBContextProvider.js
RENAMED
|
File without changes
|
/package/dist/{context → js/context}/providers/by_application/espresso/QEPWXContextProvider.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{context → js/context}/providers/by_application/vasp/VASPNEBContextProvider.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/{context → js/context}/providers/by_application/espresso/QENEBContextProvider.js
RENAMED
|
File without changes
|
/package/src/{context → js/context}/providers/by_application/espresso/QEPWXContextProvider.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|