templates:
  main-doc: ./templates/main_doc.html
  maxwell-status: ./templates/maxwell_status.html
  log-output: ./templates/log_output.html
  last-characterizations: ./templates/last_characterizations.html
  last-correction: ./templates/last_correction.html
  running-jobs: ./templates/running_jobs.html
  request-dark: ./templates/request_dark.html
  checkbox: ./templates/checkbox.html
  dark-overview: ./templates/dark_overview.html
  css: ./templates/serve_overview.css

shell-commands:
  nodes-avail-res: "sinfo --nodes=`sinfo -p exfel -t idle -N --noheader -T | grep {} | awk '{{print $6}}'` --noheader -p exfel -o %A"
  total-jobs: "sinfo -p exfel -o %A --noheader"
  upex-jobs: "sinfo -T --noheader | awk '{print $1}'"
  upex-prefix: "upex_"
  tail-log: "tail -5000 web.log"
  cat-log: "cat web.log"

mappings:
  LPD: 
    - LPD
  AGIPD: 
    - AGIPD
  DSSC: 
    - DSSC
  PNCCD: 
    - PNCCD
  JUNGFRAU: 
    - JNGFR 
    - DA05 
    - DA04
  EPIX: 
    - EPIX
  EPIX10K: 
    - EPIX10K
  FASTCCD: 
    - DA05
    - DA01

run-candidates:
    - "--run-high" 
    - "--run-med"
    - "--run-low" 
    - "--run"

server-config:
    port: 8008
    host: max-exfl016
    dark-timeout: 30
    n-calib: 10
    cal_db_interface: tcp://max-exfl016:8022
    cal_db_timeout: 30000

scrpts-cnf:
    req-dark: request_darks.py
    python-v: python

web-service:
    job-db: ./webservice_jobs.sqlite
    cal-config: /home/xcal/calibration_config/default.yaml