// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #pragma once #include #include "gemmi/model.hpp" #include "../common/JFJochMessages.h" // The placed model of a rugnux run as the END message carries it (PlacedModelMessage). cell and // data_space_group_name are the reflection files' beside it, which is what WritePlacedModel is to be given; // the model's own group is taken from `st`. PlacedModelMessage PlacedModelFromStructure(const gemmi::Structure &st, const UnitCell &cell, const std::string &data_space_group_name);