Entering edit mode
7.6 years ago
underoath006
▴
10
I don't understand this bracket notation here at all:
cmd.load( filename [,object [,state [,format [,finish [,discrete [,multiplex ]]]]]] )
I've been trying to use the Pymol API but I find the documentation to be very confusing. How do you recommend I go about understanding it?
When it's nested like that it just means the inner argument is conditional on the outer argument being present, but the inner argument is optional.
For example, the Unix tool for changing your password "passwd" has a syntax on OSX like:
passwd [-i infosystem [-l location]] [-u authname] [user]
Where you can only use -l if you first use -i.