Skip to content

Commit

Permalink
Merge 401b594 into 46dd9ed
Browse files Browse the repository at this point in the history
  • Loading branch information
ColCarroll committed Sep 2, 2018
2 parents 46dd9ed + 401b594 commit 20b5d47
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arviz/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def load_arviz_data(dataset):
}
}
if dataset in datasets_available:
return InferenceData(datasets_available[dataset]['path'])
return InferenceData.from_netcdf(datasets_available[dataset]['path'])
else:
msg = ['\'dataset\' must be one of the following options:']
for key, value in sorted(datasets_available.items()):
Expand Down
4 changes: 2 additions & 2 deletions arviz/utils/xarray_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def convert_to_dataset(obj, *_, group='posterior', coords=None, dims=None):
inference_data = convert_to_inference_data(obj, group=group, coords=coords, dims=dims)
dataset = getattr(inference_data, group, None)
if dataset is None:
raise ValueError('Can not extract {group}! See {filename} for other '
'conversion utilities.'.format(group=group, filename='__file__'))
raise ValueError('Can not extract {group} from {obj}! See {filename} for other '
'conversion utilities.'.format(group=group, obj=obj, filename=__file__))
return dataset


Expand Down
Binary file modified doc/data/centered_eight.nc
Binary file not shown.
Binary file modified doc/data/non_centered_eight.nc
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/ridgeplot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Ridgeplot
=======
=========
_thumb: .8, .5
"""
Expand Down
2 changes: 1 addition & 1 deletion examples/violinplot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Violinplot
=========
==========
_thumb: .2, .8
"""
Expand Down

0 comments on commit 20b5d47

Please sign in to comment.