@@ -15,7 +15,7 @@ def test_register_dc_group_new_dcg(mock_transport, murfey_db_session: Session):
1515 # Request new dcg registration
1616 dcg_params = DCGroupParameters (
1717 experiment_type_id = 44 ,
18- tag = "atlas_tag " ,
18+ tag = "/path/to/Sample10/Atlas " ,
1919 atlas = "/path/to/Sample10/Atlas/Atlas_1.jpg" ,
2020 sample = 10 ,
2121 atlas_pixel_size = 1e-5 ,
@@ -34,7 +34,7 @@ def test_register_dc_group_new_dcg(mock_transport, murfey_db_session: Session):
3434 "register" : "data_collection_group" ,
3535 "start_time" : mock .ANY ,
3636 "experiment_type_id" : 44 ,
37- "tag" : "atlas_tag " ,
37+ "tag" : "/path/to/Sample10/Atlas " ,
3838 "session_id" : ExampleVisit .murfey_session_id ,
3939 "atlas" : "/path/to/Sample10/Atlas/Atlas_1.jpg" ,
4040 "sample" : 10 ,
@@ -72,7 +72,7 @@ def test_register_dc_group_atlas_to_processing(
7272 dcg = DataCollectionGroup (
7373 id = 2 ,
7474 session_id = ExampleVisit .murfey_session_id ,
75- tag = "atlas_tag " ,
75+ tag = "/path/to/Sample10/Atlas " ,
7676 atlas_id = 90 ,
7777 atlas_pixel_size = 1e-5 ,
7878 sample = 10 ,
@@ -153,7 +153,7 @@ def test_register_dc_group_processing_to_atlas(
153153 # Request new dcg registration with atlas experiment type and tag
154154 dcg_params = DCGroupParameters (
155155 experiment_type_id = 44 ,
156- tag = "atlas_tag " ,
156+ tag = "/path/to/Sample10/Atlas " ,
157157 atlas = "/path/to/Sample10/Atlas/Atlas_2.jpg" ,
158158 sample = 10 ,
159159 atlas_pixel_size = 1e-4 ,
@@ -204,8 +204,8 @@ def test_register_dc_group_processing_to_atlas(
204204 assert second_new_dcg .atlas == "/path/to/Sample10/Atlas/Atlas_2.jpg"
205205 assert second_new_dcg .atlas_pixel_size == 1e-4
206206 # Check the tag of the data collection group was not updated
207- assert new_dcg .tag != "atlas_tag "
208- assert second_new_dcg .tag != "atlas_tag "
207+ assert new_dcg .tag == "/path/to/Sample10/Atlas "
208+ assert second_new_dcg .tag != "/path/to/Sample10/Atlas "
209209
210210
211211@mock .patch ("murfey.server.api.workflow._transport_object" )
@@ -252,7 +252,7 @@ def test_register_dc_group_new_dcg_old_atlas(
252252 {
253253 "register" : "data_collection_group" ,
254254 "start_time" : mock .ANY ,
255- "experiment_type_id" : 44 ,
255+ "experiment_type_id" : 37 ,
256256 "tag" : "second_processing_tag" ,
257257 "session_id" : ExampleVisit .murfey_session_id ,
258258 "atlas" : "/path/to/Sample10/Atlas/Atlas_1.jpg" ,
0 commit comments