schrodinger.application.glide.license_requirements module

This module contains classes that determine the licenses required to run different types of Glide jobs.

Copyright Schrodinger, LLC. All rights reserved.

class schrodinger.application.glide.license_requirements.GlideLicenseRequirements(keywords)

Bases: object

Base class for DockingLicenseRequirements and GridgenLicenseRequirements.

__init__(keywords)

keywords is the same dictionary that would be supplied to create a DockingJob or a GridgenJob. Note that full validation of keywords is not done here, so use with care.

class schrodinger.application.glide.license_requirements.DockingLicenseRequirements(keywords)

Bases: schrodinger.application.glide.license_requirements.GlideLicenseRequirements

License requirements for a docking job.

licenseRequirements()

Returns a list of licenses needed as (license_id, tokens) pairs, where license_id is one of the integer constants defined in the licensing module and tokens is the number of tokens.

class schrodinger.application.glide.license_requirements.GridgenLicenseRequirements(keywords)

Bases: schrodinger.application.glide.license_requirements.GlideLicenseRequirements

License requirements for a gridgen job.

licenseRequirements()

Returns a list of licenses needed as (license_id, tokens) pairs, where license_id is one of the integer constants defined in the licensing module and tokens is the number of tokens.