Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dstndstn/astrometry.net
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Feb 22, 2019
2 parents 369b979 + eba834a commit 02fdb76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ blind-cairo: cairoutils
.PHONY: extra

# Targets that create python bindings (requiring swig)
ifneq ($(SYSTEM_GSL),yes)
py: gsl-an
endif
py: catalogs pyutil libkd-spherematch sdss cairoutils pyplotstuff

libkd-spherematch:
Expand Down
4 changes: 3 additions & 1 deletion util/stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ def runstage(stage, picklepat, stagefunc, force=[], forceall=False, prereqs={},
os.makedirs(dirnm)
except:
pass
pickle_to_file(R, pfn)
tempfn = os.path.join(dirnm, 'tmp-' + os.path.basename(pfn))
pickle_to_file(R, tempfn)
os.rename(tempfn, pfn)
print('Saved', pfn)
return R

0 comments on commit 02fdb76

Please sign in to comment.