Custom Property Definition Dialog Box

Define a custom property for genetic optimization in terms of a Python function that calculates the property.

To open this dialog box, choose Define new custom property from the menu in the Property column in the Optoelectronics Genetic Optimization Panel.

Custom Property Definition Dialog Box Features

Custom property Python file text box and Browse button

Enter the path to the Python file that defines the custom property, or click Browse to locate the file. The Python file should be written according to the example file in the distribution at the following location:

$SCHRODINGER/mmshare-v7.3/data/genetic_optimization/custom_class_evaluators/example_custom_class_evaluator.py.

Any extra files needed to define the property must reside in the same directory as the Python file, and the Python file must define these files.

Name option menu

This option menu contains the names defined in the Python file for the properties it generates. They are used as keys in dictionaries that define the units and the function to call to get the property value.

Units text box

Specify the units for the property. This text box is automatically populated from a dictionary in the Python file, but you can edit or change the units in this text box.

Reset button

Reset the dialog box to its default settings, clearing all data.