@@ -1060,42 +1060,42 @@ def test_get_scientific_data_product_list():
1060
1060
1061
1061
euclid = EuclidClass (tap_plus_conn_handler = conn_handler , datalink_handler = tap_plus , show_server_messages = False )
1062
1062
1063
- results = euclid .get_scientific_data_product_list (observation_id = 11111 )
1063
+ results = euclid .get_scientific_product_list (observation_id = 11111 )
1064
1064
1065
1065
assert results is not None , "Expected a valid table"
1066
1066
1067
- results = euclid .get_scientific_data_product_list (tile_index = 11111 )
1067
+ results = euclid .get_scientific_product_list (tile_index = 11111 )
1068
1068
1069
1069
assert results is not None , "Expected a valid table"
1070
1070
1071
- results = euclid .get_scientific_data_product_list (category = 'Clusters of Galaxies' , group = 'GrpCatalog' ,
1072
- product_type = 'DpdLE3clAmicoAux' )
1071
+ results = euclid .get_scientific_product_list (category = 'Clusters of Galaxies' , group = 'GrpCatalog' ,
1072
+ product_type = 'DpdLE3clAmicoAux' )
1073
1073
1074
1074
assert results is not None , "Expected a valid table"
1075
1075
1076
- results = euclid .get_scientific_data_product_list (category = 'Weak Lensing Products' , group = '2PCF' ,
1077
- product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1076
+ results = euclid .get_scientific_product_list (category = 'Weak Lensing Products' , group = '2PCF' ,
1077
+ product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1078
1078
1079
1079
assert results is not None , "Expected a valid table"
1080
1080
1081
- results = euclid .get_scientific_data_product_list (category = 'Weak Lensing Products' )
1081
+ results = euclid .get_scientific_product_list (category = 'Weak Lensing Products' )
1082
1082
1083
1083
assert results is not None , "Expected a valid table"
1084
1084
1085
- results = euclid .get_scientific_data_product_list (category = 'Weak Lensing Products' , group = '2PCF' )
1085
+ results = euclid .get_scientific_product_list (category = 'Weak Lensing Products' , group = '2PCF' )
1086
1086
1087
1087
assert results is not None , "Expected a valid table"
1088
1088
1089
- results = euclid .get_scientific_data_product_list (group = '2PCF' , product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1089
+ results = euclid .get_scientific_product_list (group = '2PCF' , product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1090
1090
1091
1091
assert results is not None , "Expected a valid table"
1092
1092
1093
- results = euclid .get_scientific_data_product_list (category = 'Weak Lensing Products' ,
1094
- product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1093
+ results = euclid .get_scientific_product_list (category = 'Weak Lensing Products' ,
1094
+ product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1095
1095
1096
1096
assert results is not None , "Expected a valid table"
1097
1097
1098
- results = euclid .get_scientific_data_product_list (product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1098
+ results = euclid .get_scientific_product_list (product_type = 'DpdCovarTwoPCFWLClPosPos2D' )
1099
1099
1100
1100
assert results is not None , "Expected a valid table"
1101
1101
@@ -1104,43 +1104,43 @@ def test_get_scientific_data_product_list_exceptions():
1104
1104
eculid = EuclidClass ()
1105
1105
1106
1106
with pytest .raises (ValueError , match = "Include a valid parameter to retrieve a LE3 product." ):
1107
- eculid .get_scientific_data_product_list (observation_id = None , tile_index = None , category = None , group = None ,
1108
- product_type = None )
1107
+ eculid .get_scientific_product_list (observation_id = None , tile_index = None , category = None , group = None ,
1108
+ product_type = None )
1109
1109
1110
1110
with pytest .raises (ValueError , match = "The release is required." ):
1111
- eculid .get_scientific_data_product_list (observation_id = 11111 , dataset_release = None )
1111
+ eculid .get_scientific_product_list (observation_id = 11111 , dataset_release = None )
1112
1112
1113
1113
with pytest .raises (ValueError , match = "Incompatible: 'observation_id' and 'tile_id'. Use only one." ):
1114
- eculid .get_scientific_data_product_list (observation_id = 11111 , tile_index = 1234567 )
1114
+ eculid .get_scientific_product_list (observation_id = 11111 , tile_index = 1234567 )
1115
1115
1116
1116
with pytest .raises (ValueError , match = r"Invalid combination of parameters: category=not_valid. *." ):
1117
- eculid .get_scientific_data_product_list (observation_id = 11111 , category = 'not_valid' )
1117
+ eculid .get_scientific_product_list (observation_id = 11111 , category = 'not_valid' )
1118
1118
1119
1119
with pytest .raises (ValueError , match = r"Invalid combination of parameters: group=not_valid. *." ):
1120
- eculid .get_scientific_data_product_list (observation_id = 11111 , group = 'not_valid' )
1120
+ eculid .get_scientific_product_list (observation_id = 11111 , group = 'not_valid' )
1121
1121
1122
1122
with pytest .raises (ValueError , match = r"Invalid combination of parameters: product_type=not_valid. *." ):
1123
- eculid .get_scientific_data_product_list (observation_id = 11111 , product_type = 'not_valid' )
1123
+ eculid .get_scientific_product_list (observation_id = 11111 , product_type = 'not_valid' )
1124
1124
1125
1125
with pytest .raises (ValueError , match = r"Invalid combination of parameters: category=Clusters of Galaxies. *." ):
1126
- eculid .get_scientific_data_product_list (observation_id = 11111 , category = 'Clusters of Galaxies' ,
1127
- group = 'not_valid' )
1126
+ eculid .get_scientific_product_list (observation_id = 11111 , category = 'Clusters of Galaxies' ,
1127
+ group = 'not_valid' )
1128
1128
1129
1129
with pytest .raises (ValueError , match = r"Invalid combination of parameters: category=Clusters of Galaxies; "
1130
1130
r"group=GrpCatalog; product_type=not_valid. *." ):
1131
- eculid .get_scientific_data_product_list (observation_id = 11111 , category = 'Clusters of Galaxies' ,
1132
- group = 'GrpCatalog' ,
1133
- product_type = 'not_valid' )
1131
+ eculid .get_scientific_product_list (observation_id = 11111 , category = 'Clusters of Galaxies' ,
1132
+ group = 'GrpCatalog' ,
1133
+ product_type = 'not_valid' )
1134
1134
1135
1135
with pytest .raises (ValueError ,
1136
1136
match = r"Invalid combination of parameters: category=Clusters of Galaxies; "
1137
1137
r"product_type=not_valid. *." ):
1138
- eculid .get_scientific_data_product_list (observation_id = 11111 , category = 'Clusters of Galaxies' ,
1139
- product_type = 'not_valid' )
1138
+ eculid .get_scientific_product_list (observation_id = 11111 , category = 'Clusters of Galaxies' ,
1139
+ product_type = 'not_valid' )
1140
1140
1141
1141
with pytest .raises (ValueError ,
1142
1142
match = r"Invalid combination of parameters: group=GrpCatalog; product_type=not_valid. *." ):
1143
- eculid .get_scientific_data_product_list (observation_id = 11111 , group = 'GrpCatalog' , product_type = 'not_valid' )
1143
+ eculid .get_scientific_product_list (observation_id = 11111 , group = 'GrpCatalog' , product_type = 'not_valid' )
1144
1144
1145
1145
1146
1146
@patch .object (TapPlus , 'login' )
0 commit comments