-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Gary--

> I was trying to change segments names in the python interface to match a
> generated psf file
> 
> psfGen.seqToPSF('YYYY.seq',seqType='prot',startResid=1, segName='XXXX')
> 
> from pdbTool import PDBTool
> PDBTool('YYYY.pdb').read()
> 
> sel = AtomSel("all")
> sel.apply( SetProperty("segmentName","XXXX"))
> 
> however, when I check for unknown atoms all the atoms are unknown....
> 
> sel = AtomSel("not known")
> for atom in sel:
> ??print atom.string()

Are atoms known before the sel.apply( SetProperty("segmentName","XXXX"))
line? does PDBTool.read return any errors/warnings?

> 
> is this a problem where I need to?synchronise? pyXplor to the xplor instance
> or vice versa (and if so how) or am I missing something
> 

You shouldn't have to do anything special here. 

best regards--
Charles
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.9 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkxXMJMACgkQPK2zrJwS/lbB4ACdF0+Yl3cTt+jzxR5ZJ32mro1g
L+MAnRZvMIlHqzGwBmTzHMi4VpdkOLfb
=njEE
-----END PGP SIGNATURE-----

Reply via email to