in addition, now it occurs "[Errno 2] No such file or directory: 
'newBfactors.txt', although I have specified the directory of  
'newBfactors.txt'. It seems this error message has no relation with which 
directory I put 'newBfactors.txt'.


Any advice?


Smith







-------- Forwarding messages --------
From: "Smith Liu" <smith_liu...@163.com>
Date: 2015-12-10 22:27:03
To: "pymol-users@lists.sourceforge.net" <pymol-users@lists.sourceforge.net>
Subject: [PyMOL] on load new B-factors

Dear All,


When I use "loadBfacts mol, [startaa, [source, [visual Y/N]]]", I meet the 
following error message,


"File "Some_directory\parse.py", line 250, in parse
self.result=app(layer.kw[0],layer.args,layer.kw_args)
File "loadBfacts.py",line 16, in loadBfacts
obj=cmd.get_object_list(mol)[0]
TypeError: ‘NoneType' object is unsubscriptable"


Will you please tell me how to clear this error?


In addition, for the newBfactors.txt, each line was for one residue rather than 
for the one atom, right?  If my PDB starting at resi 100 ending at resi 400, 
the newBfactors.txt should start at resi 1 and end at resi 400 in order to have 
pymol color the whole molecule correctly based on new B-factors, am I right or 
not?


Smith








 
------------------------------------------------------------------------------
_______________________________________________
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
------------------------------------------------------------------------------
_______________________________________________
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