From 0092d648b127341083a509a6d4c0fef3d9f07676 Mon Sep 17 00:00:00 2001 From: "Bill Chen (Mac)" Date: Tue, 20 Aug 2024 16:21:08 -0400 Subject: [PATCH] Change to NotImplementedError for abstract function --- galpy/df/streamspraydf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/galpy/df/streamspraydf.py b/galpy/df/streamspraydf.py index 973304ea7..2413e3002 100644 --- a/galpy/df/streamspraydf.py +++ b/galpy/df/streamspraydf.py @@ -371,8 +371,7 @@ def spray_df(self, xyzpt, vxyzpt, dt): vxst, vyst, vzst : array, shape (N,) Velocities of points on the stream in the progenitor coordinates. """ - warnings.warn("Not implemented!", NotImplementedError, stacklevel=1) - pass + raise NotImplementedError class chen24spraydf(basestreamspraydf):