Skip to content

Commit

Permalink
Merge pull request #19 from RUBi-ZA/nizamibilal-patch-1
Browse files Browse the repository at this point in the history
python3 print
  • Loading branch information
nizamibilal authored Jul 5, 2018
2 parents fe78a28 + 8baa678 commit cf7e9c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sdrms.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ def superpose3D(ref, target, weights=None,refmask=None,targetmask=None,returnRot
dotProd = npy.dot( npy.transpose(reftmp), targettmp)
V, S, Wt = npy.linalg.svd(dotProd )
except Exception:
print >> sys.stderr,"Couldn't perform the Single Value Decomposition, skipping alignment"
#print >> sys.stderr,"Couldn't perform the Single Value Decomposition, skipping alignment"
print ("Couldn't perform the Single Value Decomposition, skipping alignment", file=sys.stderr)
return ref, 0
# we already have our solution, in the results from SVD.
# we just need to check for reflections and then produce
Expand Down

0 comments on commit cf7e9c0

Please sign in to comment.