Skip to content

Commit

Permalink
Don't print
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Feb 27, 2023
1 parent 56647ed commit 63b4c45
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mwdust/util/read_SFD.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def read_SFD_EBV(glon,glat,interp=True,noloop=False,verbose=False):
glat= numpy.require(glat,dtype=numpy.float64,requirements=['C','W'])

# Check that the filename isn't too long for the SFD code
print(len(ebvFileN.encode('ascii')))
if len(ebvFileN.encode('ascii')) >= 120 \
or len(ebvFileS.encode('ascii')) >= 120:
raise RuntimeError('The path of the file that contains the SFD dust maps is too long; please shorten the path of DUST_DIR')
Expand Down

0 comments on commit 63b4c45

Please sign in to comment.