schrodinger.application.phase.license module¶
Module for token checkouts in phase related backends. NOTE: Tampering with licensing is a violation of the license agreement.
Copyright Schrodinger LLC, All Rights Reserved.
-
schrodinger.application.phase.license.
num_of_shape_screen_tokens
(use_gpu: bool = False) → int[source]¶ - Parameters
use_gpu – whether to checkout tokens for GPU usage or not
- Returns
number of tokens to check out
-
schrodinger.application.phase.license.
checkout_shape_screen_tokens
(use_gpu: bool = False) → schrodinger.utils.license.License[source]¶ Checks out the appropriate number of tokens for a shape screening job.
- Parameters
use_gpu – whether to checkout tokens for GPU usage or not
- Returns
license token