Non-physical species schema¶
TCKDB backend app schemas non-physical species (np_species) module
- class tckdb.backend.app.schemas.np_species.NonPhysicalSpecies(*, label: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, timestamp: tckdb.backend.app.schemas.np_species.ConstrainedFloatValue = None, retracted: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, reviewed: bool = None, approved: bool = None, charge: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, multiplicity: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, smiles: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi_key: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, graph: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, electronic_state: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = 'X', coordinates: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]], fragments: List[List[tckdb.backend.app.schemas.np_species.ConstrainedIntValue]] = None, fragment_orientation: List[Dict[str, Union[float, List[float]]]] = None, chirality: Dict[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, conformation_method: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, is_well: bool, is_global_min: bool = None, global_min_geometry: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]] = None, is_ts: bool = False, irc_trajectories: List[List[Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]]]] = None, opt_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, freq_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, scan_paths: Dict[Tuple[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue], ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, irc_paths: List[tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, sp_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, unconverged_jobs: List[Dict[str, str]] = None, extras: Dict[str, Any] = None, reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties to return to client
- class tckdb.backend.app.schemas.np_species.NonPhysicalSpeciesBase(*, label: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, timestamp: tckdb.backend.app.schemas.np_species.ConstrainedFloatValue = None, retracted: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, reviewed: bool = None, approved: bool = None, charge: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, multiplicity: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, smiles: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi_key: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, graph: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, electronic_state: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = 'X', coordinates: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]], fragments: List[List[tckdb.backend.app.schemas.np_species.ConstrainedIntValue]] = None, fragment_orientation: List[Dict[str, Union[float, List[float]]]] = None, chirality: Dict[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, conformation_method: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, is_well: bool, is_global_min: bool = None, global_min_geometry: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]] = None, is_ts: bool = False, irc_trajectories: List[List[Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]]]] = None, opt_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, freq_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, scan_paths: Dict[Tuple[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue], ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, irc_paths: List[tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, sp_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, unconverged_jobs: List[Dict[str, str]] = None, extras: Dict[str, Any] = None, reviewer_flags: Dict[str, str] = None)[source]¶
A NonPhysicalSpeciesBase class (shared properties)
- classmethod conformation_method_validator(value, values)[source]¶
NonPhysicalSpecies.conformation_method validator
- classmethod fragment_orientation_validator(value, values)[source]¶
NonPhysicalSpecies.fragment_orientation validator
- classmethod global_min_geometry_validator(value, values)[source]¶
NonPhysicalSpecies.global_min_geometry validator
- classmethod graph_validator(value, values)[source]¶
NonPhysicalSpecies.graph validator Also used to populate SMILES, InChI, InChI Key, adjlist
- class tckdb.backend.app.schemas.np_species.NonPhysicalSpeciesCreate(*, label: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, timestamp: tckdb.backend.app.schemas.np_species.ConstrainedFloatValue = None, retracted: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, reviewed: bool = None, approved: bool = None, charge: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, multiplicity: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, smiles: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi_key: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, graph: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, electronic_state: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = 'X', coordinates: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]], fragments: List[List[tckdb.backend.app.schemas.np_species.ConstrainedIntValue]] = None, fragment_orientation: List[Dict[str, Union[float, List[float]]]] = None, chirality: Dict[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, conformation_method: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, is_well: bool, is_global_min: bool = None, global_min_geometry: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]] = None, is_ts: bool = False, irc_trajectories: List[List[Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]]]] = None, opt_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, freq_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, scan_paths: Dict[Tuple[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue], ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, irc_paths: List[tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, sp_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, unconverged_jobs: List[Dict[str, str]] = None, extras: Dict[str, Any] = None, reviewer_flags: Dict[str, str] = None)[source]¶
Create a NonPhysicalSpecies item: Properties to receive on item creation
- class tckdb.backend.app.schemas.np_species.NonPhysicalSpeciesInDB(*, label: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, timestamp: tckdb.backend.app.schemas.np_species.ConstrainedFloatValue = None, retracted: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, reviewed: bool = None, approved: bool = None, charge: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, multiplicity: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, smiles: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi_key: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, graph: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, electronic_state: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = 'X', coordinates: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]], fragments: List[List[tckdb.backend.app.schemas.np_species.ConstrainedIntValue]] = None, fragment_orientation: List[Dict[str, Union[float, List[float]]]] = None, chirality: Dict[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, conformation_method: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, is_well: bool, is_global_min: bool = None, global_min_geometry: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]] = None, is_ts: bool = False, irc_trajectories: List[List[Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]]]] = None, opt_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, freq_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, scan_paths: Dict[Tuple[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue], ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, irc_paths: List[tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, sp_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, unconverged_jobs: List[Dict[str, str]] = None, extras: Dict[str, Any] = None, reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties stored in DB
- class tckdb.backend.app.schemas.np_species.NonPhysicalSpeciesInDBBase(*, label: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, timestamp: tckdb.backend.app.schemas.np_species.ConstrainedFloatValue = None, retracted: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, reviewed: bool = None, approved: bool = None, charge: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, multiplicity: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, smiles: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi_key: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, graph: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, electronic_state: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = 'X', coordinates: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]], fragments: List[List[tckdb.backend.app.schemas.np_species.ConstrainedIntValue]] = None, fragment_orientation: List[Dict[str, Union[float, List[float]]]] = None, chirality: Dict[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, conformation_method: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, is_well: bool, is_global_min: bool = None, global_min_geometry: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]] = None, is_ts: bool = False, irc_trajectories: List[List[Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]]]] = None, opt_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, freq_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, scan_paths: Dict[Tuple[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue], ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, irc_paths: List[tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, sp_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, unconverged_jobs: List[Dict[str, str]] = None, extras: Dict[str, Any] = None, reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties shared by models stored in DB
- class tckdb.backend.app.schemas.np_species.NonPhysicalSpeciesUpdate(*, label: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, timestamp: tckdb.backend.app.schemas.np_species.ConstrainedFloatValue = None, retracted: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, reviewed: bool = None, approved: bool = None, charge: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, multiplicity: tckdb.backend.app.schemas.np_species.ConstrainedIntValue, smiles: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, inchi_key: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, graph: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, electronic_state: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = 'X', coordinates: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]], fragments: List[List[tckdb.backend.app.schemas.np_species.ConstrainedIntValue]] = None, fragment_orientation: List[Dict[str, Union[float, List[float]]]] = None, chirality: Dict[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, conformation_method: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, is_well: bool, is_global_min: bool = None, global_min_geometry: Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]] = None, is_ts: bool = False, irc_trajectories: List[List[Dict[str, Union[Tuple[Tuple[float, float, float], ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, ...], Tuple[tckdb.backend.app.schemas.np_species.ConstrainedStrValue, ...]]]]] = None, opt_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, freq_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, scan_paths: Dict[Tuple[Tuple[tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue, tckdb.backend.app.schemas.np_species.ConstrainedIntValue], ...], tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, irc_paths: List[tckdb.backend.app.schemas.np_species.ConstrainedStrValue] = None, sp_path: tckdb.backend.app.schemas.np_species.ConstrainedStrValue = None, unconverged_jobs: List[Dict[str, str]] = None, extras: Dict[str, Any] = None, reviewer_flags: Dict[str, str] = None)[source]¶
Update a NonPhysicalSpecies item: Properties to receive on item update