diff --git a/gofish/__init__.py b/gofish/__init__.py index a02f1e2..87e31f5 100644 --- a/gofish/__init__.py +++ b/gofish/__init__.py @@ -2,5 +2,5 @@ from .gofish import imagecube -__version__ = '1.4.1' +__version__ = '1.4.1-1' __all__ = ["imagecube"] diff --git a/gofish/gofish.py b/gofish/gofish.py index 4c6cdbd..eab9dd1 100644 --- a/gofish/gofish.py +++ b/gofish/gofish.py @@ -1700,7 +1700,7 @@ def keplerian(self, inc, PA, mstar, dist, x0=0.0, y0=0.0, vlsr=0.0, z_func=z_func, shadowed=shadowed) r_min = 0.0 if r_min is None else r_min - r_max = rvals.max() if r_max is None else r_max + r_max = np.nanmax(rvals) if r_max is None else r_max assert r_min < r_max, 'r_min >= r_max' r_m = rvals * dist * sc.au z_m = 0.0 if cylindrical else zvals * dist * sc.au diff --git a/setup.py b/setup.py index 543b7f2..1b251a7 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name="gofish", - version="1.4.1", + version="1.4.1-1", author="Richard Teague", author_email="richard.d.teague@cfa.harvard.edu", description="Fishing for molecular line emission in protoplanetary disks.",