[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[modeller_usage] python script error
- To:
- Subject: [modeller_usage] python script error
- From: Bruno Cramer <>
- Date: Thu, 30 May 2019 18:13:37 -0300
Hi, I need some help has follows.
I am using the script file as in example of pg 9 0f the User Manual. The
error is given bellow:
bcramer@schrodinger:~/workdir-modeller9.1$ python runmodeller-test1.py
File "runmodeller-test1.py", line 13
a = automodel(env, alnfile = ’alinha.pir’, knowns = ’4hpg’,
sequence = ’bgl’)
^
SyntaxError: invalid syntax
script is as follows
--------------------------------------------
# -*- coding: utf-8 -*-
from modeller import *
from modeller.automodel import *
log.verbose()
env = environ()
env.io.atom_files_directory = ['home/bcramer/workdir-modeller9.1']
env.io.hetatm = True
env.io.water = True
a = automodel(env, alnfile = ’alinha.pir’, knowns = ’4hpg’, sequence =
’bgl’)
a.starting_model = 1
a.ending_model = 5
a.make()
------------------------------------------
OS-Ubuntu 18.4 64b Modeller v.9.21 -Python 2.7
Thank you
Bruno