Skip to content

Commit

Permalink
Add script and fix pyrank save location
Browse files Browse the repository at this point in the history
  • Loading branch information
darafferty committed Jun 14, 2024
1 parent ddbb860 commit dfe265a
Show file tree
Hide file tree
Showing 2 changed files with 410 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bdsf/islands.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def __call__(self, img):
if opts.output_all:
write_islands(img)
if opts.savefits_rankim or opts.output_all:
resdir = img.basedir + '/misc/'
os.makedirs(resdir, exist_ok=True)
func.write_image_to_file(img.use_io, img.imagename + '_pyrank.fits', pyrank, img)

img.pyrank = pyrank
Expand Down
Loading

0 comments on commit dfe265a

Please sign in to comment.