Update and refactor

This commit is contained in:
Kylian Schmidt
2025-07-07 14:44:09 +02:00
parent 976d90f26b
commit 9041abb72f
4 changed files with 1510 additions and 128 deletions
+38 -4
View File
@@ -1,7 +1,41 @@
backup_folder: ''
plot_root: gallery
png_dpi: 400
# Gallery Configuration
# ===================
# Paths Configuration
paths:
# Working directory where the script runs from
work_dir: "/work/kschmidt/web"
# Web hosting directory where gallery files are served
web_folder: "/web/kschmidt/public_html/"
# CGI script path (relative to web folder)
cgi_script: "cgi-bin/refresh_gallery.py"
# Config file path for CGI scripts
config_path: "/work/kschmidt/web"
# Gallery Settings
gallery:
# Root folder name for plots in web directory
plot_root: "gallery"
# PNG conversion quality
png_dpi: 400
# Backup folder (leave empty to disable)
backup_folder: ""
# UI Settings
ui:
# Maximum number of recent plots to track
max_recent_plots: 20
# Search settings
search_debounce_ms: 300
# Data Sources
# Each source represents a collection of plots to include in the gallery
sources:
- name: "ttbar_analysis"
path: "/work/kschmidt/NEEDLE/test_analysis/data/cf_store/test_analysis/cf.PlotVariables1D/run2_2016_nano_v9/"
web_folder: '/web/kschmidt/public_html/'