schrodinger.application.steps.test module¶
Utility code for testing of steps
- schrodinger.application.steps.test.getOutputs(step, inputs)¶
Return all the outputs for the step using the inputs asserting that all the step outputs are instances of the proper type.
- Parameters
step (schrodinger.stepper.stepper._BaseStep) – the step to get the outputs for
inputs (list) – the inputs to use for the step
- schrodinger.application.steps.test.getOutputsFromSmiles(step, inputs)¶
Return all the outputs for the step using the SMILES inputs asserting that all the step outputs are instances of the proper type.
- Parameters
step (schrodinger.stepper.stepper._BaseStep) – the step to get the outputs for
inputs (list) – the SMILES inputs to use for the step
- schrodinger.application.steps.test.getSmilesWrappedOutputs(step, inputs)¶
Return all canonical SMILES outputs for the step using the SMILES inputs asserting that all the step outputs are instances of the proper type.
- Parameters
step (schrodinger.stepper.stepper._BaseStep) – the step to get the outputs for
inputs (list) – the SMILES inputs to use for the step
- schrodinger.application.steps.test.checkValidateSettings(step, msgs=None)¶
Asserts that every issue message from the step’s validateSettings occurs in the msgs in the same order.
Note no distinction is made between warning or errors.
- Parameters
step (stepper._BaseStep) – the step whose validateSettings method is to be used
msgs (List[str] or NoneType) – the list of messages expected