@@ -91,15 +91,41 @@ def create_group(self, group_name):
91
91
def insert_test_data (self ):
92
92
93
93
self .add_collection ('col1' , 'Description for collection1' )
94
- self .add_collection ('col1-22' , 'Description for collection1' )
94
+ self .add_collection ('col1-22' , 'Description for collection1-22 ' )
95
95
self .add_collection ('col2' , 'Description for collection2' )
96
+
96
97
self .add_coordinate_frame ('cf1' , 'Description for cf1' , 0 , 1000 , 0 , 1000 , 0 , 1000 , 4 , 4 , 4 )
98
+
97
99
self .add_experiment ('col1' , 'exp1' , 'cf1' , 10 , 10 , 1 )
98
100
self .add_experiment ('col1' , 'exp22' , 'cf1' , 10 , 500 , 1 )
101
+
102
+ self .add_channel ('col1' , 'exp1' , 'channel1' , 0 , 0 , 'uint8' , 'image' )
103
+ self .add_channel ('col1' , 'exp1' , 'channel2' , 0 , 0 , 'uint8' , 'image' )
104
+ self .add_channel ('col1' , 'exp1' , 'channel3' , 0 , 0 , 'uint64' , 'annotation' , ['channel1' ])
105
+ self .add_channel ('col1' , 'exp1' , 'layer1' , 0 , 0 , 'uint64' , 'annotation' , ['channel1' ])
106
+
107
+ def insert_lookup_test_data (self ):
108
+ """
109
+ Test data for LookupTest test case.
110
+ """
111
+
112
+ self .add_collection ('col1' , 'Description for collection1' )
113
+ self .add_collection ('col2' , 'Description for collection2' )
114
+
115
+ self .add_coordinate_frame ('cf1' , 'Description for cf1' , 0 , 1000 , 0 , 1000 , 0 , 1000 , 4 , 4 , 4 )
116
+
117
+ self .add_experiment ('col1' , 'exp1' , 'cf1' , 10 , 10 , 1 )
118
+
119
+ # This experiment is _purposed_ named the same as the exp in col1.
120
+ # Ensuring that renaming an experiment does not affect experiments with
121
+ # the same name in other collections.
122
+ self .add_experiment ('col2' , 'exp1' , 'cf1' , 10 , 500 , 1 )
123
+
99
124
self .add_channel ('col1' , 'exp1' , 'channel1' , 0 , 0 , 'uint8' , 'image' )
100
125
self .add_channel ('col1' , 'exp1' , 'channel2' , 0 , 0 , 'uint8' , 'image' )
101
126
self .add_channel ('col1' , 'exp1' , 'channel3' , 0 , 0 , 'uint64' , 'annotation' , ['channel1' ])
102
127
self .add_channel ('col1' , 'exp1' , 'layer1' , 0 , 0 , 'uint64' , 'annotation' , ['channel1' ])
128
+ self .add_channel ('col2' , 'exp1' , 'channel1' , 0 , 0 , 'uinit8' , 'image' )
103
129
104
130
def insert_spatialdb_test_data (self ):
105
131
0 commit comments