In the GUI command line, I entered get_view and got the following

 

set_view (\

    -0.219962522,    0.763355076,   -0.607366502,\

     0.878539860,    0.425617725,    0.216765702,\

     0.423973948,   -0.485916167,   -0.764265418,\

     0.001047601,    0.000947788,  -48.208724976,\

   -24.094066620,  -41.117546082,    2.001868963,\

   -84.735671997,  181.151062012,  -20.000000000 )

 

 

However, in my filename.py, use of the command 

 

cmd.set_view (\

    -0.219962522,    0.763355076,   -0.607366502,\

     0.878539860,    0.425617725,    0.216765702,\

     0.423973948,   -0.485916167,   -0.764265418,\

     0.001047601,    0.000947788,  -48.208724976,\

   -24.094066620,  -41.117546082,    2.001868963,\

   -84.735671997,  181.151062012,  -20.000000000 )

 

Returned the error message:

 

TypeError: set_view() takes from 1 to 5 positional arguments but 18 were
given

 

_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to