nomad-parser-plugins-workflow 1.0__py3-none-any.whl

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.
Files changed (58) hide show
  1. nomad_parser_plugins_workflow-1.0.dist-info/LICENSE +202 -0
  2. nomad_parser_plugins_workflow-1.0.dist-info/METADATA +319 -0
  3. nomad_parser_plugins_workflow-1.0.dist-info/RECORD +58 -0
  4. nomad_parser_plugins_workflow-1.0.dist-info/WHEEL +5 -0
  5. nomad_parser_plugins_workflow-1.0.dist-info/entry_points.txt +11 -0
  6. nomad_parser_plugins_workflow-1.0.dist-info/top_level.txt +1 -0
  7. workflowparsers/__init__.py +314 -0
  8. workflowparsers/aflow/__init__.py +19 -0
  9. workflowparsers/aflow/__main__.py +31 -0
  10. workflowparsers/aflow/metainfo/__init__.py +19 -0
  11. workflowparsers/aflow/metainfo/aflow.py +1240 -0
  12. workflowparsers/aflow/parser.py +741 -0
  13. workflowparsers/asr/__init__.py +19 -0
  14. workflowparsers/asr/__main__.py +31 -0
  15. workflowparsers/asr/metainfo/__init__.py +19 -0
  16. workflowparsers/asr/metainfo/asr.py +306 -0
  17. workflowparsers/asr/parser.py +266 -0
  18. workflowparsers/atomate/__init__.py +19 -0
  19. workflowparsers/atomate/__main__.py +31 -0
  20. workflowparsers/atomate/metainfo/__init__.py +19 -0
  21. workflowparsers/atomate/metainfo/atomate.py +395 -0
  22. workflowparsers/atomate/parser.py +357 -0
  23. workflowparsers/elastic/__init__.py +19 -0
  24. workflowparsers/elastic/__main__.py +31 -0
  25. workflowparsers/elastic/metainfo/__init__.py +19 -0
  26. workflowparsers/elastic/metainfo/elastic.py +364 -0
  27. workflowparsers/elastic/parser.py +798 -0
  28. workflowparsers/fhivibes/__init__.py +19 -0
  29. workflowparsers/fhivibes/__main__.py +31 -0
  30. workflowparsers/fhivibes/metainfo/__init__.py +19 -0
  31. workflowparsers/fhivibes/metainfo/fhi_vibes.py +898 -0
  32. workflowparsers/fhivibes/parser.py +566 -0
  33. workflowparsers/lobster/__init__.py +19 -0
  34. workflowparsers/lobster/__main__.py +31 -0
  35. workflowparsers/lobster/metainfo/__init__.py +19 -0
  36. workflowparsers/lobster/metainfo/lobster.py +446 -0
  37. workflowparsers/lobster/parser.py +618 -0
  38. workflowparsers/phonopy/__init__.py +19 -0
  39. workflowparsers/phonopy/__main__.py +31 -0
  40. workflowparsers/phonopy/calculator.py +260 -0
  41. workflowparsers/phonopy/metainfo/__init__.py +19 -0
  42. workflowparsers/phonopy/metainfo/phonopy.py +83 -0
  43. workflowparsers/phonopy/parser.py +583 -0
  44. workflowparsers/quantum_espresso_epw/__init__.py +19 -0
  45. workflowparsers/quantum_espresso_epw/__main__.py +31 -0
  46. workflowparsers/quantum_espresso_epw/metainfo/__init__.py +19 -0
  47. workflowparsers/quantum_espresso_epw/metainfo/quantum_espresso_epw.py +579 -0
  48. workflowparsers/quantum_espresso_epw/parser.py +583 -0
  49. workflowparsers/quantum_espresso_phonon/__init__.py +19 -0
  50. workflowparsers/quantum_espresso_phonon/__main__.py +31 -0
  51. workflowparsers/quantum_espresso_phonon/metainfo/__init__.py +19 -0
  52. workflowparsers/quantum_espresso_phonon/metainfo/quantum_espresso_phonon.py +389 -0
  53. workflowparsers/quantum_espresso_phonon/parser.py +483 -0
  54. workflowparsers/quantum_espresso_xspectra/__init__.py +19 -0
  55. workflowparsers/quantum_espresso_xspectra/__main__.py +31 -0
  56. workflowparsers/quantum_espresso_xspectra/metainfo/__init__.py +19 -0
  57. workflowparsers/quantum_espresso_xspectra/metainfo/quantum_espresso_xspectra.py +290 -0
  58. workflowparsers/quantum_espresso_xspectra/parser.py +586 -0
@@ -0,0 +1,290 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD.
5
+ # See https://nomad-lab.eu for further info.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ import numpy as np # pylint: disable=unused-import
20
+
21
+ from nomad.metainfo import ( # pylint: disable=unused-import
22
+ MSection,
23
+ Package,
24
+ Quantity,
25
+ Section,
26
+ SubSection,
27
+ JSON,
28
+ )
29
+ import runschema.run # pylint: disable=unused-import
30
+ import runschema.calculation # pylint: disable=unused-import
31
+ import runschema.method # pylint: disable=unused-import
32
+ import runschema.system # pylint: disable=unused-import
33
+
34
+
35
+ m_package = Package()
36
+
37
+
38
+ class x_qe_xspectra_input(MSection):
39
+ m_def = Section(validate=False)
40
+
41
+ x_qe_xspectra_calculation = Quantity(
42
+ type=str,
43
+ description="""
44
+ """,
45
+ )
46
+
47
+ x_qe_xspectra_xepsilon = Quantity(
48
+ type=np.float64,
49
+ shape=[3],
50
+ description="""
51
+ """,
52
+ )
53
+
54
+ x_qe_xspectra_xonly_plot = Quantity(
55
+ type=bool,
56
+ description="""
57
+ """,
58
+ )
59
+
60
+ x_qe_xspectra_filecore = Quantity(
61
+ type=str,
62
+ description="""
63
+ """,
64
+ )
65
+
66
+ x_qe_xspectra_main_plot_parameters = Quantity(
67
+ type=JSON,
68
+ description="""
69
+ """,
70
+ )
71
+
72
+
73
+ class x_qe_xspectra_pwscf_wavefunction(MSection):
74
+ m_def = Section(validate=False)
75
+
76
+ x_qe_xspectra_file = Quantity(
77
+ type=str,
78
+ description="""
79
+ """,
80
+ )
81
+
82
+ x_qe_xspectra_wavefunctions = Quantity(
83
+ type=str,
84
+ description="""
85
+ """,
86
+ )
87
+
88
+
89
+ class x_qe_xspectra_n_parallel(MSection):
90
+ m_def = Section(validate=False)
91
+
92
+ x_qe_xspectra_n_parallel_min = Quantity(
93
+ type=np.float64,
94
+ shape=[3],
95
+ description="""
96
+ """,
97
+ )
98
+
99
+ x_qe_xspectra_n_parallel_max = Quantity(
100
+ type=np.float64,
101
+ shape=[3],
102
+ description="""
103
+ """,
104
+ )
105
+
106
+ x_qe_xspectra_n_parallel_sum = Quantity(
107
+ type=np.float64,
108
+ shape=[3],
109
+ description="""
110
+ """,
111
+ )
112
+
113
+
114
+ class Run(runschema.run.Run):
115
+ m_def = Section(validate=False, extends_base_section=True)
116
+
117
+ x_qe_xspectra_input = SubSection(sub_section=x_qe_xspectra_input.m_def)
118
+
119
+
120
+ class Method(runschema.method.Method):
121
+ m_def = Section(validate=False, extends_base_section=True)
122
+
123
+ x_qe_xspectra_save_directory = Quantity(
124
+ type=str,
125
+ description="""
126
+ """,
127
+ )
128
+ x_qe_xspectra_pwscf_wavefunction = SubSection(
129
+ sub_section=x_qe_xspectra_pwscf_wavefunction, repeats=True
130
+ )
131
+
132
+ x_qe_xspectra_n_parallel_sticks = SubSection(
133
+ sub_section=x_qe_xspectra_n_parallel.m_def
134
+ )
135
+
136
+ x_qe_xspectra_n_parallel_g_vectors = SubSection(
137
+ sub_section=x_qe_xspectra_n_parallel.m_def
138
+ )
139
+
140
+
141
+ class System(runschema.system.System):
142
+ m_def = Section(validate=False, extends_base_section=True)
143
+
144
+ x_qe_xspectra_bravais_lattice_index = Quantity(
145
+ type=np.int32,
146
+ shape=[],
147
+ description="""
148
+ """,
149
+ )
150
+
151
+ x_qe_xspectra_lattice_parameter = Quantity(
152
+ type=np.float64,
153
+ shape=[],
154
+ unit='m',
155
+ description="""
156
+ """,
157
+ )
158
+
159
+ x_qe_xspectra_unit_cell_volume = Quantity(
160
+ type=np.float64,
161
+ shape=[],
162
+ unit='m ** 3',
163
+ description="""
164
+ """,
165
+ )
166
+
167
+ x_qe_xspectra_n_atoms_cell = Quantity(
168
+ type=np.int32,
169
+ shape=[],
170
+ description="""
171
+ """,
172
+ )
173
+
174
+ x_qe_xspectra_n_atomic_sites = Quantity(
175
+ type=np.int32,
176
+ shape=[],
177
+ description="""
178
+ """,
179
+ )
180
+
181
+ x_qe_xspectra_point_group = Quantity(
182
+ type=str,
183
+ shape=[],
184
+ description="""
185
+ """,
186
+ )
187
+
188
+
189
+ class AtomParameters(runschema.method.AtomParameters):
190
+ m_def = Section(validate=False, extends_base_section=True)
191
+
192
+ x_qe_xspectra_file = Quantity(
193
+ type=str,
194
+ shape=[],
195
+ description="""
196
+ """,
197
+ )
198
+
199
+ x_qe_xspectra_md5_check_sum = Quantity(
200
+ type=str,
201
+ shape=[],
202
+ description="""
203
+ """,
204
+ )
205
+
206
+ x_qe_xspectra_type = Quantity(
207
+ type=str,
208
+ shape=[],
209
+ description="""
210
+ """,
211
+ )
212
+
213
+ x_qe_xspectra_n_radial_grid_points = Quantity(
214
+ type=np.int32,
215
+ shape=[],
216
+ description="""
217
+ """,
218
+ )
219
+
220
+ x_qe_xspectra_n_beta_functions = Quantity(
221
+ type=np.int32,
222
+ shape=[],
223
+ description="""
224
+ """,
225
+ )
226
+
227
+ x_qe_xspectra_l = Quantity(
228
+ type=np.int32,
229
+ shape=['x_qe_xspectra_n_beta_functions'],
230
+ description="""
231
+ """,
232
+ )
233
+
234
+ x_qe_xspectra_n_q_coefficients = Quantity(
235
+ type=np.int32,
236
+ shape=[],
237
+ description="""
238
+ """,
239
+ )
240
+
241
+ x_qe_xspectra_l = Quantity(
242
+ type=np.float64,
243
+ shape=['x_qe_xspectra_n_q_coefficients'],
244
+ description="""
245
+ """,
246
+ )
247
+
248
+
249
+ class Spectra(runschema.calculation.Spectra):
250
+ m_def = Section(validate=False, extends_base_section=True)
251
+
252
+ x_qe_xspectra_energy_zero = Quantity(
253
+ type=np.float64,
254
+ unit='eV',
255
+ description="""
256
+ """,
257
+ )
258
+
259
+ x_qe_xspectra_xemin = Quantity(
260
+ type=np.float64,
261
+ unit='eV',
262
+ description="""
263
+ """,
264
+ )
265
+
266
+ x_qe_xspectra_xemax = Quantity(
267
+ type=np.float64,
268
+ unit='eV',
269
+ description="""
270
+ """,
271
+ )
272
+
273
+ x_qe_xspectra_xnepoint = Quantity(
274
+ type=np.float64,
275
+ description="""
276
+ """,
277
+ )
278
+
279
+ x_qe_xspectra_broadening_parameter = Quantity(
280
+ type=np.float64,
281
+ description="""
282
+ """,
283
+ )
284
+
285
+ x_qe_xspectra_energy_core_level = Quantity(
286
+ type=np.float64,
287
+ unit='eV',
288
+ description="""
289
+ """,
290
+ )