DihedralConstraintSet

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

Show JSON schema
{
   "title": "DihedralConstraintSet",
   "description": "A basic config class for results structures.",
   "type": "object",
   "properties": {
      "type": {
         "title": "Type",
         "default": "dihedral",
         "enum": [
            "dihedral"
         ],
         "type": "string"
      },
      "indices": {
         "title": "Indices",
         "type": "array",
         "items": [
            {
               "type": "integer"
            },
            {
               "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"
      },
      "value": {
         "title": "Value",
         "type": "number"
      }
   },
   "required": [
      "indices",
      "value"
   ]
}

Config
  • allow_mutation: bool = False

  • arbitrary_types_allowed: bool = True

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

Fields
Validators

field value: float [Required]