Spaces:
Sleeping
Sleeping
Minor linting
Browse files- demo/src/utils.py +2 -2
demo/src/utils.py
CHANGED
@@ -56,9 +56,9 @@ def nifti_to_glb(path, output="prediction.obj"):
|
|
56 |
with open(output, "w") as thefile:
|
57 |
# Write the material definition to the OBJ file
|
58 |
thefile.write(red_material + "\n")
|
59 |
-
|
60 |
for item in verts:
|
61 |
-
#thefile.write('usemtl RedMaterial\n')
|
62 |
thefile.write("v {0} {1} {2}\n".format(item[0], item[1], item[2]))
|
63 |
|
64 |
for item in normals:
|
|
|
56 |
with open(output, "w") as thefile:
|
57 |
# Write the material definition to the OBJ file
|
58 |
thefile.write(red_material + "\n")
|
59 |
+
|
60 |
for item in verts:
|
61 |
+
# thefile.write('usemtl RedMaterial\n')
|
62 |
thefile.write("v {0} {1} {2}\n".format(item[0], item[1], item[2]))
|
63 |
|
64 |
for item in normals:
|