Hello Ben thank you for your kind update:).
I did not set one of the starting and ending numbers incorrectly, please see this below pasted script
and let me know if there is a way I can generate these 500-models? (maybe because I am requesting
# 17 residue insertion
return Selection(self.residue_range('85:A', '102:A'),
self.residue_range('518:B', '535:B'),
self.residue_range('951:C', '968:C'),
self.residue_range('1384:D', '1401:D'),
self.residue_range('1817:E', '1834:E'),
self.residue_range('2250:F', '2267:F'),
self.residue_range('2683:G', '2700:G'))
m = MyLoop(env,
inimodel='7dwb_fill.B99990001.pdb', # initial model of the target
sequence='7dwb') # code of the target
m.loop.starting_model= 1 # index of the first loop model
m.loop.ending_model = 500 # index of the last loop model
m.loop.md_level = refine.slow # loop refinement method; this yields
# models quickly but of low quality;
# use refine.slow for better models
m.make()