uncommented 3d model generation
This commit is contained in:
parent
59cb8d5f43
commit
4120c8a2c7
|
@ -75,7 +75,7 @@ with tempfile.TemporaryDirectory() as directory:
|
||||||
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
|
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
|
||||||
mycon.commit()
|
mycon.commit()
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
"""
|
|
||||||
res = get3DModel(receptor_name,ligand_name.replace(".pdbqt","_out.pdbqt"))
|
res = get3DModel(receptor_name,ligand_name.replace(".pdbqt","_out.pdbqt"))
|
||||||
if res == None:
|
if res == None:
|
||||||
reason = "Could not generate the 3D models."
|
reason = "Could not generate the 3D models."
|
||||||
|
@ -102,7 +102,7 @@ with tempfile.TemporaryDirectory() as directory:
|
||||||
copyfile("model.usdz",os.path.join(modelDirectory,(str(jobID)+".usdz")))
|
copyfile("model.usdz",os.path.join(modelDirectory,(str(jobID)+".usdz")))
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print("Could not generate USDZ file")
|
print("Could not generate USDZ file")
|
||||||
"""
|
|
||||||
email(toaddr,jobID,date,description,zipArchive=zi)
|
email(toaddr,jobID,date,description,zipArchive=zi)
|
||||||
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
|
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
|
||||||
mycon.commit()
|
mycon.commit()
|
||||||
|
|
Loading…
Reference in New Issue