This looks like the solution:
cd /sw/lib/python2.5/site-packages/ccpnmr/ccpnmr1.0/python/ccpnmr/update
sudo python2.5 UpdateAuto.py
That's perfect!
On 24 Mar 2008, at 13:16, Murali Vadivelu wrote:
> It looks like I need to import some modules before that would work
> within the python command line.
>
> ---------------------
> im F. Vranken, Wayne Boucher, Tim J. Stevens, Rasmus H. Fogh, Anne
> Pajon, Miguel Llinas, Eldon L. Ulrich, John L. Markley, John Ionides
> and Ernest D. Laue (2005). The CCPN Data Model for NMR Spectroscopy:
> Development of a Software Pipeline. Proteins 59, 687 - 696.
>
> The FAQ is at: http://www.ccpn.ac.uk/ccpn/software/ccpnmr-analysis/faq
> For further help see the mailing list: http://www.jiscmail.ac.uk/
> ccpnmr
>
> >>> updateAll
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> NameError: name 'updateAll' is not defined
> >>> updateCheck
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> NameError: name 'updateCheck' is not defined
> ----------------------------------
>
> Ideally, I am looking for a command that I can run from the regular
> command line.
>
> On 24 Mar 2008, at 13:11, Patrick van der Wel wrote:
>
>> You should be able to use either the command 'updateCheck' or
>> 'updateAll', which check for updates interactively or just apply
>> all current updates, respectively.
>>
>> Patrick
>>
>> Murali Vadivelu wrote:
>>> Dear Developers,
>>>
>>> Is there a way to run the 'Upgrade' menu function from the command
>>> line without running the GUI (analysis GUI; Project > Upgrade).
>>>
>>> Many thanks.
>>>
>>> Best,
>>> M.
|