Skip to content
Snippets Groups Projects
Commit d912d842 authored by bbauvin's avatar bbauvin
Browse files

Debugging SCM

parent 722f7b94
Branches
Tags
No related merge requests found
......@@ -82,13 +82,12 @@ def transformData(dataArray):
def isBinary(dataset):
print type(dataset[0,0])
if type(dataset[0,0]) is np.uint8:
return True
for line in dataset:
for data in line:
if data==0 or data==1:
pass
else:
if data!=0 or data!=1:
return False
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment