airsspy.jf.documents#
Output document models for AIRSS jobflow jobs.
Defines pydantic models following the atomate2 TaskDoc pattern.
One AirssJobDoc contains N AirssResultDoc entries, supporting
multi-structure jobs (e.g., 50 random structures per search job).
Module Contents#
Classes#
Outcome of a single structure relaxation. |
|
Single relaxed structure result from an AIRSS job. |
|
Output document from any AIRSS job (search or relax). |
API#
- class airsspy.jf.documents.RelaxOutcome[source]#
-
Outcome of a single structure relaxation.
Initialization
Initialize self. See help(type(self)) for accurate signature.
- FINISHED#
‘finished’
- TIMEDOUT#
‘timedout’
- ERRORED#
‘errored’
- FAILED#
‘failed’
- UNDETERMINED#
‘undetermined’
- CYCLE_EXCEEDED#
‘cycle_exceeded’
- class airsspy.jf.documents.AirssResultDoc(/, **data: Any)[source]#
Bases:
pydantic.BaseModelSingle relaxed structure result from an AIRSS job.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- relax_status: airsspy.jf.documents.RelaxOutcome#
None
- class airsspy.jf.documents.AirssJobDoc(/, **data: Any)[source]#
Bases:
pydantic.BaseModelOutput document from any AIRSS job (search or relax).
Contains N results from a single job execution. For
AirssSearchMaker, this holds N randomly-generated-then-relaxed structures. ForAirssRelaxMaker, this holds N pre-existing-now-relaxed structures.Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- results: list[airsspy.jf.documents.AirssResultDoc]#
‘Field(…)’
- created_on: Optional[datetime.datetime]#
None