cast the for loop to integer for python3
cast the for loop to integer for python3

mdesco/dipy,oesteban/dipy,matthieudumont/dipy,FrancoisRheaultUS/dipy,samuelstjean/dipy,villalonreina/dipy,StongeEtienne/dipy,villalonreina/dipy,jyeatman/dipy,jyeatman/dipy,sinkpoint/dipy,matthieudumont/dipy,StongeEtienne/dipy,sinkpoint/dipy,Messaoud-Boudjada/dipy,oesteban/dipy,beni55/dipy,demianw/dipy,rfdougherty/dipy,JohnGriffiths/dipy,rfdougherty/dipy,nilgoyyou/dipy,Messaoud-Boudjada/dipy,nilgoyyou/dipy,samuelstjean/dipy,beni55/dipy,JohnGriffiths/dipy,demianw/dipy,samuelstjean/dipy,mdesco/dipy,FrancoisRheaultUS/dipy