Module Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias AugAssignAdd AttributeStore NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias Import alias Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr ListLoad Num Num Num ListLoad Num Num Num NameLoad NameLoad NameLoad NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad attr Assert CompareEq Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Num Num Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Num Num Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str AttributeLoad NameLoad attr TryExcept body Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Str handlers ExceptHandler type NameLoad body Print Str ExceptHandler type NameLoad body Print Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num NameLoad NameLoad NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad attr Assert CompareEq Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Num Num Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Num Num Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num NameLoad NameLoad NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad attr Assert CompareEq Str NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad Str Str Assign NameStore TupleLoad AttributeLoad NameLoad attr ListLoad Num Num Num ListLoad Num Num Num NameLoad NameLoad NameLoad NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str NameLoad NameLoad NameLoad Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str NameLoad NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr NameLoad attr Assert CompareEq Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Num Num Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str ListLoad Num Num Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Num Num Num Num Assign NameStore BinOpMult Call AttributeLoad NameLoad attr ListLoad Num Num Num Num keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num NameLoad NameLoad NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr NameLoad attr Assert CompareEq Str NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr NameLoad attr Assert CompareEq Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Num decorator_list decorator_list
N/A N/A os N/A sys N/A json N/A tempfile N/A pytest N/A numpy np N/A random N/A N/A sys path N/A N/A N/A N/A os path abspath ../django N/A OCP.settings N/A N/A N/A os environ N/A DJANGO_SETTINGS_MODULE OCP.settings ocptype IMAGE UINT8 params Params jsonproj createJson postmethods getURL postURL postNPZ getNPZ N/A makeunitdb N/A site_to_test N/A SITE_HOST N/A site_to_test site N/A p N/A Params N/A N/A p token unittest N/A N/A p resolution 0 N/A N/A p channels N/A CHAN1 CHAN2 N/A N/A p channel_type IMAGE N/A N/A p datatype UINT8 N/A N/A p dataset unittest_ds Test_Project_Json N/A N/A setup_class N/A N/A self N/A N/A N/A Setup Parameters N/A N/A teardown_class N/A N/A self N/A N/A N/A Teardown Parameters N/A N/A N/A makeunitdb deleteTestDBList N/A unittest unittest2 N/A test_basic_json N/A N/A self N/A N/A N/A Test the basic JSON project creation with only the required fields N/A dataset N/A N/A p dataset N/A 2000 2000 30 N/A 1.0 1.0 5.0 None None None None N/A project N/A N/A p token None None N/A channels N/A N/A N/A p channels N/A 0 N/A N/A N/A p channels N/A 0 N/A p datatype N/A p channel_type http://127.0.0.1/data/sample_dir/ SLICE tif None None None None N/A metadata N/A Author Animal Date_Collected Will Mouse 10/2/2015 N/A json_file N/A N/A tempfile NamedTemporaryFile mode w+b N/A N/A N/A json_file write N/A createJson dataset project channels metadata metadata N/A N/A N/A json_file seek 0 N/A response N/A N/A json loads N/A N/A N/A postURL N/A N/A http://{}/ca/autoIngest/ format SITE_HOST json_file read N/A N/A SUCCESS. The ingest process has now started. response N/A f N/A getURL N/A N/A http://{}/ca/{}/info/ format SITE_HOST N/A p token N/A proj_info N/A N/A json loads N/A N/A f read N/A N/A N/A N/A proj_info N/A project N/A name N/A p token N/A N/A N/A N/A N/A proj_info N/A dataset N/A imagesize N/A 0 N/A 2000 2000 30 N/A N/A N/A N/A N/A proj_info N/A dataset N/A cube_dimension N/A 0 N/A 128 128 16 N/A N/A N/A N/A proj_info N/A dataset N/A scalinglevels 1 N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 0 N/A resolution 0 N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 0 N/A datatype N/A p datatype N/A N/A N/A N/A N/A N/A N/A proj_info N/A metadata N/A 0 N/A Author Will N/A N/A N/A KeyError N/A N/A LIMS System not working N/A N/A AssertionError N/A N/A LIMS System not working N/A test_complex_json N/A N/A self N/A N/A N/A Test the complex JSON project creation with only the required fields N/A N/A p token unittest2 N/A dataset N/A N/A p dataset N/A 2000 2000 30 N/A 1.0 1.0 5.0 N/A 0 0 0 None None None N/A project N/A N/A p token None None N/A channels N/A N/A N/A p channels N/A 1 N/A N/A N/A p channels N/A 1 N/A p datatype N/A p channel_type sample_data_url sample_filename tif None None None None N/A json_file N/A N/A tempfile NamedTemporaryFile mode w+b N/A N/A N/A json_file write N/A createJson dataset project channels N/A N/A N/A json_file seek 0 N/A response N/A N/A json loads N/A N/A N/A postURL N/A N/A http://{}/ca/autoIngest/ format SITE_HOST json_file read N/A N/A SUCCESS. The ingest process has now started. response N/A f N/A getURL N/A N/A http://{}/ca/{}/info/ format SITE_HOST N/A p token N/A proj_info N/A N/A json loads N/A N/A f read N/A N/A N/A N/A proj_info N/A project N/A name N/A p token N/A N/A N/A N/A N/A proj_info N/A dataset N/A imagesize N/A 0 N/A 2000 2000 30 N/A N/A N/A N/A N/A proj_info N/A dataset N/A cube_dimension N/A 0 N/A 128 128 16 N/A N/A N/A N/A proj_info N/A dataset N/A scalinglevels 1 N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 1 N/A resolution 0 N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 1 N/A datatype N/A p datatype N/A test_error_json N/A N/A self N/A N/A N/A Test the wrong JSON project creation with only the required fields N/A dataset N/A N/A p dataset N/A 1000 2000 1000 N/A 1.0 1.0 5.0 N/A 0 0 0 None None None N/A project N/A N/A p token None None N/A channels N/A N/A N/A p channels N/A 1 N/A N/A N/A p channels N/A 1 N/A p datatype N/A p channel_type sample_data_url sample_filename None None None None N/A json_file N/A N/A tempfile NamedTemporaryFile mode w+b N/A N/A N/A json_file write N/A createJson dataset project channels N/A N/A N/A json_file seek 0 N/A response N/A N/A json loads N/A N/A N/A postURL N/A N/A http://{}/ca/autoIngest/ format SITE_HOST json_file read N/A N/A Dataset unittest_ds already exists and is different then the chosen dataset. Please choose a different dataset name response N/A N/A Test_Create_Channel_Json N/A N/A setup_class N/A N/A self N/A N/A N/A Setup Parameters N/A N/A p channels N/A N/A N/A N/A makeunitdb createTestDB N/A p token channel_list N/A p channels ximagesize 2000 yimagesize 2000 zimagesize 1000 xvoxelres 1.0 yvoxelres 1.0 zvoxelres 5.0 N/A teardown_class N/A N/A self N/A N/A N/A Teardown Parameters N/A N/A N/A makeunitdb deleteTestDB N/A p token N/A test_create_json N/A N/A self N/A N/A N/A Test the basic JSON project creation with only the required fields N/A N/A p channels N/A CHAN1 CHAN2 N/A dataset N/A N/A p dataset N/A 2000 2000 1000 N/A 1.0 1.0 5.0 None None None None N/A project N/A N/A p token None None N/A channels N/A N/A N/A p channels N/A 0 N/A N/A p channels N/A 1 N/A N/A N/A p channels N/A 0 N/A p datatype N/A p channel_type sample_data_url sample_filename tif None None None 0 N/A N/A N/A p channels N/A 1 N/A p datatype N/A p channel_type sample_data_url sample_filename tif None None None 0 N/A json_file N/A N/A tempfile NamedTemporaryFile mode w+b N/A N/A N/A json_file write N/A createJson dataset project channels channel_only True N/A N/A N/A json_file seek 0 N/A response N/A N/A json loads N/A N/A N/A postURL N/A N/A http://{}/ca/{}/createChannel/ format SITE_HOST N/A p token json_file read N/A N/A SUCCESS. The information in the channel was correct. response N/A f N/A getURL N/A N/A http://{}/ca/{}/info/ format SITE_HOST N/A p token N/A proj_info N/A N/A json loads N/A N/A f read N/A N/A N/A N/A proj_info N/A project N/A name N/A p token N/A N/A N/A N/A N/A proj_info N/A dataset N/A imagesize N/A 0 N/A 2000 2000 1000 N/A N/A N/A N/A N/A proj_info N/A dataset N/A cube_dimension N/A 0 N/A 128 128 16 N/A N/A N/A N/A proj_info N/A dataset N/A scalinglevels 5 N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 0 N/A resolution 0 N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 0 N/A channel_type N/A p channel_type N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 1 N/A datatype N/A p datatype N/A N/A p args N/A 1000 1100 500 600 200 201 N/A image_data N/A N/A N/A np ones N/A 2 1 100 100 dtype N/A np uint8 N/A N/A random randint 0 255 N/A response N/A postNPZ p image_data N/A voxarray N/A getNPZ p N/A N/A N/A np array_equal image_data voxarray N/A test_error_json N/A N/A self N/A N/A N/A Test the wrong JSON channel creation with only the required fields N/A dataset N/A N/A p dataset N/A 1000 2000 1000 N/A 1.0 1.0 5.0 N/A 0 0 0 None None None N/A project N/A N/A p token None None N/A channels N/A N/A N/A p channels N/A 1 N/A N/A N/A p channels N/A 1 N/A p datatype N/A p channel_type sample_data_url sample_filename tif None None None None N/A json_file N/A N/A tempfile NamedTemporaryFile mode w+b N/A N/A N/A json_file write N/A createJson dataset project channels channel_only True N/A N/A N/A json_file seek 0 N/A response N/A N/A json loads N/A N/A N/A postURL N/A N/A http://{}/ca/{}/createChannel/ format SITE_HOST N/A p token json_file read N/A N/A Channel CHAN2 already exists for this project. Specify a different channel name response N/A N/A Test_Delete_Channel_Json N/A N/A setup_class N/A N/A self N/A N/A N/A Setup Parameters N/A N/A N/A makeunitdb createTestDB N/A p token channel_list N/A p channels channel_type N/A p channel_type channel_datatype N/A p datatype N/A teardown_class N/A N/A self N/A N/A N/A Teardown Parameters N/A N/A N/A makeunitdb deleteTestDB N/A p token N/A test_single_channel_json N/A N/A self N/A N/A N/A Test the basic JSON project creation with only the required fields N/A ocp_dict N/A channels N/A N/A N/A p channels N/A 1 N/A json_file N/A N/A tempfile NamedTemporaryFile mode w+b N/A N/A N/A json_file write N/A N/A json dumps ocp_dict sort_keys True indent 4 N/A N/A N/A json_file seek 0 N/A response N/A N/A json loads N/A N/A N/A postURL N/A N/A http://{}/ca/{}/deleteChannel/ format SITE_HOST N/A p token json_file read N/A N/A SUCCESS response N/A f N/A getURL N/A N/A http://{}/ca/{}/info/ format SITE_HOST N/A p token N/A proj_info N/A N/A json loads N/A N/A f read N/A N/A N/A N/A proj_info N/A project N/A name N/A p token N/A N/A N/A N/A N/A proj_info N/A channels N/A N/A N/A p channels N/A 0 N/A resolution 0 N/A N/A