adding fix for bash

This commit is contained in:
Navan Chauhan 2020-08-30 22:56:56 +05:30
parent be76912df2
commit 68439cc764
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ with tempfile.TemporaryDirectory() as directory:
get3DModel(pdbpath,"%s_out.pdbqt"%(records[4]))
os.system("collada2gltf -i model.dae -o model.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")))
#copy(("Curie_Web_Result_"+str(jobID)),f)
email(zi)