File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
import functools
16
- import warnings
17
16
18
17
from typing import Dict , List , Tuple , Union
19
18
@@ -231,16 +230,6 @@ def enhanced(*args, **kwargs):
231
230
return enhanced
232
231
233
232
234
- # FIXME: this function is poorly named, because it returns a LIST of
235
- # points, not a dictionary of points.
236
- def dataset_to_point_dict (ds : xarray .Dataset ) -> List [Dict [str , np .ndarray ]]:
237
- warnings .warn (
238
- "dataset_to_point_dict was renamed to dataset_to_point_list and will be removed!" ,
239
- FutureWarning ,
240
- )
241
- return dataset_to_point_list (ds )
242
-
243
-
244
233
def dataset_to_point_list (ds : xarray .Dataset ) -> List [Dict [str , np .ndarray ]]:
245
234
# grab posterior samples for each variable
246
235
_samples : Dict [str , np .ndarray ] = {vn : ds [vn ].values for vn in ds .keys ()}
You can’t perform that action at this time.
0 commit comments