main
minibutler
Minibutler is looking for new SwissFEL data and submitting analysis jobs to SLURM. This is the little prototype brother of apocalypse, which will replace it later with merged functionality.
Usage
After installation (first clone this repository, then pip install -e . in the project directory into a suitable python environment), we start minibutler with a given directory to watch for new runs:
minibutler --watch-path /sf/cristallina/data/p19150/raw
As soon as the files of a new run appear on the filesystem the scheduled_jobs from the calculator.py module are submitted for execution.
Reprocessing
We can trigger the reprocessing with the current set of functions via a named pipe. For example to reprocess run 112 write into the pipe the run number, e.g. echo 112 > reprocess_pipe in the same directory as the script.
Languages
Python
89.2%
Shell
10.8%