RosettaTaskQ
RosettaTaskQ[task]⟹boolean
returns True when task is a valid Rosetta task.
RosettaTaskQ[task,type]⟹boolean
returns True when task is a valid Rosetta task with TaskType type.
Details
- Valid Rosetta tasks are defined in associations with specific keys and key-values.
- RosettaTaskQ checks that the input association has the correct keys:
-
KeyPatternDescription
TaskType RosettaTaskTypeP The type of task described by the task association. ID _String A unique identifier used to distinguish the task from other tasks such that procedures can be reset to specific tasks. Args _Association An association defining all arguments used by the task. Each task type may have different arguments.
Input
Output