6.5 Installing WinCoot Interface

WinCoot does not support writing extensions in GUILE. Extensions may be written in python, however.

The WinCoot python script file ``flynn.py'' is included in your flynn distribution in the ``utilities/flynn/wincoot'' directory. The following steps are required to integrate flynn with WinCoot.

  1. Install WinCoot (at least version 0.3.3)

  2. Install flynn and writedict somewhere in your path. If you can't run flynn from the command line, neither can WinCoot.

  3. Place this file ``flynn.py'' in the coot extensions directory where ``extensions.py'' is located.

    Typically, this directory is C:
    WinCoot
    share
    coot
    python
    .

  4. Add ``flynn.py'' to the extension list in ``coot_load_modules+gui.py''. (same directory as extensions.py) before ``extensions.py''

    For example:

          "coot-gui.py",
          "flynn.py",
          "extensions.py",
    

  5. Add the following lines to the file named extensions.scm (this will be in your coot distribution)

    The easiest place to put this right after the line

           menu = coot_menubar_menu("Extensions")
    

    here are the lines to add:

           add_simple_coot_menu_menuitem(menu, "Fit Ligand...", do_flynn_gui)
           add_simple_coot_menu_menuitem(menu, "Make CIF...", do_writedict_gui)
    

To assist this process, modified versions of ``coot.py'' and ``extensions.py'' are supplied with flynn. These versions have been tested on coot version 0.3.3.