schrodinger.application.transforms.display_data module¶
- class schrodinger.application.transforms.display_data.FilterFunnelDisplayData(filters: list[str])¶
Bases:
HasDisplayDataDeclares the filter steps of a funnel composite.
Each filter is a beam step label relative to the composite’s
unique_name.Instances can be placed directly in a transform’s
display_data()dict.- __init__(filters: list[str])¶
- Parameters:
filters – beam step labels of the filter sub-transforms
- classmethod from_json(json_str: str) FilterFunnelDisplayData¶
Deserialize from the JSON string stored in the pipeline proto.
- display_data()¶
Returns the display data associated to a pipeline component.
It should be reimplemented in pipeline components that wish to have static display data.
- Returns:
Dict[str, Any]: A dictionary containing
key:valuepairs. The value might be an integer, float or string value; aDisplayDataItemfor values that have more data (e.g. short value, label, url); or aHasDisplayDatainstance that has more display data that should be picked up. For example:{ 'key1': 'string_value', 'key2': 1234, 'key3': 3.14159265, 'key4': DisplayDataItem('apache.org', url='http://apache.org'), 'key5': subComponent }