diff --git a/csdmpy/__init__.py b/csdmpy/__init__.py index a42f1c3..b233acc 100644 --- a/csdmpy/__init__.py +++ b/csdmpy/__init__.py @@ -33,7 +33,7 @@ __license__ = "BSD License" __maintainer__ = "Deepansh J. Srivastava" __status__ = "Beta" -__version__ = "0.6.0" +__version__ = "0.7.0" __all__ = [ "parse_dict", diff --git a/csdmpy/dimension/__init__.py b/csdmpy/dimension/__init__.py index 2690859..94c4e50 100644 --- a/csdmpy/dimension/__init__.py +++ b/csdmpy/dimension/__init__.py @@ -709,7 +709,7 @@ def labels(self): >>> x2 = Dimension(type="labeled", labels=["Cu", "Ag", "Au"]) - then the labels along the labeled dimension are + then the labels along the labeled dimensions are .. doctest:: @@ -723,7 +723,7 @@ def labels(self): .. doctest:: - >>> np.all(x2.coordinates == x2.labels) + >>> bool(np.all(x2.coordinates == x2.labels)) True In the above example, ``x2`` is an instance of the :ref:`dim_api` class with diff --git a/docs/startFromScratch/interacting_with_csdm.rst b/docs/startFromScratch/interacting_with_csdm.rst index 07d5329..3bac514 100644 --- a/docs/startFromScratch/interacting_with_csdm.rst +++ b/docs/startFromScratch/interacting_with_csdm.rst @@ -370,7 +370,7 @@ Dimension reduction methods >>> minimum = np.min(new_csdm1) >>> print(minimum) 0.0 K - >>> np.min(new_csdm1) == new_csdm1.min() + >>> bool(np.min(new_csdm1) == new_csdm1.min()) True .. note:: See the list of all supported :ref:`numpy_support`.