You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

  1. The mfx- accounts are not able to edit the .py files for hutchpython. Therefore, log in with your UNIX account:

    ssh <username>@mfx-daq
  2. Go to the hutch python folder and edit the .py file using eg. Vim:

    # Main hutchpython code:
    cd /reg/g/pcds/pyps/apps/hutch-python/mfx/mfx
    vim beamline.py
    
    # Small methods and scripts, not experiment specific:
    cd /reg/g/pcds/pyps/apps/hutch-python/mfx/mfx
    vim macros.py
    
    # Experiment specific hutch python code:
    cd /reg/g/pcds/pyps/apps/hutch-python/mfx/experiments
    vim <experimentcode>.py
  3. Save your changes using :wq! (if using Vim), as it will otherwise not allow you to make edits


  • No labels