Package pyCmdrange :: Module cmdrangeBackEnd
[hide private]
[frames] | no frames]

Module cmdrangeBackEnd

source code

A class that implements the standard Qube! cmdrange jobtype in python. It should be simpler to maintain and extend than the older C++ variant.

Classes [hide private]
  CmdRangeBackEnd
A backend for a python-based cmdrange jobtype which allows for extensible log parsing.
Functions [hide private]
tuple
evaluateQBTokens(cmd, fRange, padding=1)
Replace all QB_* tokens with the appropriate values from the object's frame range or job stage
source code
Variables [hide private]
  QB_TOKEN_RGX = [re.compile(r'QB_FRAME_NUMBER'), re.compile(r'Q...
  __package__ = 'pyCmdrange'
Function Details [hide private]

evaluateQBTokens(cmd, fRange, padding=1)

source code 

Replace all QB_* tokens with the appropriate values from the object's frame range or job stage

fRange is either the job's frame range value, or the agenda item's specific frame range

Returns: tuple
Both the cmd with all QB_FRAME* tokens evaluted, and a dictionary of all tokens and their values.

Variables Details [hide private]

QB_TOKEN_RGX

Value:
[re.compile(r'QB_FRAME_NUMBER'),
 re.compile(r'QB_FRAME_START'),
 re.compile(r'QB_FRAME_END'),
 re.compile(r'QB_FRAME_STEP'),
 re.compile(r'QB_FRAME_RANGE')]