Mercurial > repos > guerler > springsuite
comparison spring_package/Modeller.py @ 40:06337927c198 draft
"planemo upload commit 68723d88e81923739538c34722bc9be164dd4646"
author | guerler |
---|---|
date | Sat, 23 Jan 2021 14:42:46 +0000 |
parents | 172398348efd |
children | f316caf098a6 |
comparison
equal
deleted
inserted
replaced
39:172398348efd | 40:06337927c198 |
---|---|
29 alignment.createModel(chain) | 29 alignment.createModel(chain) |
30 template.saveChain(pdbChain, outputName) | 30 template.saveChain(pdbChain, outputName) |
31 try: | 31 try: |
32 subprocess.run(["pulchra", outputName], check=True) | 32 subprocess.run(["pulchra", outputName], check=True) |
33 except subprocess.CalledProcessError as e: | 33 except subprocess.CalledProcessError as e: |
34 raise Exception(str(e)) | 34 print(str(e)) |
35 return False | |
35 return True | 36 return True |
36 | 37 |
37 | 38 |
38 def TMalign(fileA, fileB, tmName="temp/tmalign"): | 39 def TMalign(fileA, fileB, tmName="temp/tmalign"): |
39 try: | 40 try: |