The graphical User-Interface

A portable GUI to easily transfer cross-link data files and help users focusing on experimental work is the main idea behind CroCo. However, usage of the modules inside Python-scripts is possible (and documented at Functions documentation for read functions and Functions documentation for write functions).

General usage

The CroCO GUI

The CroCo GUI

  • In the Input and Output dropdown menus, choose a format and select a directory or one or multiple files.
    • the Start button will only be available once both formats are set and files are selected
  • If you selected multiple files for input you can use the Merge files and Same settings for all files checkboxes
    • Same settings for all files lets you chose only one set of options (e.g. necessary additional files) that will be used for all files. If the box is unchecked, you will get a separate prompt for each file selected.
    • Merge files concatenates the tables for all selected files and generates the output from the concatenated table
  • CroCo transfers all information found in the input files into the generated xTable files. If you want to restrict the xTable headers to the minimum columns necessary, you can choose Compact xTable
  • Click on Start
  • Depending on your choice of input and output formats, CroCo may require additional information. Therefore a second window may pop up.

Starting the CroCo GUI from Python

  • Clone the CroCo repository from https://github.com/cschmidtlab/CroCo.git
  • Install Python 3+
    • The easiest way is usually to use anaconda Python (https://www.anaconda.com/distribution/)
    • Install the required python packages for CroCo (see requirements.txt in the CroCo root directory) either via pip install PACKAGE or via conda install PACKAGE
  • Open a Python-aware command-line
    • On Windows, use Anaconda Prompt or cmd.exe if you exported Python to your OS PATH-Variable
  • Navigate to CroCo/src
  • Start the GUI by typing python croco_wx.py