From 4abda0574eff7c62509495c1d74b28f19c44cb9e Mon Sep 17 00:00:00 2001 From: AK <kutkin@gmail.com> Date: Thu, 5 Aug 2021 12:26:12 +0000 Subject: [PATCH] fix splitext --- cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster.py b/cluster.py index fc51a99..67aa4a1 100755 --- a/cluster.py +++ b/cluster.py @@ -456,7 +456,7 @@ def main(img, resid, model, auto=True, add_manual=False, nclusters=5, boxsize=25 nbright=80, cluster_radius=5, cluster_overlap=1.6): path = os.path.split(os.path.abspath(img))[0] - output = os.path.spitext(img)[0]+'-clustered.txt' + output = os.path.splitext(img)[0]+'-clustered.txt' df = pd.read_csv(model, skipinitialspace=True) df['ra'] = df.Ra.apply(ra2deg) -- GitLab