Package schrodinger
[hide private]
[frames] | no frames]

Package schrodinger

This is the top level package for all Schrodinger modules.

The main modules of interest are schrodinger.structure and the ones in the schrodinger.structutils package.

The Python Module Overview included with the Schrodinger distribution gives an expository introduction to the Schrodinger Python API. It is available from the Help -> Python Module Overview... link in Maestro, or from the $SCHRODINGER/docs/python_api/overview.html file.

If you have questions about the API, please contact us at help@schrodinger.com.


Version: 40023

Submodules [hide private]

Functions [hide private]
 
get_suite_year()
Return the suite year as a string that is a 4 digit number.
 
version_at_least(v)
Check that the Schrodinger python version is at least the value 'v'.
 
version_at_most(v)
Check that the Schrodinger python version does not exceed 'v'.
 
version_compatible(minimum, maximum)
Check that the version is between minimum and maximum values.
Variables [hide private]
  __package__ = None
hash(x)
Function Details [hide private]

get_suite_year()

 

Return the suite year as a string that is a 4 digit number.

To get the 2 year abbreviated version simply do:

get_suite_year()[2:]

version_compatible(minimum, maximum)

 

Check that the version is between minimum and maximum values.

If the current Schrodinger python version is less than the minimum, an Exception will be raised. If the current version is greater than the maximum, a warning will be issued.