Commit 9c17622d authored by Shuai Feng's avatar Shuai Feng
Browse files

fix some bugs

parent f4399123
Pipeline #7603 failed with stage
in 0 seconds
...@@ -231,7 +231,7 @@ class Map2d(object): ...@@ -231,7 +231,7 @@ class Map2d(object):
print("Notice: Your input integral magnitude of Sersic mode (mag) is > 26 mag or < 8 mag.") print("Notice: Your input integral magnitude of Sersic mode (mag) is > 26 mag or < 8 mag.")
if (r_eff < 0): if (r_eff < 0):
raise Exception("Effective radius (r_eff) should be > 0 arcsec!") raise Exception("Effective radius (r_eff) should be > 0 arcsec!")
#print("Effective radius (r_eff) should be > 0 arcsec!") # print("Effective radius (r_eff) should be > 0 arcsec!")
if (n < 0): if (n < 0):
raise Exception("Sersic index (n) should be > 0!") raise Exception("Sersic index (n) should be > 0!")
if (ellip > 1) or (ellip < 0): if (ellip > 1) or (ellip < 0):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment