Package schrodinger :: Package test :: Package stu :: Package outcomes :: Module job_status
[hide private]
[frames] | no frames]

Module job_status

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.

Classes [hide private]
  LicenseAction
LicenseAction(feature, count, tag, action)
  _LicenseInfo
Extract an in-memory representation of the license checkouts from a named license checkout file.
Functions [hide private]
 
is_structure_output_file(filename)
Validate that the StructureOutputFile is present in the job and that its name matches the filename provided.
 
license_check(license_check_file='license_check.txt', ref_license_check_file='license_check_reference.txt')
Compare the license file against a standard.
Variables [hide private]
  logger = log.get_logger('test_backend.workups')
Workup logger, should inherit verbosity from test_backend logger.
  __package__ = 'schrodinger.test.stu.outcomes'
Function Details [hide private]

is_structure_output_file(filename)

 

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.

license_check(license_check_file='license_check.txt', ref_license_check_file='license_check_reference.txt')

 

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".