Skip to content
Snippets Groups Projects
Commit 4abda057 authored by Alexander Kutkin's avatar Alexander Kutkin
Browse files

fix splitext

parent 964f5c64
Branches
Tags
No related merge requests found
...@@ -456,7 +456,7 @@ def main(img, resid, model, auto=True, add_manual=False, nclusters=5, boxsize=25 ...@@ -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): nbright=80, cluster_radius=5, cluster_overlap=1.6):
path = os.path.split(os.path.abspath(img))[0] 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 = pd.read_csv(model, skipinitialspace=True)
df['ra'] = df.Ra.apply(ra2deg) df['ra'] = df.Ra.apply(ra2deg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment