Package schrodinger :: Package test :: Package stu :: Package outcomes :: Module standard_workups :: Class _PropertyCompare
[hide private]
[frames] | no frames]

Class _PropertyCompare

Compare properties between a ct and a csv file generated from a ct via proplister.

Instance Methods [hide private]
 
__init__(self, std_file)
 
_make_unique_key_ct(self, ct, title_key)
Make a unique string from a number of properties stored in ct for properties in title_key.
 
_make_unique_key_csv(self, line, title_index)
Make a unique string from a number of properties stored in line for properties in title_index.
 
import_std_file(self, std_file)
Import the property/values and the key to use in comparison.
 
_get_expanded_property_title(self, name)
Return full m2io title for a property if given title/entry short name from proplister output.
 
check_for_all_std_cts(self, str_file)
Check that all expected std cts are found in the comparison structure file.
 
compare_ct_properties(self, ct)
Perform comparison against a standard for a single ct.
Method Details [hide private]

import_std_file(self, std_file)

 

Import the property/values and the key to use in comparison.

Used to identify cts to perform the comparison on.

usage: import_std_file(std_file)

_get_expanded_property_title(self, name)

 

Return full m2io title for a property if given title/entry short name from proplister output.

This could be expanded to return full title for all shortened names.

check_for_all_std_cts(self, str_file)

 

Check that all expected std cts are found in the comparison structure file.

usage: check_for_all_std_cts(str_file)

compare_ct_properties(self, ct)

 

Perform comparison against a standard for a single ct.

usage: compare_ct_properties(ct)