Skip to content

Commit f885f1e

Browse files
author
ndaelman
committed
Remove annotations
1 parent 0e773dd commit f885f1e

File tree

6 files changed

+0
-58
lines changed

6 files changed

+0
-58
lines changed

src/nomad_simulations/schema_packages/atoms_state.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ class CoreHole(ArchiveSection):
308308
description="""
309309
Reference to the OrbitalsState section that is used as a basis to obtain the `CoreHole` section.
310310
""",
311-
# a_eln=ELNAnnotation(component='ReferenceEditQuantity'),
312311
)
313312

314313
n_excited_electrons = Quantity(
@@ -411,7 +410,6 @@ class HubbardInteractions(ArchiveSection):
411410
description="""
412411
Value of the (intraorbital) Hubbard interaction
413412
""",
414-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
415413
)
416414

417415
j_hunds_coupling = Quantity(
@@ -420,7 +418,6 @@ class HubbardInteractions(ArchiveSection):
420418
description="""
421419
Value of the (interorbital) Hund's coupling.
422420
""",
423-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
424421
)
425422

426423
u_interorbital_interaction = Quantity(
@@ -430,7 +427,6 @@ class HubbardInteractions(ArchiveSection):
430427
Value of the (interorbital) Coulomb interaction. In rotational invariant systems,
431428
u_interorbital_interaction = u_interaction - 2 * j_hunds_coupling.
432429
""",
433-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
434430
)
435431

436432
j_local_exchange_interaction = Quantity(
@@ -439,7 +435,6 @@ class HubbardInteractions(ArchiveSection):
439435
description="""
440436
Value of the exchange interaction. In rotational invariant systems, j_local_exchange_interaction = j_hunds_coupling.
441437
""",
442-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
443438
)
444439

445440
u_effective = Quantity(
@@ -474,7 +469,6 @@ class HubbardInteractions(ArchiveSection):
474469
description="""
475470
Name of the double counting correction algorithm applied.
476471
""",
477-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
478472
)
479473

480474
def resolve_u_interactions(self, logger: 'BoundLogger') -> Optional[tuple]:
@@ -586,7 +580,6 @@ class AtomsState(Entity):
586580
Note: for `CoreHole` systems we do not consider the charge of the atom even if
587581
we do not store the final `OrbitalsState` where the electron was excited to.
588582
""",
589-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
590583
)
591584

592585
core_hole = SubSection(sub_section=CoreHole.m_def, repeats=False)

src/nomad_simulations/schema_packages/basis_set.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class BasisSetComponent(ArchiveSection):
5757
description="""
5858
Reference to the section `AtomsState` specifying the localization of the basis set.
5959
""",
60-
# a_eln=ELNAnnotation(components='ReferenceEditQuantity'),
6160
)
6261

6362
# TODO: add atom index-based instantiator for species if not present
@@ -69,7 +68,6 @@ class BasisSetComponent(ArchiveSection):
6968
Reference to the section `BaseModelMethod` containing the information
7069
of the Hamiltonian term to which the basis set applies.
7170
""",
72-
# a_eln=ELNAnnotation(components='ReferenceEditQuantity'),
7371
)
7472

7573
# ? band_scope or orbital_scope: valence vs core

src/nomad_simulations/schema_packages/general.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,20 @@ class Program(Entity):
7070
description="""
7171
The name of the program.
7272
""",
73-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
7473
)
7574

7675
version = Quantity(
7776
type=str,
7877
description="""
7978
The version label of the program.
8079
""",
81-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
8280
)
8381

8482
link = Quantity(
8583
type=str,
8684
description="""
8785
Website link to the program in published information.
8886
""",
89-
# a_eln=ELNAnnotation(component='URLEditQuantity'),
9087
)
9188

9289
version_internal = Quantity(
@@ -95,7 +92,6 @@ class Program(Entity):
9592
Specifies a program version tag used internally for development purposes.
9693
Any kind of tagging system is supported, including git commit hashes.
9794
""",
98-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
9995
)
10096

10197
subroutine_name_internal = Quantity(
@@ -106,15 +102,13 @@ class Program(Entity):
106102
so the naming is representative. This naming is mostly meant for users
107103
who are familiar with the program's structure.
108104
""",
109-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
110105
)
111106

112107
compilation_host = Quantity(
113108
type=str,
114109
description="""
115110
Specifies the host on which the program was compiled.
116111
""",
117-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
118112
)
119113

120114

@@ -137,7 +131,6 @@ class BaseSimulation(Activity):
137131
description="""
138132
The date and time when this computation ended.
139133
""",
140-
# a_eln=ELNAnnotation(component='DateTimeEditQuantity'),
141134
)
142135

143136
cpu1_start = Quantity(
@@ -146,7 +139,6 @@ class BaseSimulation(Activity):
146139
description="""
147140
The starting time of the computation on the (first) CPU 1.
148141
""",
149-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
150142
)
151143

152144
cpu1_end = Quantity(
@@ -155,7 +147,6 @@ class BaseSimulation(Activity):
155147
description="""
156148
The end time of the computation on the (first) CPU 1.
157149
""",
158-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
159150
)
160151

161152
wall_start = Quantity(
@@ -164,7 +155,6 @@ class BaseSimulation(Activity):
164155
description="""
165156
The internal wall-clock time from the starting of the computation.
166157
""",
167-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
168158
)
169159

170160
wall_end = Quantity(
@@ -173,7 +163,6 @@ class BaseSimulation(Activity):
173163
description="""
174164
The internal wall-clock time from the end of the computation.
175165
""",
176-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
177166
)
178167

179168
program = SubSection(sub_section=Program.m_def, repeats=False)

src/nomad_simulations/schema_packages/model_method.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class BaseModelMethod(ArchiveSection):
4646
Name of the mathematical model. This is typically used to identify the model Hamiltonian used in the
4747
simulation. Typical standard names: 'DFT', 'TB', 'GW', 'BSE', 'DMFT', 'NMR', 'kMC'.
4848
""",
49-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
5049
)
5150

5251
type = Quantity(
@@ -56,15 +55,13 @@ class BaseModelMethod(ArchiveSection):
5655
model can be 'Wannier', 'DFTB', 'xTB' or 'Slater-Koster'. This quantity should be
5756
rewritten to a MEnum when inheriting from this class.
5857
""",
59-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
6058
)
6159

6260
external_reference = Quantity(
6361
type=URL,
6462
description="""
6563
External reference to the model e.g. DOI, URL.
6664
""",
67-
# a_eln=ELNAnnotation(component='URLEditQuantity'),
6865
)
6966

7067
numerical_settings = SubSection(sub_section=NumericalSettings.m_def, repeats=True)
@@ -112,7 +109,6 @@ class ModelMethodElectronic(ModelMethod):
112109
Describes the relativistic treatment used for the calculation of the final energy
113110
and related quantities. If `None`, no relativistic treatment is applied.
114111
""",
115-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
116112
)
117113

118114

@@ -127,7 +123,6 @@ class XCFunctional(ArchiveSection):
127123
Provides the name of one of the exchange or correlation (XC) functional following the libxc
128124
convention. For the code base containing the conventions, see https://gitlab.com/libxc/libxc.
129125
""", # TODO: step away from the libxc naming convention
130-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
131126
)
132127

133128
name = Quantity(
@@ -144,7 +139,6 @@ class XCFunctional(ArchiveSection):
144139
Weight of the functional. This quantity is relevant when defining linear combinations of the
145140
different functionals. If not specified, its value is 1.
146141
""",
147-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
148142
)
149143

150144
# ? add method to extract `name` from `libxc_name`
@@ -211,7 +205,6 @@ class DFT(ModelMethodElectronic):
211205
description="""
212206
Amount of exact exchange mixed in with the XC functional (value range = [0, 1]).
213207
""",
214-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
215208
)
216209

217210
# ! MEnum this
@@ -243,7 +236,6 @@ class DFT(ModelMethodElectronic):
243236
| `"SIC_MAURI_US"` | A (scaled) correction proposed by Mauri and co-
244237
workers on the spin density / doublet unpaired orbital |
245238
""",
246-
# a_eln=ELNAnnotation(component='StringEditQuantity'),
247239
)
248240

249241
van_der_waals_correction = Quantity(
@@ -260,7 +252,6 @@ class DFT(ModelMethodElectronic):
260252
| `"MDB"` | http://dx.doi.org/10.1103/PhysRevLett.108.236402 and http://dx.doi.org/10.1063/1.4865104 |
261253
| `"XC"` | The method to calculate the VdW energy uses a non-local functional |
262254
""",
263-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
264255
)
265256

266257
def __init__(self, m_def: 'Section' = None, m_context: 'Context' = None, **kwargs):
@@ -417,7 +408,6 @@ class TB(ModelMethodElectronic):
417408
| `'SlaterKoster'` | https://journals.aps.org/pr/abstract/10.1103/PhysRev.94.1498 |
418409
| `'unavailable'` | - |
419410
""",
420-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
421411
)
422412

423413
# ? these 4 quantities will change when `BasisSet` is defined
@@ -845,15 +835,13 @@ class ExcitedStateMethodology(ModelMethodElectronic):
845835
description="""
846836
Number of states used to calculate the excitations.
847837
""",
848-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
849838
)
850839

851840
n_empty_states = Quantity(
852841
type=np.int32,
853842
description="""
854843
Number of empty states used to calculate the excitations. This quantity is complementary to `n_states`.
855844
""",
856-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
857845
)
858846

859847
broadening = Quantity(
@@ -862,7 +850,6 @@ class ExcitedStateMethodology(ModelMethodElectronic):
862850
description="""
863851
Lifetime broadening applied to the spectra in full-width at half maximum for excited-state calculations.
864852
""",
865-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
866853
)
867854

868855

@@ -878,7 +865,6 @@ class Screening(ExcitedStateMethodology):
878865
Value of the static dielectric constant at infinite q. For metals, this is infinite
879866
(or a very large value), while for insulators is finite.
880867
""",
881-
# a_eln=ELNAnnotation(component='NumberEditQuantity'),
882868
)
883869

884870

@@ -912,7 +898,6 @@ class GW(ExcitedStateMethodology):
912898
| `'qp-scGW0'` | quasiparticle self-consistent G with fixed W0 | https://journals.aps.org/prb/abstract/10.1103/PhysRevB.76.115109 |
913899
| `'qp-scGW'` | quasiparticle self-consistent G and W | https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.96.226402 |
914900
""",
915-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
916901
)
917902

918903
analytical_continuation = Quantity(
@@ -938,7 +923,6 @@ class GW(ExcitedStateMethodology):
938923
| `'ppm_FaridEngel'` | Farid and Engel plasmon-pole model | https://journals.aps.org/prb/abstract/10.1103/PhysRevB.47.15931 |
939924
| `'multi_pole'` | Multi-pole fitting | https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.74.1827 |
940925
""",
941-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
942926
)
943927

944928
# TODO improve description
@@ -955,7 +939,6 @@ class GW(ExcitedStateMethodology):
955939
description="""
956940
Reference to the `Screening` section that the GW calculation used to obtain the screened Coulomb interactions.
957941
""",
958-
# a_eln=ELNAnnotation(component='ReferenceEditQuantity'),
959942
)
960943

961944

@@ -985,7 +968,6 @@ class BSE(ExcitedStateMethodology):
985968
| `'IP'` | Independent-particle approach |
986969
| `'RPA'` | Random Phase Approximation |
987970
""",
988-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
989971
)
990972

991973
solver = Quantity(
@@ -1001,15 +983,13 @@ class BSE(ExcitedStateMethodology):
1001983
| `'SLEPc'` | Scalable Library for Eigenvalue Problem Computations | https://slepc.upv.es/ |
1002984
| `'TDA'` | Tamm-Dancoff approximation | https://doi.org/10.1016/S0009-2614(99)01149-5 |
1003985
""",
1004-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
1005986
)
1006987

1007988
screening_ref = Quantity(
1008989
type=Screening,
1009990
description="""
1010991
Reference to the `Screening` section that the BSE calculation used to obtain the screened Coulomb interactions.
1011992
""",
1012-
# a_eln=ELNAnnotation(component='ReferenceEditQuantity'),
1013993
)
1014994

1015995

@@ -1036,7 +1016,6 @@ class CoreHoleSpectra(ModelMethodElectronic):
10361016
description="""
10371017
Type of the CoreHole excitation spectra calculated, either "absorption" or "emission".
10381018
""",
1039-
# a_eln=ELNAnnotation(component='EnumEditQuantity'),
10401019
)
10411020

10421021
edge = Quantity(
@@ -1071,15 +1050,13 @@ class CoreHoleSpectra(ModelMethodElectronic):
10711050
description="""
10721051
Reference to the `CoreHole` section that contains the information of the edge of the excited core-hole.
10731052
""",
1074-
# a_eln=ELNAnnotation(component='ReferenceEditQuantity'),
10751053
)
10761054

10771055
excited_state_method_ref = Quantity(
10781056
type=ModelMethodElectronic,
10791057
description="""
10801058
Reference to the `ModelMethodElectronic` section (e.g., `DFT` or `BSE`) that was used to obtain the core-hole spectra.
10811059
""",
1082-
# a_eln=ELNAnnotation(component='ReferenceEditQuantity'),
10831060
)
10841061

10851062
# TODO add normalization to obtain `edge`

0 commit comments

Comments
 (0)