-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello David--
> I assume I'm doing something stupid, but I can't seem to get Xplor (2.21, 2.2
> 3) to parse pot.setPotType("soft") in analyze.py from the gb1_rdc examples (o
> r my real data).
> I'm putting pot.setPotType( "soft" ) between pot = create_NOEPot and pot.setS
> cale(scale) (line 143, minus the # and the trailing comments).
> I then get:
>
> analyze.py(137): for (name,scale,file) in [('all',1,"noe_sum_3.tbl"),
> analyze.py(142): pot = create_NOEPot(name,file,splitRestraints=True)
> analyze.py(143): pot.setPotType("soft")
> Traceback (most recent call last): ...
> AttributeError: setPotType
when splitRestraints=True, create_NOEPot returns a PotList of NOEPots,
and to set the potType to soft on all of these, you can do
map(lambda pot: pot.setPotType("soft"), noe)
best regards--
Charles
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.9 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkvFoXUACgkQPK2zrJwS/lbZZACfSlFDqwQtc2FxLN5NIajJPdUc
FLwAnj/YV0RsjWy/3ncm/pLUZWSMHkJF
=hf82
-----END PGP SIGNATURE-----