Skip to content
Permalink
Browse files

Bug fix: -Fixing invalid assert in python.

  • Loading branch information...
skanti committed Jan 30, 2019
1 parent 7ff30e6 commit 69dfd3c805f4353ad3d8a78f30bbbe6266ee269a
Showing with 1 addition and 1 deletion.
  1. +1 −1 Routines/Script/Annotation2Mesh.py
@@ -86,7 +86,7 @@ def decompose_mat4(M):
if scan_file == "": # <-- do just once, because scene is same for all cad models
scan_file = params["scannet"] + "/" + id_scan + "/" + id_scan + "_vh_clean_2.ply"
Mscan = make_M_from_tqs(r["trs"]["translation"], r["trs"]["rotation"], r["trs"]["scale"])
assert(os.path.exists(scan_file), scan_file + " does not exist.")
assert os.path.exists(scan_file), scan_file + " does not exist."
with open(scan_file, 'rb') as read_file:
mesh_scan = PlyData.read(read_file)
for v in mesh_scan["vertex"]:

0 comments on commit 69dfd3c

Please sign in to comment.
You can’t perform that action at this time.