Module Import alias Import alias identifier Import alias ImportFrom alias alias alias alias Import alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str Str Str Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad NameLoad Index Num ListLoad Str Str Assert CompareEq SubscriptLoad NameLoad Index Num ListLoad Str Assert CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad NameLoad BinOpMult NameLoad Num BinOpMult NameLoad Num attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad ExtSlice Index Num Slice SubscriptLoad NameLoad ExtSlice Index Num Slice Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Str Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Str NameStore body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str With Call NameLoad Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Str With Call NameLoad Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad ListLoad Str Num Num ListLoad Str Num Num ListLoad Str Num Num Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str ListLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Dict Str Str Str ListLoad TupleLoad Num Num TupleLoad Num Num ListLoad TupleLoad Num Num ListLoad TupleLoad Num Num Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults SubscriptLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Str Str With Call AttributeLoad NameLoad attr keyword Str NameStore body With Call NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Num Num TupleLoad Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad NameLoad With Call AttributeLoad NameLoad attr keyword Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad TupleLoad Num Num TupleLoad Num Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Str ListLoad TupleLoad Num Num TupleLoad Num Num ListLoad TupleLoad Num Num ListLoad TupleLoad Num Num Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults BinOpMod Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListComp Call NameLoad NameLoad NameLoad BinOpMod Str NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str Call NameLoad Str decorator_list FunctionDef arguments args defaults body Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Num Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Num Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword Num With Call AttributeLoad NameLoad attr keyword Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr keyword Str NameStore body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Print NameLoad Str Print NameLoad Str Print NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore TupleLoad Str Str Assign AttributeStore NameLoad attr ListLoad ListLoad Str Num Num ListLoad Str Num Num ListLoad Str Num Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Str Str Str decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call NameLoad Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Dict TupleLoad Num Num TupleLoad Num Num Str Str Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareIn Call NameLoad Str TupleLoad Num Num NameLoad NameLoad Assert CompareIn Call NameLoad Str TupleLoad Num Num NameLoad NameLoad decorator_list Call NameLoad Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list
N/A N/A tempfile N/A numpy np N/A unittest mock Mock patch call sentinel N/A cpa.util cpa.profiling cache test_make_progress_bar_no_text N/A N/A N/A N/A N/A p N/A N/A cache make_progress_bar N/A test_make_progress_bar_with_text N/A N/A N/A N/A N/A p N/A N/A cache make_progress_bar Foo N/A test_invert_dict N/A N/A N/A N/A N/A d N/A a b c 1 2 1 N/A inv N/A N/A cache invert_dict d N/A N/A N/A inv N/A 1 N/A a c N/A N/A N/A inv N/A 2 N/A b N/A N/A N/A len N/A N/A inv keys 2 N/A DummyNormalizationTestCase N/A N/A unittest TestCase N/A test_init N/A N/A self N/A N/A N/A c N/A object N/A n N/A N/A cache DummyNormalization c N/A N/A N/A n cache c N/A test_normalize N/A N/A self N/A N/A N/A n N/A N/A cache DummyNormalization None N/A N/A N/A N/A n normalize 1 2 2 N/A test_colnames N/A N/A self N/A N/A N/A c N/A Mock N/A N/A c colnames N/A object N/A n N/A N/A cache DummyNormalization c N/A N/A N/A n colnames N/A c colnames N/A N/A RobustLinearNormalizationTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self c N/A Mock N/A N/A N/A self c cache_dir foo N/A N/A self n N/A N/A cache RobustLinearNormalization N/A self c N/A test_init N/A N/A self N/A N/A N/A N/A N/A N/A self n cache N/A self c N/A N/A N/A N/A self n dir foo/robust_linear N/A N/A N/A self assertEqual N/A N/A self n _colmask_filename foo/robust_linear/colmask.npy N/A test_percentiles_filename N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self n _percentiles_filename myplate foo/robust_linear/percentiles/myplate.npy N/A assertArrayEqual N/A N/A self a b N/A N/A N/A N/A N/A self assertTrue N/A N/A np array_equal a b N/A test_colmask N/A N/A self N/A N/A N/A file N/A N/A tempfile NamedTemporaryFile suffix .npy N/A a N/A N/A np empty N/A 20 dtype bool N/A N/A N/A np save N/A file name a N/A N/A N/A self n _colmask_filename N/A file name N/A N/A N/A self assertEqual N/A N/A self n _cached_colmask None N/A N/A N/A self assertArrayEqual N/A N/A self n _colmask a N/A N/A N/A self assertArrayEqual N/A N/A self n _cached_colmask a N/A N/A N/A self assertArrayEqual N/A N/A self n _colmask a N/A N/A N/A file close N/A data_and_percentiles N/A N/A N/A N/A N/A v N/A N/A np linspace 1 9 101 N/A data N/A N/A N/A np vstack N/A v N/A v 2 N/A v 10 T N/A percentiles N/A N/A np vstack N/A N/A data N/A N/A 1 N/A N/A data N/A N/A -2 N/A N/A N/A data percentiles N/A staticmethod test_normalize N/A N/A self N/A N/A N/A N/A data percentiles N/A N/A self data_and_percentiles N/A colmask N/A N/A np array N/A True False True N/A N/A N/A self n _cached_colmask colmask N/A percentiles_file N/A N/A tempfile NamedTemporaryFile suffix .npy N/A N/A N/A np save N/A percentiles_file name percentiles N/A N/A N/A self n _percentiles_filename N/A N/A N/A plate N/A N/A percentiles_file name N/A plate N/A object N/A normalized N/A N/A N/A self n normalize plate data N/A N/A N/A self assertEqual N/A normalized N/A N/A 1 0 0 N/A N/A N/A self assertEqual N/A normalized N/A N/A 1 1 0 N/A N/A N/A self assertEqual N/A normalized N/A N/A -2 0 1 N/A N/A N/A self assertEqual N/A normalized N/A N/A -2 1 1 N/A N/A N/A self assertEqual N/A normalized N/A N/A 50 0 0.5 N/A N/A N/A self assertEqual N/A normalized N/A N/A 50 1 0.5 N/A N/A N/A percentiles_file close N/A test_colnames N/A N/A self N/A N/A N/A N/A N/A self c colnames N/A foo bar baz N/A N/A N/A self n _cached_colmask N/A N/A np array N/A True False True N/A N/A N/A self assertEqual N/A N/A self n colnames N/A foo baz N/A test_create_cache N/A N/A self N/A N/A N/A N/A N/A self n _create_cache_percentiles N/A Mock N/A N/A N/A self n _create_cache_colmask N/A Mock N/A predicate N/A object N/A resume N/A object N/A N/A N/A N/A self n _create_cache predicate resume N/A N/A N/A N/A N/A self n _create_cache_percentiles assert_called_once_with predicate resume N/A N/A N/A N/A N/A self n _create_cache_colmask assert_called_once_with predicate N/A test_get_controls N/A N/A self N/A N/A N/A N/A patch cpa.properties properties N/A N/A N/A properties plate_id PlateName N/A N/A properties image_table ImageTable N/A N/A patch cpa.dbconnect dbconnect N/A N/A N/A N/A dbconnect image_key_columns return_value N/A TableNumber ImageNumber N/A N/A patch cpa.db db N/A N/A N/A N/A db execute return_value N/A N/A p1 1 42 N/A p2 0 11 N/A p1 3 14 N/A predicate predicate N/A controls N/A N/A N/A self n _get_controls predicate N/A N/A N/A N/A db execute assert_called_once_with select distinct PlateName, TableNumber, ImageNumber from ImageTable where predicate N/A N/A N/A self assertEqual N/A controls N/A p1 N/A N/A 1 42 N/A 3 14 N/A N/A N/A self assertEqual N/A controls N/A p2 N/A N/A 0 11 N/A N/A N/A self assertEqual N/A len N/A N/A controls keys 2 N/A test_create_cache_colmask N/A N/A self N/A N/A N/A percentiles_file1 N/A N/A tempfile NamedTemporaryFile suffix .npy N/A percentiles_file2 N/A N/A tempfile NamedTemporaryFile suffix .npy N/A percentiles_file3 N/A N/A tempfile NamedTemporaryFile suffix .npy N/A N/A N/A np save N/A percentiles_file1 name N/A N/A np array N/A 0 2 N/A N/A N/A np save N/A percentiles_file2 name N/A N/A np array N/A N/A 0.1 1.0 N/A 0.9 9.0 N/A N/A N/A np save N/A percentiles_file3 name N/A N/A np array N/A N/A 0.1 0.4 N/A 0.5 0.4 N/A N/A N/A self n _get_controls N/A N/A N/A predicate N/A N/A p1 p2 p3 N/A N/A 1 42 N/A 3 14 N/A N/A 0 11 N/A N/A 23 42 N/A N/A N/A self n _percentiles_filename N/A N/A N/A plate N/A N/A N/A p1 p2 p3 N/A percentiles_file1 name N/A percentiles_file2 name N/A percentiles_file3 name N/A plate N/A colmask_file N/A N/A tempfile NamedTemporaryFile suffix .npy N/A N/A N/A self n _colmask_filename N/A colmask_file name N/A N/A N/A N/A self n _create_cache_colmask predicate N/A colmask N/A N/A np load N/A colmask_file name N/A N/A N/A self assertArrayEqual colmask N/A True False N/A N/A N/A percentiles_file1 close N/A N/A N/A percentiles_file2 close N/A N/A N/A percentiles_file3 close N/A N/A N/A colmask_file close N/A test_compute_percentiles N/A N/A self N/A N/A N/A N/A data percentiles N/A N/A self data_and_percentiles N/A N/A N/A self assertArrayEqual N/A N/A N/A self n _compute_percentiles data percentiles N/A test_create_cache_percentiles_1_nofeatures N/A N/A self N/A N/A N/A N/A N/A N/A self c load return_value N/A N/A N/A np zeros N/A 0 0 N/A N/A N/A self c colnames N/A Foo Bar Baz N/A N/A N/A tempfile NamedTemporaryFile suffix .npy file N/A N/A N/A patch cpa.profiling.cache.logger logger N/A N/A N/A logger warning N/A Mock N/A N/A N/A N/A self n _create_cache_percentiles_1 p1 N/A N/A 1 12 N/A 0 11 N/A file name N/A N/A N/A N/A logger warning assert_called_once_with No DMSO features for plate p1 N/A N/A N/A self assertArrayEqual N/A N/A np load N/A file name N/A N/A np zeros N/A 0 3 N/A test_create_cache_percentiles_1_features N/A N/A self N/A N/A N/A N/A data percentiles N/A N/A self data_and_percentiles N/A N/A N/A N/A self c load return_value N/A data N/A N/A N/A tempfile NamedTemporaryFile suffix .npy file N/A N/A N/A N/A N/A self n _create_cache_percentiles_1 p1 N/A N/A 1 12 N/A 0 11 N/A file name N/A N/A N/A self assertArrayEqual N/A N/A np load N/A file name percentiles N/A test_create_cache_percentiles N/A N/A self check_directory make_progress_bar N/A N/A N/A controls N/A p1 p2 p3 N/A N/A 1 42 N/A 3 14 N/A N/A 0 11 N/A N/A 23 42 N/A progress N/A Mock return_value N/A N/A controls items N/A N/A make_progress_bar return_value progress N/A N/A N/A self n _get_controls N/A Mock return_value controls N/A N/A N/A self n _percentiles_filename N/A N/A N/A p N/A N/A foo/%s.npy p N/A N/A N/A self n _create_cache_percentiles_1 N/A Mock N/A N/A N/A N/A self n _create_cache_percentiles predicate False N/A N/A N/A check_directory assert_called_once_with foo False N/A N/A N/A self assertEqual N/A N/A N/A self n _create_cache_percentiles_1 call_args_list N/A N/A call plate image_keys N/A foo/%s.npy plate N/A N/A plate image_keys N/A N/A controls items N/A N/A patch cpa.profiling.cache.make_progress_bar N/A patch cpa.profiling.cache._check_directory N/A test_normalizations N/A N/A N/A N/A N/A N/A N/A N/A cache normalizations N/A DummyNormalization N/A cache DummyNormalization N/A N/A N/A N/A cache normalizations N/A RobustLinearNormalization N/A cache RobustLinearNormalization N/A CacheTestCase N/A N/A unittest TestCase N/A test_init N/A N/A self N/A N/A N/A c N/A N/A cache Cache foo N/A N/A N/A self assertEqual N/A c cache_dir foo N/A N/A N/A self assertEqual N/A c _plate_map_filename foo/image_to_plate.pickle N/A N/A N/A self assertEqual N/A c _colnames_filename foo/colnames.txt N/A test_image_filename N/A N/A self N/A N/A N/A c N/A N/A cache Cache foo N/A N/A N/A self assertEqual N/A N/A c _image_filename plate1 N/A 0 42 foo/plate1/0-42.npz N/A N/A N/A self assertEqual N/A N/A c _image_filename plate1 N/A 42 foo/plate1/42.npz N/A test_image_filename_backward_compatible N/A N/A self N/A N/A N/A c N/A N/A cache Cache foo N/A N/A N/A self assertEqual N/A N/A c _image_filename_backward_compatible plate1 N/A 0 42 foo/plate1/0-42.npy N/A N/A N/A self assertEqual N/A N/A c _image_filename_backward_compatible plate1 N/A 42 foo/plate1/42.npy N/A test_plate_map N/A N/A self N/A N/A N/A c N/A N/A cache Cache foo N/A original N/A dict foo 42 N/A N/A N/A tempfile NamedTemporaryFile suffix .pickle file N/A N/A N/A N/A N/A cpa util pickle N/A file name original N/A N/A c _plate_map_filename N/A file name N/A N/A N/A self assertEqual N/A c _cached_plate_map None N/A first N/A c _plate_map N/A N/A N/A self assertFalse N/A first original N/A N/A N/A self assertEqual first original N/A N/A N/A self assertTrue N/A N/A c _cached_plate_map first N/A N/A N/A self assertTrue N/A N/A c _plate_map first N/A test_colnames N/A N/A self N/A N/A N/A N/A N/A tempfile NamedTemporaryFile suffix .txt file N/A N/A N/A open N/A file name w f N/A N/A f foo N/A f bar N/A f baz N/A c N/A N/A cache Cache foo N/A N/A c _colnames_filename N/A file name N/A N/A N/A self assertEqual N/A c _cached_colnames None N/A N/A N/A self assertEqual N/A c colnames N/A foo bar baz N/A N/A N/A self assertEqual N/A c _cached_colnames N/A foo bar baz N/A N/A N/A self assertEqual N/A c colnames N/A foo bar baz N/A test_create_cache_plate_map N/A N/A self image_key_columns execute pickle init N/A N/A N/A image_key_columns N/A TableNumber ImageNumber N/A N/A execute return_value N/A N/A p1 1 42 N/A p2 0 11 N/A p1 3 14 N/A N/A init return_value None N/A c N/A N/A cache Cache my_cache_dir N/A N/A c _plate_map_filename N/A sentinel plate_map_filename N/A N/A N/A c _create_cache_plate_map False N/A N/A N/A pickle assert_called_once_with N/A sentinel plate_map_filename N/A N/A 1 42 N/A 0 11 N/A 3 14 p1 p2 p1 N/A N/A N/A patch object N/A cache Cache __init__ N/A patch cpa.util.pickle N/A patch cpa.db.execute N/A patch cpa.dbconnect.image_key_columns test_create_cache_features N/A N/A self plate_map make_progress_bar N/A N/A N/A cache_dir N/A N/A tempfile mkdtemp N/A c N/A N/A cache Cache cache_dir N/A N/A plate_map __get__ N/A Mock return_value N/A N/A 0 42 N/A 1 23 p1 p2 N/A N/A make_progress_bar return_value N/A N/A N/A x N/A x N/A N/A c _create_cache_image N/A Mock N/A N/A N/A c _create_cache_features False N/A calls N/A N/A c _create_cache_image call_args_list N/A N/A N/A len calls 2 N/A N/A N/A call p1 N/A 0 42 False calls N/A N/A N/A call p2 N/A 1 23 False calls N/A N/A patch cpa.profiling.cache.make_progress_bar N/A N/A patch object N/A cache Cache _plate_map N/A