# Example of changing the default optimization schedule from modeller import * from modeller.automodel import * log.verbose() env = Environ() # Give less weight to all soft-sphere restraints: env.schedule_scale = physical.Values(default=1.0, soft_sphere=0.7) env.io.atom_files_directory = ['.', '../atom_files'] a = AutoModel(env, alnfile='alignment.ali', knowns='5fd1', sequence='1fdx') a.starting_model = a.ending_model = 1 # Very thorough VTFM optimization: a.library_schedule = autosched.slow a.max_var_iterations = 300 # Thorough MD optimization: a.md_level = refine.slow # Repeat the whole cycle 2 times and do not stop unless obj.func. > 1E6 a.repeat_optimization = 2 a.max_molpdf = 1e6 a.make()