Hello Yikan--

> 
> 
> when I have written a python script to run my 11 models’  refinement, when I 
> run a single generate.inp it work.
> but when I run my python script the wrong messages are as follows:
> %NEXTF-ERR: EOF or ERROR encountered on input:
> PRIEND: 1 levels not terminated
> 
> I do not know why.
> 
> here is  my python scripts:
> 
> for i in range(1,12):
>     
>     fileN = open('generate' + str(i) + '.inp','w')
>     for line in open('generate.inp','r'):
>         line = line.replace('$fileName','model_' + str(i)) 
>         fileN.write(line)
> 
>     cmdLine = 'cns_solve <generate%d.inp> generate%d.out' % (i, i) 
>     print cmdLine 
>     os.system( cmdLine )
> 

This doesn't look like Xplor-NIH to me. Perhaps you have written the
incorrect mailing list?

best regards--
Charles

_______________________________________________
Xplor-nih mailing list
[email protected]
https://dcb.cit.nih.gov/mailman/listinfo/xplor-nih

Reply via email to