schrodinger.test.stu.outcomes.job_status module

Contains workups relating to the exit status of the job. Most of these will not be explicitly passed in the workup specification, but will be run implicitly.

@copyright: Schrodinger, LLC. All rights reserved.

schrodinger.test.stu.outcomes.job_status.is_structure_output_file(filename)[source]

Validate that the StructureOutputFile is present in the job and that its name matches the filename provided.

Parameters

filename (str) – Expected name for the structure output file. Should match exactly with what’s in the job.

schrodinger.test.stu.outcomes.job_status.license_check(license_check_file='license_check.txt', ref_license_check_file='license_check_reference.txt')[source]

Compare the license file against a standard. If either does not exist, return True. If the two match, return True. The reference license file should be called “license_check_reference.txt” and the license file being tested should be called “license_check.txt”.

class schrodinger.test.stu.outcomes.job_status.LicenseAction(feature, count, tag, action)

Bases: tuple

__contains__(key, /)

Return key in self.

__len__()

Return len(self).

action

Alias for field number 3

count

Alias for field number 1

feature

Alias for field number 0

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

tag

Alias for field number 2