Some bug fixes. The fixes to scatterplot and cor code will eventually be replaced with a new approach to building column select lists.

This commit is contained in:
Greg Von Kuster
2007-08-22 20:06:47 +00:00
parent b873d64859
commit fcf736f990
3 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -18,10 +18,13 @@ def get_columns( input ):
for col in range(1, input.metadata.columns+1):
try:
val = float(elems[col-1])
valid = True
except:
val = elems[col-1]
if val:
if val.strip().lower() != "na":
if val.strip().lower() == "na":
valid = True
else:
valid = False
else:
valid = False