Skip to content
Snippets Groups Projects
Commit f9bd6f41 authored by (no author)'s avatar (no author)
Browse files

another attempt to get that if statement right

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@40 8a9318a1-56ba-4d59-b755-99d26321be01
parent 39a9e452
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ class hdf(SD):
"""
if (scaling_method == 0) :
return raw_data_copy
if not ((scaling_method is None) or (int(scaling_method) > 1)) :
if not ((scaling_method is None) or (int(scaling_method) <= 1)) :
LOG.warn ('Scaling method of \"' + str(scaling_method) + '\" will be ignored in favor of hdf standard method. '
+ 'This may cause problems with data consistency')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment