File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,9 @@ def register_dc_group(
174174 select (DataCollectionGroup )
175175 .where (DataCollectionGroup .session_id == session_id )
176176 .where (DataCollectionGroup .sample == dcg_params .sample )
177- .where (f"/Sample{ dcg_params .sample } /Atlas" in DataCollectionGroup .tag )
177+ .where (
178+ col (DataCollectionGroup .tag ).contains (f"/Sample{ dcg_params .sample } /Atlas" )
179+ )
178180 ).all ():
179181 # Case where we switch from atlas to processing
180182 dcg_murfey [0 ].tag = dcg_params .tag or dcg_murfey [0 ].tag
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ def test_register_dc_group_new_dcg_old_atlas(
233233
234234 # Request new dcg registration with atlas experiment type and new processing tag
235235 dcg_params = DCGroupParameters (
236- experiment_type_id = 44 ,
236+ experiment_type_id = 37 ,
237237 tag = "second_processing_tag" ,
238238 atlas = "/path/to/Sample10/Atlas/Atlas_1.jpg" ,
239239 sample = 10 ,
You can’t perform that action at this time.
0 commit comments