> I just applied some updates to analysis and got the following error in
> their installation
>
> File "/sw/ccpnmr/ccpnmr1.0/python/ccp/util/LabeledMolecule.py", line 191
> molWeightSum = sum(x.weight for x in molLabelFractions)
> ^
> SyntaxError: invalid syntax
Looks like your version of Python is slightly too old for some of the
newer code which is being readied for the next big release. (This syntax
is fine in the latest versions of Python.)
I have put up a fix which will work with older Python versions.
In the absence of a working Analysis use the following command to get the
patch:
updateAll
Or failing that:
python /sw/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdatePopup.py
T.
-------------------------------------------------------------------------------
Dr Tim Stevens Email: [log in to unmask]
Department of Biochemistry [log in to unmask]
University of Cambridge Phone: +44 1223 766018 (office)
80 Tennis Court Road +44 7816 338275 (mobile)
Old Addenbrooke's Site +44 1223 364613 (home)
Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
United Kingdom http://www.pantonia.co.uk
-------------------------------------------------------------------------------
------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
-------------------------------------------------------------------------------
|