chemicalml 0.1.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.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rubocop.yml +20 -0
- data/CHANGELOG.md +21 -0
- data/CLAUDE.md +198 -0
- data/Gemfile +14 -0
- data/LICENSE +24 -0
- data/NOTICES.adoc +115 -0
- data/README.adoc +87 -0
- data/Rakefile +8 -0
- data/TODO.align/01-cml-base-mixins.md +122 -0
- data/TODO.align/02-real-schema-hierarchies.md +88 -0
- data/TODO.align/03-configuration.md +50 -0
- data/TODO.align/04-parse-entry-points.md +59 -0
- data/TODO.align/05-schema-aware-translator.md +33 -0
- data/TODO.align/06-no-respond-to.md +44 -0
- data/TODO.align/07-canon-xml-comparison.md +43 -0
- data/TODO.align/08-expand-fixtures.md +37 -0
- data/TODO.align/09-final-spec-lint.md +29 -0
- data/TODO.align/10-role-marker-modules.md +54 -0
- data/TODO.align/11-dry-configuration.md +63 -0
- data/TODO.align/12-wire-class-macro.md +51 -0
- data/TODO.align/13-wire-namespace.md +44 -0
- data/TODO.align/14-schema24-correctness.md +37 -0
- data/TODO.align/15-canon-fixture-roundtrip.md +38 -0
- data/TODO.align/16-schema24-convention-coverage.md +33 -0
- data/TODO.align/17-final-spec-lint.md +28 -0
- data/TODO.align/README.md +27 -0
- data/TODO.align/README.round2.md +24 -0
- data/TODO.cml-full/01-reference-docs.md +43 -0
- data/TODO.cml-full/02-schema-versioned-model.md +70 -0
- data/TODO.cml-full/03-fixtures-scrape.md +52 -0
- data/TODO.cml-full/04-convention-framework.md +69 -0
- data/TODO.cml-full/05-dictionary-layer.md +77 -0
- data/TODO.cml-full/06-extend-canonical-translator.md +60 -0
- data/TODO.cml-full/07-attribution-notices.md +42 -0
- data/TODO.cml-full/08-autoload-only.md +48 -0
- data/TODO.cml-full/09-spec-coverage.md +38 -0
- data/TODO.cml-full/README.md +23 -0
- data/chemicalml.gemspec +35 -0
- data/data/dictionaries/_index.yaml +14 -0
- data/data/dictionaries/compchem.yaml +481 -0
- data/data/dictionaries/unit_non_si.yaml +53 -0
- data/data/dictionaries/unit_si.yaml +87 -0
- data/data/dictionaries/unit_type.yaml +113 -0
- data/lib/chemicalml/cml/array.rb +10 -0
- data/lib/chemicalml/cml/atom.rb +10 -0
- data/lib/chemicalml/cml/atom_array.rb +10 -0
- data/lib/chemicalml/cml/atom_parity.rb +10 -0
- data/lib/chemicalml/cml/base/array.rb +36 -0
- data/lib/chemicalml/cml/base/atom.rb +38 -0
- data/lib/chemicalml/cml/base/atom_array.rb +22 -0
- data/lib/chemicalml/cml/base/atom_parity.rb +24 -0
- data/lib/chemicalml/cml/base/bond.rb +28 -0
- data/lib/chemicalml/cml/base/bond_array.rb +22 -0
- data/lib/chemicalml/cml/base/bond_stereo.rb +28 -0
- data/lib/chemicalml/cml/base/cml_module.rb +40 -0
- data/lib/chemicalml/cml/base/dictionary.rb +32 -0
- data/lib/chemicalml/cml/base/dictionary_entry.rb +34 -0
- data/lib/chemicalml/cml/base/document.rb +26 -0
- data/lib/chemicalml/cml/base/formula.rb +38 -0
- data/lib/chemicalml/cml/base/identifier.rb +26 -0
- data/lib/chemicalml/cml/base/label.rb +28 -0
- data/lib/chemicalml/cml/base/list.rb +36 -0
- data/lib/chemicalml/cml/base/matrix.rb +38 -0
- data/lib/chemicalml/cml/base/metadata.rb +30 -0
- data/lib/chemicalml/cml/base/metadata_list.rb +28 -0
- data/lib/chemicalml/cml/base/molecule.rb +40 -0
- data/lib/chemicalml/cml/base/name.rb +26 -0
- data/lib/chemicalml/cml/base/parameter.rb +34 -0
- data/lib/chemicalml/cml/base/parameter_list.rb +28 -0
- data/lib/chemicalml/cml/base/product.rb +22 -0
- data/lib/chemicalml/cml/base/product_list.rb +22 -0
- data/lib/chemicalml/cml/base/property.rb +34 -0
- data/lib/chemicalml/cml/base/property_list.rb +28 -0
- data/lib/chemicalml/cml/base/reactant.rb +22 -0
- data/lib/chemicalml/cml/base/reactant_list.rb +22 -0
- data/lib/chemicalml/cml/base/reaction.rb +32 -0
- data/lib/chemicalml/cml/base/reaction_list.rb +22 -0
- data/lib/chemicalml/cml/base/scalar.rb +32 -0
- data/lib/chemicalml/cml/base/substance.rb +30 -0
- data/lib/chemicalml/cml/base/unit.rb +38 -0
- data/lib/chemicalml/cml/base/unit_list.rb +30 -0
- data/lib/chemicalml/cml/base/unit_type.rb +28 -0
- data/lib/chemicalml/cml/base/unit_type_list.rb +30 -0
- data/lib/chemicalml/cml/base.rb +51 -0
- data/lib/chemicalml/cml/bond.rb +10 -0
- data/lib/chemicalml/cml/bond_array.rb +10 -0
- data/lib/chemicalml/cml/bond_stereo.rb +10 -0
- data/lib/chemicalml/cml/cml_module.rb +10 -0
- data/lib/chemicalml/cml/dictionary.rb +10 -0
- data/lib/chemicalml/cml/dictionary_entry.rb +10 -0
- data/lib/chemicalml/cml/document.rb +10 -0
- data/lib/chemicalml/cml/elements.rb +58 -0
- data/lib/chemicalml/cml/formula.rb +10 -0
- data/lib/chemicalml/cml/identifier.rb +10 -0
- data/lib/chemicalml/cml/label.rb +10 -0
- data/lib/chemicalml/cml/list.rb +10 -0
- data/lib/chemicalml/cml/matrix.rb +10 -0
- data/lib/chemicalml/cml/metadata.rb +10 -0
- data/lib/chemicalml/cml/metadata_list.rb +10 -0
- data/lib/chemicalml/cml/molecule.rb +10 -0
- data/lib/chemicalml/cml/name.rb +10 -0
- data/lib/chemicalml/cml/namespace.rb +17 -0
- data/lib/chemicalml/cml/parameter.rb +10 -0
- data/lib/chemicalml/cml/parameter_list.rb +10 -0
- data/lib/chemicalml/cml/product.rb +10 -0
- data/lib/chemicalml/cml/product_list.rb +10 -0
- data/lib/chemicalml/cml/property.rb +10 -0
- data/lib/chemicalml/cml/property_list.rb +10 -0
- data/lib/chemicalml/cml/reactant.rb +10 -0
- data/lib/chemicalml/cml/reactant_list.rb +10 -0
- data/lib/chemicalml/cml/reaction.rb +10 -0
- data/lib/chemicalml/cml/reaction_list.rb +10 -0
- data/lib/chemicalml/cml/role/array.rb +13 -0
- data/lib/chemicalml/cml/role/atom.rb +13 -0
- data/lib/chemicalml/cml/role/atom_array.rb +13 -0
- data/lib/chemicalml/cml/role/atom_parity.rb +13 -0
- data/lib/chemicalml/cml/role/bond.rb +13 -0
- data/lib/chemicalml/cml/role/bond_array.rb +13 -0
- data/lib/chemicalml/cml/role/bond_stereo.rb +13 -0
- data/lib/chemicalml/cml/role/cml_module.rb +14 -0
- data/lib/chemicalml/cml/role/dictionary.rb +13 -0
- data/lib/chemicalml/cml/role/dictionary_entry.rb +13 -0
- data/lib/chemicalml/cml/role/document.rb +13 -0
- data/lib/chemicalml/cml/role/formula.rb +13 -0
- data/lib/chemicalml/cml/role/identifier.rb +13 -0
- data/lib/chemicalml/cml/role/label.rb +13 -0
- data/lib/chemicalml/cml/role/list.rb +13 -0
- data/lib/chemicalml/cml/role/matrix.rb +13 -0
- data/lib/chemicalml/cml/role/metadata.rb +13 -0
- data/lib/chemicalml/cml/role/metadata_list.rb +13 -0
- data/lib/chemicalml/cml/role/molecule.rb +13 -0
- data/lib/chemicalml/cml/role/name.rb +13 -0
- data/lib/chemicalml/cml/role/parameter.rb +13 -0
- data/lib/chemicalml/cml/role/parameter_list.rb +13 -0
- data/lib/chemicalml/cml/role/product.rb +13 -0
- data/lib/chemicalml/cml/role/product_list.rb +13 -0
- data/lib/chemicalml/cml/role/property.rb +13 -0
- data/lib/chemicalml/cml/role/property_list.rb +13 -0
- data/lib/chemicalml/cml/role/reactant.rb +13 -0
- data/lib/chemicalml/cml/role/reactant_list.rb +13 -0
- data/lib/chemicalml/cml/role/reaction.rb +13 -0
- data/lib/chemicalml/cml/role/reaction_list.rb +13 -0
- data/lib/chemicalml/cml/role/scalar.rb +13 -0
- data/lib/chemicalml/cml/role/substance.rb +13 -0
- data/lib/chemicalml/cml/role/unit.rb +13 -0
- data/lib/chemicalml/cml/role/unit_list.rb +13 -0
- data/lib/chemicalml/cml/role/unit_type.rb +13 -0
- data/lib/chemicalml/cml/role/unit_type_list.rb +13 -0
- data/lib/chemicalml/cml/role.rb +54 -0
- data/lib/chemicalml/cml/scalar.rb +10 -0
- data/lib/chemicalml/cml/schema24/configuration.rb +19 -0
- data/lib/chemicalml/cml/schema24.rb +40 -0
- data/lib/chemicalml/cml/schema3/configuration.rb +17 -0
- data/lib/chemicalml/cml/schema3.rb +40 -0
- data/lib/chemicalml/cml/substance.rb +10 -0
- data/lib/chemicalml/cml/translator/value_translations.rb +265 -0
- data/lib/chemicalml/cml/translator.rb +233 -0
- data/lib/chemicalml/cml/unit.rb +10 -0
- data/lib/chemicalml/cml/unit_list.rb +10 -0
- data/lib/chemicalml/cml/unit_type.rb +10 -0
- data/lib/chemicalml/cml/unit_type_list.rb +10 -0
- data/lib/chemicalml/cml/visitable.rb +65 -0
- data/lib/chemicalml/cml/wire_class_macro.rb +45 -0
- data/lib/chemicalml/cml.rb +55 -0
- data/lib/chemicalml/context_configuration.rb +127 -0
- data/lib/chemicalml/convention/base.rb +48 -0
- data/lib/chemicalml/convention/compchem/constraints/compchem_module_must_contain_job_list.rb +33 -0
- data/lib/chemicalml/convention/compchem/constraints/job_must_contain_initialization.rb +38 -0
- data/lib/chemicalml/convention/compchem/constraints.rb +14 -0
- data/lib/chemicalml/convention/compchem.rb +28 -0
- data/lib/chemicalml/convention/constraint.rb +79 -0
- data/lib/chemicalml/convention/dictionary/constraints/entry_ids_unique_within_dictionary.rb +33 -0
- data/lib/chemicalml/convention/dictionary/constraints/entry_must_have_id_and_term.rb +34 -0
- data/lib/chemicalml/convention/dictionary/constraints.rb +14 -0
- data/lib/chemicalml/convention/dictionary.rb +28 -0
- data/lib/chemicalml/convention/molecular/constraints/atom_array_must_contain_atoms.rb +30 -0
- data/lib/chemicalml/convention/molecular/constraints/atom_ids_unique_within_molecule.rb +42 -0
- data/lib/chemicalml/convention/molecular/constraints/bond_must_reference_atoms_in_same_molecule.rb +54 -0
- data/lib/chemicalml/convention/molecular/constraints.rb +19 -0
- data/lib/chemicalml/convention/molecular.rb +29 -0
- data/lib/chemicalml/convention/registry.rb +50 -0
- data/lib/chemicalml/convention/unit_dictionary/constraints/unit_must_have_symbol_and_unit_type.rb +46 -0
- data/lib/chemicalml/convention/unit_dictionary/constraints.rb +12 -0
- data/lib/chemicalml/convention/unit_dictionary.rb +27 -0
- data/lib/chemicalml/convention/unit_type_dictionary/constraints/unit_type_must_have_id_and_name.rb +34 -0
- data/lib/chemicalml/convention/unit_type_dictionary/constraints.rb +12 -0
- data/lib/chemicalml/convention/unit_type_dictionary.rb +27 -0
- data/lib/chemicalml/convention/violation.rb +36 -0
- data/lib/chemicalml/convention.rb +39 -0
- data/lib/chemicalml/dictionary/entry.rb +59 -0
- data/lib/chemicalml/dictionary/enum.rb +51 -0
- data/lib/chemicalml/dictionary/link.rb +32 -0
- data/lib/chemicalml/dictionary/loader.rb +60 -0
- data/lib/chemicalml/dictionary/model.rb +64 -0
- data/lib/chemicalml/dictionary/registry.rb +75 -0
- data/lib/chemicalml/dictionary.rb +26 -0
- data/lib/chemicalml/errors.rb +7 -0
- data/lib/chemicalml/model/atom.rb +40 -0
- data/lib/chemicalml/model/bond.rb +33 -0
- data/lib/chemicalml/model/cml_array.rb +27 -0
- data/lib/chemicalml/model/cml_module.rb +45 -0
- data/lib/chemicalml/model/document.rb +29 -0
- data/lib/chemicalml/model/formula.rb +34 -0
- data/lib/chemicalml/model/identifier.rb +21 -0
- data/lib/chemicalml/model/label.rb +21 -0
- data/lib/chemicalml/model/matrix.rb +29 -0
- data/lib/chemicalml/model/metadata.rb +23 -0
- data/lib/chemicalml/model/metadata_list.rb +25 -0
- data/lib/chemicalml/model/molecule.rb +38 -0
- data/lib/chemicalml/model/name.rb +21 -0
- data/lib/chemicalml/model/node.rb +45 -0
- data/lib/chemicalml/model/parameter.rb +27 -0
- data/lib/chemicalml/model/parameter_list.rb +25 -0
- data/lib/chemicalml/model/product.rb +21 -0
- data/lib/chemicalml/model/product_list.rb +21 -0
- data/lib/chemicalml/model/property.rb +28 -0
- data/lib/chemicalml/model/property_list.rb +25 -0
- data/lib/chemicalml/model/reactant.rb +21 -0
- data/lib/chemicalml/model/reactant_list.rb +21 -0
- data/lib/chemicalml/model/reaction.rb +41 -0
- data/lib/chemicalml/model/reaction_list.rb +23 -0
- data/lib/chemicalml/model/scalar.rb +25 -0
- data/lib/chemicalml/model/substance.rb +25 -0
- data/lib/chemicalml/model.rb +38 -0
- data/lib/chemicalml/schema/definition.rb +41 -0
- data/lib/chemicalml/schema/registry.rb +30 -0
- data/lib/chemicalml/schema.rb +35 -0
- data/lib/chemicalml/version.rb +5 -0
- data/lib/chemicalml/versioned_parser.rb +43 -0
- data/lib/chemicalml.rb +47 -0
- data/lib/tasks/reference_fetch.rake +105 -0
- data/lib/tasks/scrape_fixtures.rake +133 -0
- data/reference-docs/conventions/compchem.md +141 -0
- data/reference-docs/conventions/dictionary.md +119 -0
- data/reference-docs/conventions/index.md +56 -0
- data/reference-docs/conventions/molecular.md +115 -0
- data/reference-docs/conventions/unit-dictionary.md +92 -0
- data/reference-docs/conventions/unitType-dictionary.md +51 -0
- data/reference-docs/dictionaries/compchem.md +335 -0
- data/reference-docs/dictionaries/index.md +52 -0
- data/reference-docs/examples/schema24-index.md +50 -0
- data/reference-docs/examples/schema3-compchem-index.md +14 -0
- data/reference-docs/examples/schema3-molecular-index.md +28 -0
- data/reference-docs/schemas/schema24/schema.xsd +10624 -0
- data/reference-docs/schemas/schema3/schema.xsd +11459 -0
- metadata +306 -0
data/chemicalml.gemspec
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "lib/chemicalml/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "chemicalml"
|
|
7
|
+
spec.version = Chemicalml::VERSION
|
|
8
|
+
spec.authors = ["Ribose Inc."]
|
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
|
10
|
+
|
|
11
|
+
spec.summary = "ChemML — Chemical Markup Language (CML) for Ruby."
|
|
12
|
+
spec.description = "ChemML provides a lutaml-model-based Ruby object model for the " \
|
|
13
|
+
"Chemical Markup Language (CML). Parse, manipulate, and serialize " \
|
|
14
|
+
"CML XML with full round-trip fidelity. Designed as a sibling model " \
|
|
15
|
+
"to other chemistry model layers (e.g. AsciiChem)."
|
|
16
|
+
spec.homepage = "https://github.com/lutaml/chemicalml"
|
|
17
|
+
spec.license = "BSD-2-Clause"
|
|
18
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0")
|
|
19
|
+
|
|
20
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
21
|
+
spec.metadata["source_code_uri"] = "https://github.com/lutaml/chemicalml"
|
|
22
|
+
spec.metadata["changelog_uri"] = "https://github.com/lutaml/chemicalml/blob/main/CHANGELOG.md"
|
|
23
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
24
|
+
|
|
25
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
26
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
spec.bindir = "exe"
|
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
32
|
+
spec.require_paths = ["lib"]
|
|
33
|
+
|
|
34
|
+
spec.add_dependency "lutaml-model", "~> 0.8.0"
|
|
35
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Index of built-in CML dictionaries shipped with ChemicalML.
|
|
2
|
+
#
|
|
3
|
+
# Each entry maps the dictionary short name (used as the YAML
|
|
4
|
+
# filename stem under data/dictionaries/) to its wire prefix.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
compchem:
|
|
8
|
+
prefix: compchem
|
|
9
|
+
unit_type:
|
|
10
|
+
prefix: unitType
|
|
11
|
+
unit_si:
|
|
12
|
+
prefix: si
|
|
13
|
+
unit_non_si:
|
|
14
|
+
prefix: nonsi
|
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
# CompChem Dictionary — canonical CML concepts used by the CompChem convention.
|
|
2
|
+
#
|
|
3
|
+
# Source: http://www.xml-cml.org/dictionary/compchem/
|
|
4
|
+
# Authors: Peter Murray-Rust, Weerapong Phadungsukanan, Jens Thomas
|
|
5
|
+
# License: CC-BY-3.0 (http://creativecommons.org/licenses/by/3.0/)
|
|
6
|
+
#
|
|
7
|
+
# Each entry below mirrors the upstream <entry> elements. Descriptions
|
|
8
|
+
# are paraphrased for length; the upstream XML remains authoritative.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
namespace: http://www.xml-cml.org/dictionary/compchem/
|
|
12
|
+
prefix: compchem
|
|
13
|
+
title: Computational Chemistry Core Concepts
|
|
14
|
+
description: |
|
|
15
|
+
Toplevel dictionary for computational chemistry. Concepts in this
|
|
16
|
+
dictionary are general throughout computational chemistry and are
|
|
17
|
+
used extensively in the CompChem convention to describe the
|
|
18
|
+
structure of computational chemistry.
|
|
19
|
+
|
|
20
|
+
entries:
|
|
21
|
+
- id: jobList
|
|
22
|
+
term: Job List
|
|
23
|
+
definition: A list of sequential computational jobs.
|
|
24
|
+
description: |
|
|
25
|
+
A quantum chemistry calculation is often comprised of a series of
|
|
26
|
+
subtasks (e.g. coarse optimisation -> fine optimisation -> NMR
|
|
27
|
+
spectrum analysis). The jobList concept captures these successive
|
|
28
|
+
subtasks and links the information from one subtask to the next.
|
|
29
|
+
data_type: xsd:string
|
|
30
|
+
unit_type: unitType:none
|
|
31
|
+
units: unit:none
|
|
32
|
+
|
|
33
|
+
- id: job
|
|
34
|
+
term: Job
|
|
35
|
+
definition: A computational job performed by quantum chemistry software.
|
|
36
|
+
description: |
|
|
37
|
+
The job concept represents a computational job performed by
|
|
38
|
+
quantum chemistry software, e.g. geometry optimisation,
|
|
39
|
+
frequency analysis. The job can be considered as the unit of
|
|
40
|
+
work that would be submitted to a computational resource.
|
|
41
|
+
data_type: xsd:string
|
|
42
|
+
unit_type: unitType:none
|
|
43
|
+
units: unit:none
|
|
44
|
+
|
|
45
|
+
- id: initialization
|
|
46
|
+
term: Initialization
|
|
47
|
+
definition: An initialization module for a computational job or calculation.
|
|
48
|
+
description: |
|
|
49
|
+
Represents the concept of the model parameters and inputs. The
|
|
50
|
+
module defines the calculation, so that it should be possible to
|
|
51
|
+
reproduce the calculation based solely on the data in this
|
|
52
|
+
module.
|
|
53
|
+
data_type: xsd:string
|
|
54
|
+
unit_type: unitType:none
|
|
55
|
+
units: unit:none
|
|
56
|
+
|
|
57
|
+
- id: calculation
|
|
58
|
+
term: Calculation
|
|
59
|
+
definition: A calculation module for a computational job.
|
|
60
|
+
description: |
|
|
61
|
+
Represents the concept of the model calculation, optimisation or
|
|
62
|
+
iteration processes for a computational job. Calculations can be
|
|
63
|
+
nested to any level.
|
|
64
|
+
data_type: xsd:string
|
|
65
|
+
unit_type: unitType:none
|
|
66
|
+
units: unit:none
|
|
67
|
+
|
|
68
|
+
- id: finalization
|
|
69
|
+
term: Finalization
|
|
70
|
+
definition: A finalization module for a computational job or calculation.
|
|
71
|
+
description: |
|
|
72
|
+
Represents the concept of the model results for a computational
|
|
73
|
+
job or calculation. Usually the output properties of the final
|
|
74
|
+
calculation carried out by the job.
|
|
75
|
+
data_type: xsd:string
|
|
76
|
+
unit_type: unitType:none
|
|
77
|
+
units: unit:none
|
|
78
|
+
|
|
79
|
+
- id: environment
|
|
80
|
+
term: Environment
|
|
81
|
+
definition: A module describing the computing environment.
|
|
82
|
+
description: |
|
|
83
|
+
Refers to the hardware platform, software application, the
|
|
84
|
+
operating system, and any hardware and software configurations
|
|
85
|
+
used to run the job or computational task.
|
|
86
|
+
data_type: xsd:string
|
|
87
|
+
unit_type: unitType:none
|
|
88
|
+
units: unit:none
|
|
89
|
+
|
|
90
|
+
- id: program
|
|
91
|
+
term: Program
|
|
92
|
+
definition: The name of the computational chemistry program being run.
|
|
93
|
+
data_type: xsd:string
|
|
94
|
+
unit_type: unitType:none
|
|
95
|
+
units: unit:none
|
|
96
|
+
enum:
|
|
97
|
+
kind: open
|
|
98
|
+
values:
|
|
99
|
+
- nwchem
|
|
100
|
+
- gaussian
|
|
101
|
+
- gulp
|
|
102
|
+
|
|
103
|
+
- id: programVersion
|
|
104
|
+
term: Program Version
|
|
105
|
+
definition: The version of the code that was used to run the calculation.
|
|
106
|
+
data_type: xsd:string
|
|
107
|
+
unit_type: unitType:none
|
|
108
|
+
units: unit:none
|
|
109
|
+
|
|
110
|
+
- id: hostName
|
|
111
|
+
term: Host Name
|
|
112
|
+
definition: The name of the host that the program was run on.
|
|
113
|
+
data_type: xsd:string
|
|
114
|
+
unit_type: unitType:none
|
|
115
|
+
units: unit:none
|
|
116
|
+
|
|
117
|
+
- id: executable
|
|
118
|
+
term: Executable
|
|
119
|
+
definition: The path to the executable program.
|
|
120
|
+
data_type: xsd:string
|
|
121
|
+
unit_type: unitType:none
|
|
122
|
+
units: unit:none
|
|
123
|
+
|
|
124
|
+
- id: runDate
|
|
125
|
+
term: Run Date
|
|
126
|
+
definition: The date that the job commenced.
|
|
127
|
+
data_type: xsd:string
|
|
128
|
+
unit_type: unitType:none
|
|
129
|
+
units: unit:none
|
|
130
|
+
|
|
131
|
+
- id: compileDate
|
|
132
|
+
term: Compile Date
|
|
133
|
+
definition: The date that the executable was compiled.
|
|
134
|
+
data_type: xsd:string
|
|
135
|
+
unit_type: unitType:none
|
|
136
|
+
units: unit:none
|
|
137
|
+
|
|
138
|
+
- id: numProc
|
|
139
|
+
term: Number of Processors
|
|
140
|
+
definition: The number of processors used to run the job.
|
|
141
|
+
data_type: xsd:integer
|
|
142
|
+
unit_type: unitType:dimensionless
|
|
143
|
+
|
|
144
|
+
- id: method
|
|
145
|
+
term: Method
|
|
146
|
+
definition: The type of computational method used in the calculation.
|
|
147
|
+
description: |
|
|
148
|
+
Identifies the broad class of computation. Examples: SCF, DFT, MP2.
|
|
149
|
+
data_type: xsd:string
|
|
150
|
+
unit_type: unitType:none
|
|
151
|
+
units: unit:none
|
|
152
|
+
enum:
|
|
153
|
+
kind: open
|
|
154
|
+
values:
|
|
155
|
+
- scf
|
|
156
|
+
- dft
|
|
157
|
+
- mp2
|
|
158
|
+
- cc
|
|
159
|
+
- semiempirical
|
|
160
|
+
|
|
161
|
+
- id: task
|
|
162
|
+
term: Task
|
|
163
|
+
definition: The task being carried out by the job or calculation.
|
|
164
|
+
description: |
|
|
165
|
+
Describes what the job or calculation aims to do. Example values:
|
|
166
|
+
energy, frequency, geometry_optimization, gradient,
|
|
167
|
+
initial_guess, iteration, step.
|
|
168
|
+
data_type: xsd:string
|
|
169
|
+
unit_type: unitType:none
|
|
170
|
+
units: unit:none
|
|
171
|
+
enum:
|
|
172
|
+
kind: open
|
|
173
|
+
values:
|
|
174
|
+
- energy
|
|
175
|
+
- frequency
|
|
176
|
+
- geometry_optimization
|
|
177
|
+
- gradient
|
|
178
|
+
- initial_guess
|
|
179
|
+
- iteration
|
|
180
|
+
- step
|
|
181
|
+
|
|
182
|
+
- id: iterationIndex
|
|
183
|
+
term: Iteration Index
|
|
184
|
+
definition: The serial number of an iteration.
|
|
185
|
+
data_type: xsd:integer
|
|
186
|
+
unit_type: unitType:dimensionless
|
|
187
|
+
|
|
188
|
+
- id: charge
|
|
189
|
+
term: Total Charge
|
|
190
|
+
definition: The total charge on the system in elementary charge units.
|
|
191
|
+
data_type: xsd:double
|
|
192
|
+
unit_type: unitType:electricCharge
|
|
193
|
+
units: unit:e
|
|
194
|
+
|
|
195
|
+
- id: spinMultiplicity
|
|
196
|
+
term: Spin Multiplicity
|
|
197
|
+
definition: |
|
|
198
|
+
The spin multiplicity, equal to (number of alpha electrons) -
|
|
199
|
+
(number of beta electrons) + 1.
|
|
200
|
+
data_type: xsd:integer
|
|
201
|
+
unit_type: unitType:dimensionless
|
|
202
|
+
|
|
203
|
+
- id: numAtoms
|
|
204
|
+
term: Number of Atoms
|
|
205
|
+
definition: The total number of atoms in a molecule or other collection.
|
|
206
|
+
data_type: xsd:integer
|
|
207
|
+
unit_type: unitType:dimensionless
|
|
208
|
+
|
|
209
|
+
- id: numElectrons
|
|
210
|
+
term: Number of Electrons
|
|
211
|
+
definition: The total number of electrons in a system.
|
|
212
|
+
data_type: xsd:integer
|
|
213
|
+
unit_type: unitType:dimensionless
|
|
214
|
+
|
|
215
|
+
- id: numAlphaElectrons
|
|
216
|
+
term: Number of Alpha Electrons
|
|
217
|
+
definition: The total number of alpha spin electrons in a system.
|
|
218
|
+
data_type: xsd:integer
|
|
219
|
+
unit_type: unitType:dimensionless
|
|
220
|
+
|
|
221
|
+
- id: numBetaElectrons
|
|
222
|
+
term: Number of Beta Electrons
|
|
223
|
+
definition: The total number of beta spin electrons in a system.
|
|
224
|
+
data_type: xsd:integer
|
|
225
|
+
unit_type: unitType:dimensionless
|
|
226
|
+
|
|
227
|
+
- id: numClosedShells
|
|
228
|
+
term: Number of Closed Shells
|
|
229
|
+
definition: The number of closed shells.
|
|
230
|
+
data_type: xsd:integer
|
|
231
|
+
unit_type: unitType:dimensionless
|
|
232
|
+
|
|
233
|
+
- id: numOpenShells
|
|
234
|
+
term: Number of Open Shells
|
|
235
|
+
definition: The number of open shells.
|
|
236
|
+
data_type: xsd:integer
|
|
237
|
+
unit_type: unitType:dimensionless
|
|
238
|
+
|
|
239
|
+
- id: pointGroup
|
|
240
|
+
term: Point Group
|
|
241
|
+
definition: The molecular point group in Schoenflies notation.
|
|
242
|
+
data_type: xsd:string
|
|
243
|
+
unit_type: unitType:none
|
|
244
|
+
units: unit:none
|
|
245
|
+
|
|
246
|
+
- id: wavefunctionType
|
|
247
|
+
term: Wavefunction Type
|
|
248
|
+
definition: The type of wavefunction.
|
|
249
|
+
data_type: xsd:string
|
|
250
|
+
unit_type: unitType:none
|
|
251
|
+
units: unit:none
|
|
252
|
+
enum:
|
|
253
|
+
kind: open
|
|
254
|
+
values:
|
|
255
|
+
- closed
|
|
256
|
+
- open
|
|
257
|
+
- restricted open
|
|
258
|
+
|
|
259
|
+
- id: basisSet
|
|
260
|
+
term: Basis Set
|
|
261
|
+
definition: A list container for all information related to the basis set.
|
|
262
|
+
description: |
|
|
263
|
+
The basis set is the set of functions from which the electron
|
|
264
|
+
orbitals are constructed.
|
|
265
|
+
data_type: xsd:string
|
|
266
|
+
unit_type: unitType:none
|
|
267
|
+
units: unit:none
|
|
268
|
+
|
|
269
|
+
- id: basisSetLabel
|
|
270
|
+
term: Basis Set Label
|
|
271
|
+
definition: The name of the basis set.
|
|
272
|
+
data_type: xsd:string
|
|
273
|
+
unit_type: unitType:none
|
|
274
|
+
units: unit:none
|
|
275
|
+
|
|
276
|
+
- id: basisSetType
|
|
277
|
+
term: Basis Set Type
|
|
278
|
+
definition: The type of the basis set.
|
|
279
|
+
data_type: xsd:string
|
|
280
|
+
unit_type: unitType:none
|
|
281
|
+
units: unit:none
|
|
282
|
+
enum:
|
|
283
|
+
kind: closed
|
|
284
|
+
values:
|
|
285
|
+
- orbital
|
|
286
|
+
- dftorb
|
|
287
|
+
- dftxfit
|
|
288
|
+
- dftcfit
|
|
289
|
+
- periodic
|
|
290
|
+
- ecporb
|
|
291
|
+
- spinorb
|
|
292
|
+
- polarization
|
|
293
|
+
- diffuse
|
|
294
|
+
- tight
|
|
295
|
+
- rydberg
|
|
296
|
+
|
|
297
|
+
- id: basisSetHarmonicType
|
|
298
|
+
term: Basis Set Harmonic Type
|
|
299
|
+
definition: The type of the angular functions used in the basis set.
|
|
300
|
+
data_type: xsd:string
|
|
301
|
+
unit_type: unitType:none
|
|
302
|
+
units: unit:none
|
|
303
|
+
enum:
|
|
304
|
+
kind: closed
|
|
305
|
+
values:
|
|
306
|
+
- cartesian
|
|
307
|
+
- spherical
|
|
308
|
+
|
|
309
|
+
- id: basisSetContractionType
|
|
310
|
+
term: Basis Set Contraction Type
|
|
311
|
+
definition: How the gaussian functions in the basis are contracted.
|
|
312
|
+
data_type: xsd:string
|
|
313
|
+
unit_type: unitType:none
|
|
314
|
+
units: unit:none
|
|
315
|
+
enum:
|
|
316
|
+
kind: closed
|
|
317
|
+
values:
|
|
318
|
+
- segmented
|
|
319
|
+
- general
|
|
320
|
+
- uncontracted
|
|
321
|
+
|
|
322
|
+
- id: basisSetShell
|
|
323
|
+
term: Basis Set Shell
|
|
324
|
+
definition: The label for the contraction shell.
|
|
325
|
+
data_type: xsd:string
|
|
326
|
+
unit_type: unitType:none
|
|
327
|
+
units: unit:none
|
|
328
|
+
enum:
|
|
329
|
+
kind: closed
|
|
330
|
+
values:
|
|
331
|
+
- S
|
|
332
|
+
- P
|
|
333
|
+
- SP
|
|
334
|
+
- D
|
|
335
|
+
- F
|
|
336
|
+
- G
|
|
337
|
+
- H
|
|
338
|
+
- I
|
|
339
|
+
- K
|
|
340
|
+
- L
|
|
341
|
+
- M
|
|
342
|
+
|
|
343
|
+
- id: dftFunctional
|
|
344
|
+
term: DFT Functional
|
|
345
|
+
definition: A list container for all information related to a DFT functional.
|
|
346
|
+
data_type: xsd:string
|
|
347
|
+
unit_type: unitType:none
|
|
348
|
+
units: unit:none
|
|
349
|
+
|
|
350
|
+
- id: dftFunctionalLabel
|
|
351
|
+
term: DFT Functional Label
|
|
352
|
+
definition: The name of the DFT functional used.
|
|
353
|
+
data_type: xsd:string
|
|
354
|
+
unit_type: unitType:none
|
|
355
|
+
units: unit:none
|
|
356
|
+
|
|
357
|
+
- id: totalEnergy
|
|
358
|
+
term: Total Energy
|
|
359
|
+
definition: The total energy for a system of electrons and nuclei.
|
|
360
|
+
description: |
|
|
361
|
+
Formed from the sum of the nuclear, one- and two-electron
|
|
362
|
+
energies. The exact meaning is determined by the parameters in
|
|
363
|
+
the initialization module of the calculation.
|
|
364
|
+
data_type: xsd:double
|
|
365
|
+
unit_type: unitType:energy
|
|
366
|
+
units: unit:hartree
|
|
367
|
+
|
|
368
|
+
- id: scfEnergy
|
|
369
|
+
term: SCF Energy
|
|
370
|
+
definition: The Hartree-Fock Self-Consistent Field component of the energy.
|
|
371
|
+
data_type: xsd:double
|
|
372
|
+
unit_type: unitType:energy
|
|
373
|
+
units: unit:hartree
|
|
374
|
+
|
|
375
|
+
- id: nuclearRepulsionEnergy
|
|
376
|
+
term: Nuclear Repulsion Energy
|
|
377
|
+
definition: |
|
|
378
|
+
The potential energy arising from Coulombic nuclei-nuclei
|
|
379
|
+
repulsions.
|
|
380
|
+
data_type: xsd:double
|
|
381
|
+
unit_type: unitType:energy
|
|
382
|
+
units: unit:hartree
|
|
383
|
+
|
|
384
|
+
- id: e1Energy
|
|
385
|
+
term: One-electron Energy
|
|
386
|
+
definition: The one-electron kinetic energy component of the Hamiltonian.
|
|
387
|
+
data_type: xsd:double
|
|
388
|
+
unit_type: unitType:energy
|
|
389
|
+
units: unit:hartree
|
|
390
|
+
|
|
391
|
+
- id: e2Energy
|
|
392
|
+
term: Two-electron Energy
|
|
393
|
+
definition: The two-electron energy.
|
|
394
|
+
data_type: xsd:double
|
|
395
|
+
unit_type: unitType:energy
|
|
396
|
+
units: unit:hartree
|
|
397
|
+
|
|
398
|
+
- id: coulombEnergy
|
|
399
|
+
term: Coulomb Energy
|
|
400
|
+
definition: |
|
|
401
|
+
The Coulomb component of the electronic energy in a Density
|
|
402
|
+
Functional Calculation.
|
|
403
|
+
data_type: xsd:double
|
|
404
|
+
unit_type: unitType:energy
|
|
405
|
+
units: unit:hartree
|
|
406
|
+
|
|
407
|
+
- id: xcEnergy
|
|
408
|
+
term: Exchange-Correlation Energy
|
|
409
|
+
definition: The exchange-correlation energy.
|
|
410
|
+
data_type: xsd:double
|
|
411
|
+
unit_type: unitType:energy
|
|
412
|
+
units: unit:hartree
|
|
413
|
+
|
|
414
|
+
- id: correlationEnergy
|
|
415
|
+
term: Correlation Energy
|
|
416
|
+
definition: The correlation energy.
|
|
417
|
+
data_type: xsd:double
|
|
418
|
+
unit_type: unitType:energy
|
|
419
|
+
units: unit:hartree
|
|
420
|
+
|
|
421
|
+
- id: cpuTime
|
|
422
|
+
term: CPU Time
|
|
423
|
+
definition: Elapsed CPU time.
|
|
424
|
+
data_type: xsd:double
|
|
425
|
+
unit_type: unitType:time
|
|
426
|
+
units: unit:s
|
|
427
|
+
|
|
428
|
+
- id: wallTime
|
|
429
|
+
term: Wall Time
|
|
430
|
+
definition: Elapsed wall-clock time.
|
|
431
|
+
data_type: xsd:double
|
|
432
|
+
unit_type: unitType:time
|
|
433
|
+
units: unit:s
|
|
434
|
+
|
|
435
|
+
- id: title
|
|
436
|
+
term: Title
|
|
437
|
+
definition: An arbitrary human-readable title for the calculation.
|
|
438
|
+
data_type: xsd:string
|
|
439
|
+
unit_type: unitType:none
|
|
440
|
+
units: unit:none
|
|
441
|
+
|
|
442
|
+
- id: UUID
|
|
443
|
+
term: UUID
|
|
444
|
+
definition: A Universally Unique Identifier as per RFC 4122.
|
|
445
|
+
data_type: xsd:string
|
|
446
|
+
unit_type: unitType:none
|
|
447
|
+
units: unit:none
|
|
448
|
+
|
|
449
|
+
- id: atomType
|
|
450
|
+
term: Atom Type
|
|
451
|
+
definition: The type of the element (the atomic symbol).
|
|
452
|
+
data_type: xsd:string
|
|
453
|
+
unit_type: unitType:none
|
|
454
|
+
units: unit:none
|
|
455
|
+
|
|
456
|
+
- id: numElectronsReplaced
|
|
457
|
+
term: Number of Electrons Replaced
|
|
458
|
+
definition: The number of electrons replaced by an Effective Core Potential.
|
|
459
|
+
data_type: xsd:integer
|
|
460
|
+
unit_type: unitType:dimensionless
|
|
461
|
+
|
|
462
|
+
- id: inputFile
|
|
463
|
+
term: Input File
|
|
464
|
+
definition: A module for a single literal representation of an input file.
|
|
465
|
+
data_type: xsd:string
|
|
466
|
+
unit_type: unitType:none
|
|
467
|
+
units: unit:none
|
|
468
|
+
|
|
469
|
+
- id: inputFileList
|
|
470
|
+
term: Input File List
|
|
471
|
+
definition: A module containing a list of input files.
|
|
472
|
+
data_type: xsd:string
|
|
473
|
+
unit_type: unitType:none
|
|
474
|
+
units: unit:none
|
|
475
|
+
|
|
476
|
+
- id: inputFileName
|
|
477
|
+
term: Input File Name
|
|
478
|
+
definition: A representation of the name of a single input file.
|
|
479
|
+
data_type: xsd:string
|
|
480
|
+
unit_type: unitType:none
|
|
481
|
+
units: unit:none
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Non-SI Units Dictionary
|
|
2
|
+
#
|
|
3
|
+
# Source: http://www.xml-cml.org/unit/nonSi/
|
|
4
|
+
# License: CC-BY-3.0 (http://creativecommons.org/licenses/by/3.0/)
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
namespace: http://www.xml-cml.org/unit/nonSi/
|
|
8
|
+
prefix: nonsi
|
|
9
|
+
title: Non-SI Units
|
|
10
|
+
description: |
|
|
11
|
+
Common non-SI units accepted for use with CML, with their parent SI
|
|
12
|
+
unit and conversion factor.
|
|
13
|
+
|
|
14
|
+
entries:
|
|
15
|
+
- id: angstrom
|
|
16
|
+
term: ångström
|
|
17
|
+
definition: A unit of length equal to 1e-10 metre.
|
|
18
|
+
- id: hartree
|
|
19
|
+
term: hartree
|
|
20
|
+
definition: The atomic unit of energy, ~4.359744e-18 J.
|
|
21
|
+
- id: bohr
|
|
22
|
+
term: bohr
|
|
23
|
+
definition: The atomic unit of length, ~5.29177e-11 m.
|
|
24
|
+
- id: dalton
|
|
25
|
+
term: dalton
|
|
26
|
+
definition: A unit of mass equal to the unified atomic mass unit.
|
|
27
|
+
- id: elementary_charge
|
|
28
|
+
term: elementary charge
|
|
29
|
+
definition: A unit of electric charge equal to ~1.602176634e-19 C.
|
|
30
|
+
- id: degree
|
|
31
|
+
term: degree
|
|
32
|
+
definition: A unit of angle equal to pi/180 radian.
|
|
33
|
+
- id: minute
|
|
34
|
+
term: minute
|
|
35
|
+
definition: A unit of time equal to 60 seconds.
|
|
36
|
+
- id: hour
|
|
37
|
+
term: hour
|
|
38
|
+
definition: A unit of time equal to 3600 seconds.
|
|
39
|
+
- id: day
|
|
40
|
+
term: day
|
|
41
|
+
definition: A unit of time equal to 86 400 seconds.
|
|
42
|
+
- id: electronvolt
|
|
43
|
+
term: electronvolt
|
|
44
|
+
definition: A unit of energy equal to the work done on an electron moving through 1 volt of potential difference.
|
|
45
|
+
- id: liter
|
|
46
|
+
term: liter
|
|
47
|
+
definition: A unit of volume equal to 1e-3 cubic metre.
|
|
48
|
+
- id: bar
|
|
49
|
+
term: bar
|
|
50
|
+
definition: A unit of pressure equal to 1e5 pascal.
|
|
51
|
+
- id: atmosphere
|
|
52
|
+
term: atmosphere
|
|
53
|
+
definition: A unit of pressure equal to ~101 325 pascal.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# SI Units Dictionary
|
|
2
|
+
#
|
|
3
|
+
# Source: http://www.xml-cml.org/unit/si/
|
|
4
|
+
# License: CC-BY-3.0 (http://creativecommons.org/licenses/by/3.0/)
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
namespace: http://www.xml-cml.org/unit/si/
|
|
8
|
+
prefix: si
|
|
9
|
+
title: SI Units
|
|
10
|
+
description: |
|
|
11
|
+
The International System of Units (SI). Each entry maps a unit id
|
|
12
|
+
(abbreviation) to its full title, symbol, parentSI reference,
|
|
13
|
+
multiplier/constant to SI, and unit type.
|
|
14
|
+
|
|
15
|
+
entries:
|
|
16
|
+
- id: m
|
|
17
|
+
term: metre
|
|
18
|
+
definition: The SI base unit of length.
|
|
19
|
+
- id: kg
|
|
20
|
+
term: kilogram
|
|
21
|
+
definition: The SI base unit of mass.
|
|
22
|
+
- id: s
|
|
23
|
+
term: second
|
|
24
|
+
definition: The SI base unit of time.
|
|
25
|
+
- id: A
|
|
26
|
+
term: ampere
|
|
27
|
+
definition: The SI base unit of electric current.
|
|
28
|
+
- id: K
|
|
29
|
+
term: kelvin
|
|
30
|
+
definition: The SI base unit of thermodynamic temperature.
|
|
31
|
+
- id: mol
|
|
32
|
+
term: mole
|
|
33
|
+
definition: The SI base unit of amount of substance.
|
|
34
|
+
- id: cd
|
|
35
|
+
term: candela
|
|
36
|
+
definition: The SI base unit of luminous intensity.
|
|
37
|
+
- id: rad
|
|
38
|
+
term: radian
|
|
39
|
+
definition: The SI derived unit of angle.
|
|
40
|
+
- id: sr
|
|
41
|
+
term: steradian
|
|
42
|
+
definition: The SI derived unit of solid angle.
|
|
43
|
+
- id: Hz
|
|
44
|
+
term: hertz
|
|
45
|
+
definition: The SI derived unit of frequency.
|
|
46
|
+
- id: N
|
|
47
|
+
term: newton
|
|
48
|
+
definition: The SI derived unit of force.
|
|
49
|
+
- id: Pa
|
|
50
|
+
term: pascal
|
|
51
|
+
definition: The SI derived unit of pressure.
|
|
52
|
+
- id: J
|
|
53
|
+
term: joule
|
|
54
|
+
definition: The SI derived unit of energy.
|
|
55
|
+
- id: W
|
|
56
|
+
term: watt
|
|
57
|
+
definition: The SI derived unit of power.
|
|
58
|
+
- id: C
|
|
59
|
+
term: coulomb
|
|
60
|
+
definition: The SI derived unit of electric charge.
|
|
61
|
+
- id: V
|
|
62
|
+
term: volt
|
|
63
|
+
definition: The SI derived unit of electric potential.
|
|
64
|
+
- id: F
|
|
65
|
+
term: farad
|
|
66
|
+
definition: The SI derived unit of electric capacitance.
|
|
67
|
+
- id: ohm
|
|
68
|
+
term: ohm
|
|
69
|
+
definition: The SI derived unit of electric resistance.
|
|
70
|
+
- id: S
|
|
71
|
+
term: siemens
|
|
72
|
+
definition: The SI derived unit of electric conductance.
|
|
73
|
+
- id: Wb
|
|
74
|
+
term: weber
|
|
75
|
+
definition: The SI derived unit of magnetic flux.
|
|
76
|
+
- id: T
|
|
77
|
+
term: tesla
|
|
78
|
+
definition: The SI derived unit of magnetic flux density.
|
|
79
|
+
- id: H
|
|
80
|
+
term: henry
|
|
81
|
+
definition: The SI derived unit of inductance.
|
|
82
|
+
- id: none
|
|
83
|
+
term: none
|
|
84
|
+
definition: |
|
|
85
|
+
Used as the units for an entry that conceptually should not have
|
|
86
|
+
units (per the CML dictionary convention, MUST be referenced via
|
|
87
|
+
http://www.xml-cml.org/unit/si#none when unitType is `none`).
|