Viewer: a newly opened file starts with "Known unit cell" unticked
As a bare rugnux forgets the crystal an input file stores (ClearStoredCrystal), the settings panel now shows the file's cell and space group but does not use them until the user ticks "Known unit cell". Before, a file carrying a cell was indexed and merged with it, like rugnux -C/-S. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b5c6ea7990
commit
af79b02241
5 files changed
+15
-5
No files matched your search
@@ -432,10 +432,10 @@ void JFJochProcessingJobsWindow::newJob(ProcessMode mode, CalibrationSelection c
|
||||
//
|
||||
// The cell and space group come from the settings panel and nowhere else: with "Unit cell known"
|
||||
// ticked they are indexed and merged with, unticked the panel clears both and the run determines
|
||||
// them from the data (-C / -S versus bare `rugnux`). The panel is filled from the file when one is
|
||||
// opened, so what a run will use is always the crystal shown on screen - including after a finished
|
||||
// job's _process.h5 becomes the active snapshot, where a run that ended in P1 shows P1 and can be
|
||||
// cleared, rather than silently pinning every later run to it.
|
||||
// them from the data (-C / -S versus bare `rugnux`). A newly opened file starts unticked - its stored
|
||||
// crystal is shown but not used, as `rugnux` forgets it - so what a run uses is always the crystal
|
||||
// shown on screen. A finished job's _process.h5 becoming the active snapshot does tick it with the
|
||||
// run's crystal (a run that ended in P1 shows P1), which can be cleared before the next run.
|
||||
DiffractionExperiment experiment = inputs.experiment;
|
||||
const auto polarization = experiment.GetPolarizationFactor();
|
||||
ApplyRugnuxExperimentDefaults(experiment);
|
||||
|
||||
Reference in new issue
Block a user