Skip to content

Commit

Permalink
#4 Fix a small syntax typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-guangtou committed Aug 20, 2018
1 parent cfe20b9 commit c52cf83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kungpao/sbp.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,9 @@ def ellipseGetOuterBoundary(ellipseOut, ratio=1.2, margin=0.2, polyOrder=12,
else:
outRsma = np.nanmean(negRad)
return (outRsma ** 4.0) * ratio
except Exception, errMsg:
except Exception as err:
print(WAR)
print(str(errMsg))
print(err)
return None


Expand Down Expand Up @@ -1379,7 +1379,7 @@ def galSBP(image, mask=None, galX=None, galY=None, inEllip=None,
if stage != 4:
iraf.ellipse(input=imageUse, output=outBin, verbose=verStr)
else:
print "### Input Binary : %s" % inEllip
print("### Input Binary : %s" % inEllip)
iraf.ellipse(input=imageUse, output=outBin,
inellip=inEllip, verbose=verStr)
else:
Expand Down

0 comments on commit c52cf83

Please sign in to comment.