Hello.
As an example:
I create a chempy model
m = chempy.model.Indexed()
I add some atoms and bonds to this model
I add an attribute 'name' to this model
m.name = 'model_name'
After that I load this model into PyMOL
cmd.load_model(m, 'loaded_model')
[I do something] an I want my model back. So I execute
m1 = cmd.get_model('loaded_model')
But now object m1 does not have the attribute 'name'
and m1.name gives an error.

Is it possible to add and preserve extra arguments to model objects?

-- 

Андрей Гончар

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to