AngleConstraint

pydantic model openff.qcsubmit.constraints.AngleConstraint[source]

Show JSON schema
{
   "title": "AngleConstraint",
   "description": "A basic config class for results structures.",
   "type": "object",
   "properties": {
      "type": {
         "title": "Type",
         "default": "angle",
         "enum": [
            "angle"
         ],
         "type": "string"
      },
      "indices": {
         "title": "Indices",
         "type": "array",
         "minItems": 3,
         "maxItems": 3,
         "items": [
            {
               "type": "integer"
            },
            {
               "type": "integer"
            },
            {
               "type": "integer"
            }
         ]
      },
      "bonded": {
         "title": "Bonded",
         "description": "If this is a bonded constraint, this will trigger a validation step to ensure all of the atoms are bonded.",
         "default": true,
         "type": "boolean"
      }
   },
   "required": [
      "indices"
   ]
}

Config
  • allow_mutation: bool = False

  • arbitrary_types_allowed: bool = True

  • json_encoders: dict = {<class ‘numpy.ndarray’>: <function ResultsConfig.Config.<lambda> at 0x7efe99957d00>, <enum ‘Enum’>: <function ResultsConfig.Config.<lambda> at 0x7efe99957d90>}

Fields
Validators

field type: Literal['angle'] = 'angle'
field indices: Tuple[int, int, int] [Required]
Validated by
  • _order_and_check_indices