From 54de990100d8314bd84856fa34027a9288bbbc69 Mon Sep 17 00:00:00 2001 From: leonarski_f Date: Sat, 11 Jul 2026 10:32:23 +0200 Subject: [PATCH] viewer: show only the high-resolution limit in the stats hero card Drop the low-resolution edge from the Resolution card - only the high-res limit (the CC1/2-cutoff value) is of interest. Co-Authored-By: Claude Opus 4.8 --- viewer/windows/JFJochMergeStatsWindow.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/viewer/windows/JFJochMergeStatsWindow.cpp b/viewer/windows/JFJochMergeStatsWindow.cpp index 05b3cb9b..3f0192ae 100644 --- a/viewer/windows/JFJochMergeStatsWindow.cpp +++ b/viewer/windows/JFJochMergeStatsWindow.cpp @@ -86,11 +86,10 @@ JFJochMergeStatsWindow::JFJochMergeStatsWindow(const QString &title, const Merge auto num = [](double v, int d) { return std::isfinite(v) ? QString::number(v, 'f', d) : QStringLiteral("—"); }; auto *hero = new QHBoxLayout(); - // Resolution range of the merge. When no scaling resolution limit is given, the high-resolution - // edge is set by the CC1/2 logistic cutoff, so it varies per run - show it first. d_min is the - // high-res edge (small d), d_max the low-res edge. + // High-resolution limit of the merge (d_min). When no scaling resolution limit is given it is set + // by the CC1/2 logistic cutoff, so it varies per run - show it first. if (o.d_min < o.d_max) - hero->addWidget(MakeCard(QString::asprintf("%.1f–%.2f", o.d_max, o.d_min), "Resolution [Å]", this)); + hero->addWidget(MakeCard(QString::asprintf("%.2f", o.d_min), "Resolution [Å]", this)); hero->addWidget(MakeCard(num(isa, 1), "ISa", this)); hero->addWidget(MakeCard(pct(o.cc_half * 100.0), "CC½", this)); hero->addWidget(MakeCard(pct(o.r_meas * 100.0), "R-meas", this));