adding fix for bash
This commit is contained in:
parent
be76912df2
commit
68439cc764
|
@ -244,7 +244,7 @@ with tempfile.TemporaryDirectory() as directory:
|
||||||
get3DModel(pdbpath,"%s_out.pdbqt"%(records[4]))
|
get3DModel(pdbpath,"%s_out.pdbqt"%(records[4]))
|
||||||
os.system("collada2gltf -i model.dae -o model.gltf")
|
os.system("collada2gltf -i model.dae -o model.gltf")
|
||||||
copyfile("model.gltf",os.path.join(modelDirectory,(str(jobID)+".gltf")))
|
copyfile("model.gltf",os.path.join(modelDirectory,(str(jobID)+".gltf")))
|
||||||
os.system("docker run -it --rm -v $(PWD):/usr/app leon/usd-from-gltf:latest model.gltf model.usdz")
|
os.system("docker run -it --rm -v $(pwd):/usr/app leon/usd-from-gltf:latest model.gltf model.usdz")
|
||||||
copyfile("model.usdz",os.path.join(modelDirectory,(str(jobID)+".usdz")))
|
copyfile("model.usdz",os.path.join(modelDirectory,(str(jobID)+".usdz")))
|
||||||
#copy(("Curie_Web_Result_"+str(jobID)),f)
|
#copy(("Curie_Web_Result_"+str(jobID)),f)
|
||||||
email(zi)
|
email(zi)
|
||||||
|
|
Loading…
Reference in New Issue