// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once #include #include "JFJochProcess.h" // ProcessConfig, ProcessMode class DiffractionExperiment; // Reconstruct an equivalent jfjoch_process / jfjoch_azint command line for a configured run, so a // job set up in the GUI can be handed off to a cluster. Covers the settings that matter for the // run, not every obscure flag; geometry is taken from the input file, so geometry overrides are // not emitted. std::string JFJochProcessCommandLine(const ProcessConfig &config, const DiffractionExperiment &experiment, const std::string &input_file);