Skip to content

Commit e3ea889

Browse files
committed
Fix for all NA images
1 parent d08e3ed commit e3ea889

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: ProFound
22
Type: Package
33
Title: Photometry Tools
4-
Version: 1.34.1
5-
Date: 2026-01-20
4+
Version: 1.34.2
5+
Date: 2026-02-02
66
Author: Aaron Robotham
77
Maintainer: Aaron Robotham <aaron.robotham@uwa.edu.au>
88
Description: Core package containing all the tools for simple and advanced source extraction. This is used to create inputs for 'ProFit', or for source detection, extraction and photometry in its own right.

R/profoundProFound.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ profoundProFound=function(image=NULL, segim=NULL, objects=NULL, mask=NULL, skycu
343343
objects_redo[mask!=0] = 0L
344344
}
345345

346-
if(redosky){
346+
if(redosky & any(mask == 0L)){
347347
if(redoskysize %% 2 == 0){redoskysize=redoskysize+1}
348348
if(verbose){message(paste('Doing final aggressive dilation -',round(proc.time()[3]-timestart,3),'sec'))}
349349

0 commit comments

Comments
 (0)