Repository navigation
rietx 1.11.0
rietx 1.11.0
This release carries everything that reached main in the eleven days after 1.10.0, 183 merged pull requests.
Six changes are the largest.
The indexer validates each candidate by a Pawley fit, where 1.10.0 ran one Le Bail pass, and a line screen counts the predicted lines the pattern lacks, so a wrong cell can no longer buy a count of zero by refitting its background.
RefinementResult.parameters lists only what the fit could move, so a cubic b and c no longer sit beside a held a.
lab_calibrate and lab_bragg_brentano refine the axial ratio S/L and hold H/L, because the two are interchangeable and a fit could report either as a measurement.
A stage whose χ² still falls, too slowly to move its parameters by an esd, now stops and says so.
A series no longer calls any step a jump or refits a pattern for a high Rwp: it records steps, direction gaps and code counts with no threshold, and it follows each phase and atom by name.
And a structure can hold more: a rigid body on a special position, planarity and torsion restraints, and a distorted child refined on its mode amplitudes.
Everything that changes what 1.10.0 code gets back is in Upgrading.
1.10.0 refuses a structure, a history log, a refinement result or a series result that this release writes (Files that change).
Install
pip install --upgrade rietxUpgrading
Code written against 1.10.0 runs unaltered, with the exceptions in this list.
Code to check
capabilities().schema_versionis0.60, where 1.10.0's was0.59.
0.60 addsRefinementResult.radiationandHistogramResult.radiation(WP-2042),Phase.distortion_modesandRefinementResult.distortion_totals(WP-1419),IndexingResult.formula,IndexingResult.temperature,PeakList.instrument_undeclaredandCellCandidate.formula_units(WP-2030),PlanarityRestraint(WP-1809),GeometryTable.torsionsandTorsionRestraint(WP-1815),StageResult.rwp,StageResult.terminationandStageResult.window_loss(WP-1334, WP-2047), andSeriesResult.code_counts,SeriesResult.direction_gapsandSeriesEntry.rwp_over_median(WP-2003).
RestraintRow.kindgains"planarity"and"torsion".
Files that change says which documents open where.RefinementResult.parameterslists a parameter only when the fit could move it (WP-1999, ruled by the maintainer 2026-11-01).
1.10.0 listed a tied parameter whatever its source did, so a cubicbandcstayed beside a helda, at the carried value and with no esd.
Code that looks up a held path there now finds no row.
Read the value from the model, or list every parameter withRefinement.parameters().
A Le Bail fit of NAC reports 2 tied rows where 1.10.0 reported 18, and a series draws no trajectory point at a pattern where the path could not move.
The printed result does not change, and a CIF still states every cell length and coordinate.lab_calibrateandlab_bragg_brentanorefine the axial ratio S/L and hold H/L at the value you set (WP-2012, ruled by the maintainer 2026-11-01).
Swapping the two gives the same pattern to the last bit, so two free ratios had two mirrored minima and a fit reported whichever it reached.
Code that read a refinedinstrument.geometry.axial_hlfrom either plan now reads the value it declared.
Therefine_axial_asymmetrysuggestion names S/L alone.
An imported GSAS-II recipe still frees both ratios from its single SH/L flag.Refinement.fitno longer raisesValueError: array must not contain infs or NaNswhen a stage's model turns non-finite (WP-2048).
The stage ends at its start withstatus="diverged", the warningSTAGE_NOT_FINITEnames the stage, what went non-finite and the free set, and the fit carries on.
Code that caught the exception reads the stage's status.PeakListrefuses a line whoseq_esddoes not follow from itstwo_theta_esd(WP-2071, issue #1236), in the validator that already refuses a staleq.
The engines weight lines byq_esd, so in 1.10.0 an edit to one line'stwo_theta_esdloaded clean and never reached the search.
Set both together throughq_esd_of_two_theta, or rebuild the list withpick_peaksorfrom_positions.read_fullprof_pcrrefusesNor = 0with a non-zeroPref1, the exponential preferred-orientation function (WP-2058).
1.10.0 built such a file with no preferred orientation and said nothing.write_topas_inprefuses atie_equalgroup whose members hold two values (WP-1911), at the 1e-6 bar the TOPAS reader refuses one on read.SplitFamily(...)built withoutemission_lineraises (WP-1339), since a default of 0 read as an answer.
A stored dump still loads.predicted_but_absentis a capping caveat (C3, issue #916, PR #941): a cell carrying it alone gradesmedium, where 1.10.0 graded itlow;INDEX_REFUTING_CAVEATSno longer names it.
Code that read the caveat as a refutation readssupercell_refutedinstead, which is what refutes an oversized cell now.LeBailValidationgainspredicted_but_absent_uncancellable,predicted_but_absent_uncancellable_in_windowandabsent_source;SupercellCheckgainsrelation, and itsindexis 0 when the parent is not a sublattice (schema 0.60, indexing thresholds 1.12).
Every field is defaulted to the reading a 1.10.0 document had.- The indexer validates each candidate by a Pawley fit, where 1.10.0 ran one Le Bail pass (WP-2011).
LeBailValidation.moderecords which (schema 0.60), and a 1.10.0 document reads"lebail".
The type,CellCandidate.lebail,validate_by_lebailandlebail_rwpkeep their names. - Under a time ceiling (
quick, or a declaredtotal_budget_seconds) the search stops 15 % of it early, where 1.10.0 stopped 8 % early, and the validation fits run cheapest first, each on what the clock holds, where 1.10.0 gave each an equal share in rank order (WP-2011).
rietx.indexing.engines.budget_exhausted_diagnosticloses itsceiling_hitargument, since a validation fit no longer has a share of its own to run out of.
Code that compared two candidates'lebail.rwpreads a different number: a cell that predicts every reflection of another now fits at least as well, so the comparison separates a wrong metric and never an oversized cell. determine_extinction_symbolnow refines the cell before it screens (refine_cell=Trueis the default, issue #726).
A caller that hands it a certified cell and wants that cell held passesrefine_cell=False.
A caller that readsbest_or_none()getsNoneon a new reason as well:ExtinctionScreen.status == "unreliable".
0.60 also addsExtinctionScreen.prefit_rwp,ExtinctionScreen.reference_rwp_netandExtinctionScreen.perfect_fit_rwp_net, each defaulting toNone.SearchSpec.from_formulasets a volume ceiling only, for every formula (WP-2030).
1.10.0 also setmin_volumeto 0.8 ×zformula units by Hofmann's volumes, which excluded the true cell of 15 of 16 inorganic standards;min_volumenow stays at the 15 ų default unless you pass it beside the formula.
Withz=Nonethe spec narrows nothing, where 1.10.0 set a floor of one formula unit.
A search declared this way covers smaller cells and can take longer.
CompositionCheck.in_volume_windowtests the same ceiling alone: it readFalseon 15 of 16 true inorganic cells under the 0.8 floor.INDEX_Z_NOT_INTEGERis withdrawn, withrietx.indexing.diagnostics.Z_INTEGER_TOLERANCE, andcandidate_diagnosticsno longer takesformulaortemperature(WP-2030).
It fired on 12 of 16 true inorganic cells: against Hofmann's volumes a correct inorganic cell looks like a wrong Z.
The number it judged is recorded asCellCandidate.formula_unitswhenindex_patternis givenformula=.- A chemical formula whose full stop reads two ways is refused (WP-2030):
formula_unit_volume,SearchSpec.from_formulaandindex_pattern(formula=)raiseValueErroron"CuSO4.5H2O", which 1.10.0 read as 4.5 O, 39 % low.
What is refused is a decimal count of 1 or more, with no leading zero in its fractional part, straight after an element or a bracket and followed, past any whitespace, by one of 13 adduct molecules (H2O, D2O, NH3, H2O2, HCl, CO2, CH3OH, CH4O, C2H5OH, C2H6O, CH3CN, C6H6, C4H8O) that ends the part:"CuSO4.5H2O","CuSO4.5 H2O","CuSO4.5 H2 O".
Write a hydrate with·("CuSO4·5H2O").
Every other decimal reads as 1.10.0 read it:"Fe2.95O4","Li1.05Mn1.95O4","Ca9.5(PO4)6F2"and"Mg0.5SiO3"are unchanged.
A solvate whose molecule is not on the list ("ZnCl2.2C5H5N") still reads as a decimal. - A plan's last declared stage now converges at the solver's 1e-9 when a closing stage follows it, as it did before 1.10.0 (WP-2045).
RefinementPlan.stage_ftols()ends[..., None, None]where it ended[..., 1e-6, None], and that stage'sStageResult.ftolreadsNone.
A stage's ownStage.ftolstill wins. - Code that filters a joint result's
BISO_NEGATIVE,BISO_UNUSUALLY_LARGEorADP_NOT_POSITIVE_DEFINITEfindings by the bare path of a per-histogram parameter (WP-2028).
Such a finding's path now readshist.<h>.…, where 1.10.0 wrote it bare from pattern 0. - Code that reads a joint result's
ticksortick_hklas one row per phase, where a phase carries a moment (WP-2028).
A neutron pattern's magnetic phase now has its own"<phase> (magnetic)"row there, as a single fit's has had since issue #278. SEQUENTIAL_DISCONTINUITYis gone, with its three thresholdsDISCONTINUITY_FACTOR,DISCONTINUITY_SIGMAandMIN_POINTS_FOR_DISCONTINUITY(WP-2003).
A series no longer calls any step a jump: what one means depends on the sample's history, which no pattern records.
SeriesResult.discontinuitiesis renamedSeriesResult.steps, and it now lists every refined path's step between consecutive patterns, in esds of the later fit (SeriesStep.size_esd), largest first, rather than the one flagged step per path.
The summary's trajectory block names the largest;rx.explain("SeriesResult.steps")carries the reading.
fit(verify_discontinuities=True)isfit(verify_steps=k), which refits the k largest steps cold and writesSeriesStep.cold_ratio, where the diagnostic'svalueheld it; a bool is refused.
A series saved by 1.10.0 opens with itsdiscontinuitiesdropped andsteps=None.- A series no longer refits a pattern because its Rwp is high (WP-2003).
A warm fit climbs the restart ladder when it diverged or raised;reseed_factordefaults toNone, where 1.10.0's 1.25 sent any warm fit above 1.25 × the median Rwp of the accepted patterns up the ladder, andRESEED_FACTORis gone.
Pass a factor to keep that fence; a bool, a non-finite or a non-positive one is refused.
SEQUENTIAL_RWP_OUTLIERis gone with it, andSeriesEntry.rwp_fenceis replaced bySeriesEntry.rwp_over_median, the kept attempt's Rwp over the median of the patterns accepted before it, with no threshold;rx.explain("SeriesEntry.rwp_over_median")says how to read it beside GoF and Rexp.
A step into or out of a high-Rwp pattern is now a row ofSeriesResult.steps, and the trajectory plot no longer boxes such a point.
A series saved by 1.10.0 opens with each entry'srwp_fencedropped andrwp_over_median=None. - A warm fit carrying an
error-level diagnostic is now rejected like a diverged one (WP-2003).
It climbs the restart ladder, and a pattern whose kept attempt still carries one after the last rung is quarantined: it seeds no successor, joins no median, and no step starts or ends on it.
In 1.10.0 aconvergedfit underMODEL_FAR_FROM_DATAseeded the next pattern, which then collapsed too unless the Rwp fence caught it.
SEQUENTIAL_UNRECOVEREDnow says whether the kept attempt diverged or whicherrorcode it carries.
On a series saved by 1.10.0,moved_paths,magnetic_trajectoryand the trajectory plot leave such a pattern out as well, while what it seeded when it ran stays as it was.
Amax_iterfit is not rejected. - A series no longer bounds what a warm pattern's first attempt may spend (WP-2003).
first_rung_factordefaults toNone, where 1.10.0's 3.0 capped it at three times the dearest first attempt the chain had converged, andrietx.sequential.FIRST_RUNG_FACTORis gone.
Pass a factor to keep a bound; a bool, a non-finite or a non-positive one is refused.
A bound now caps each stage of the first attempt and is sampled from each converged attempt's dearest stage, where 1.10.0 sampled the stages' sum; an attempt with any stage stopped at it escalates even when its closing stage converged, which 1.10.0 kept asconverged.
Underreseed=Falsea factor bounds nothing, where 1.10.0 still escalated a first attempt it had cut. SEQUENTIAL_PERSISTENT_FINDINGis gone, with its thresholdrietx.sequential.MIN_POINTS_FOR_PERSISTENCE(WP-2003).
A series now counts every per-pattern code over its patterns, with no threshold.
SeriesResult.code_countslists each code and parameter as aSeriesCodeCount: the patterns it fired on, the patterns in the series and the worst level, largest count first.
1.10.0 reported a pair only when it fired on more than half of a series of five patterns or more, and no measurement set either number.
On a 248-pattern ramp whose unmodelled phase appears at pattern 124,FLOOR_HITfired on 63 patterns, and the half kept it silent.
The summary's trajectory block names the three largest counts, andrx.explain("SeriesResult.code_counts")carries the reading.
summary(deliverable="series")no longer prints apersistent findingsrow.
A series saved by 1.10.0 opens withcode_counts=Noneand its old diagnostics as written.SEQUENTIAL_PATH_DEPENDENTis gone, with its thresholdrietx.sequential.PATH_DEPENDENCE_SIGMA(WP-2003).
Underdirection="both"a series now records every path's forward-backward gap at every pattern, with no threshold.
SeriesResult.direction_gapslists them asDirectionGaprows: the two values, the signed gap, the gap in combined esds and the attempt each chain kept, largest first.
1.10.0 reported a path only past 3 combined esds, and no measurement set that number.
The summary's trajectory block names the largest gap of the three paths that lead, and theordering artefactrow ofsummary(deliverable="series")quotes the largest.
The three things to do about a large gap moved from the diagnostic's suggestion intorx.explain("SeriesResult.direction_gaps").
The[path-dependent]tag on a trajectory plot's title is now the path's largest gap as a number.
The GUI server's series payload dropspath_dependentandpath_dependence_sigma, and each trajectory'sn_sigmais read off the record.
A series saved by 1.10.0 opens withdirection_gaps=Noneand its old diagnostics as written.SEQUENTIAL_PATH_CHECK_INCOMPLETEis split in two (WP-2003).
A comparison that did not run now firesSEQUENTIAL_PATH_CHECK_NOT_RUNatwarning, where 1.10.0 fired the same code at both levels.
SEQUENTIAL_PATH_CHECK_INCOMPLETEnow fires only atinfo, when the comparison ran on fewer patterns or paths than the series has.
A 1.10.0 series carrying INCOMPLETE atwarningstill reads as "did not run".- A series ranks a pattern's attempts in a new order (WP-2003).
An attempt that diverged or carries anerror-level diagnostic now loses to one the first-rung bound cut short, where 1.10.0 kept the diverged one if it ran to completion.
Between two attempts in the same state the lower full least-squares cost now wins: the last stage'sStageResult.cost_final, which counts the background-penalty, Pawley-restraint and soft-restraint rows beside the data.
1.10.0 compared Rwp, which sees the data rows alone.
Where the two attempts did not minimise one objective, Rwp still decides: different σ, a different restraint count or weight, or a Pawley fit.
On the CPD sample-1 chain with every attempt forced, the two rules kept the same attempt on every pattern. - A series follows each phase by its name and each atom by its label, where a
preparehook adds or removes either part-way (WP-1991).
Every path of aSeriesResultnow reads one numbering, that of the structure the series was given, sotrajectory("phases.0.atoms.3.biso")stays on one atom.
In 1.10.0 apreparethat removed O3 from one pattern of a PbSO₄ series joined O4 and then O5 into that trajectory.
SeriesEntry.pattern_pathsandTrajectory.pattern_pathsgive each pattern's own path, andSeriesResult.phase_namesand.atom_labelsrecord the numbering.
A series now refuses a phase name used twice, or an atom label used twice in one phase, with aValueError.
A series saved by 1.10.0 opens as written. - A rigid body whose atoms straddle a symmetry element is now refused,
RIGID_BODY_IMAGE_OVERLAP(WP-1807, #876).
In 1.10.0 such a body built and fitted in silence while the cell held part of it twice: a PbSO₄ SO₄ moved 0.03 off its mirror counted S 8 and O 32 in a cell of 4 and 16.
A model or.rexhistory holding one now refuses at the next table build, naming the pair of atoms, the operation, the distance and the doubled counts.
A body whose atoms carry adisorder_group, or whose overlapping atoms and images in one place have occupancies summing to 1 or less, is not refused.
The remedy is in the message: put the body's origin on the element and list one atom per image. read_patternrefuses a reduced total-scattering file,PATTERN_TOTAL_SCATTERING(issue #1240), where 1.10.0 read it as a 2θ pattern with nothing to say the axis was r or Q.
A file is refused when an#Lline labels r against G or Q against S or F, when its header is PDFgetX2's or PDFgetX3's, or, with neither, when it is named.gr,.sqor.fq.
The exception isrietx.io.formats.TotalScatteringRefused, aValueErrorcarrying the record as.diagnostic; the record also lands ondiagnostics=when a list is passed.
capabilities().reader_formatsgains the refusaltotal_scattering, directly abovexy.
A 2θ scan that only carries one of those suffixes opens under any other name.HumpComponent.positionis required (WP-2013, ruled by the maintainer 2026-11-02), where 1.10.0 defaulted it to 0.0° 2θ.
HumpComponent()and a hump dict withoutpositionnow raise, naming the field; give the hump's apparent 2θ, e.g.position=rx.Parameter(value=5.0, unit="deg").
A stored document that omits it still opens, at the old 0.0°: a.rexhistory and an instrument profile are read underrietx.schemas.common.STORED_DOCUMENT.
Every writer has always written the field, so only a hand-written document is affected.ProjectFormat.reports_atis"build"or"both"(WP-2013): its"read"member is gone, since no format declared it.Refinement(..., history=path)raisesFileExistsErrorwhenpathalready holds a history log (WP-2031), where 1.10.0 appended a second tree whose node ids restarted atn0000.
RefinementTree.for_dataasks again, and a series given a history directory raises before its first fit when the directory holds a log the run would write.
A script rerun on one path passes another path, or continues the log withRefinementTree.loadandRefinement.from_node(tree, "head").
A file 1.10.0 doubled this way still opens:RefinementTree.loadreturns the last tree and reports each earlier one asHISTORY_EARLIER_TREE_SKIPPED, naming its lines.
Numbers that move
- A stage that crawls now stops (WP-1334, ruled by the maintainer 2026-11-03).
Under the default driver, a stage ends once another 300 residual evaluations, at the rate of the last 100, would lower χ² by less than χ²_red, the decrease one esd of joint travel buys.
It readsstatus="converged"withStageResult.termination"slow_descent", and the info diagnosticSTAGE_SLOW_DESCENTnames it.
STAGE_MAX_ITERnow names only the stages that ran out of budget again.
Over the series tests, 6 of 184 fits in 5 chains move, by at most 0.067 esd and with fewer evaluations, and their rungs, statuses and quarantines do not change.
solver="trf"has no such rule, andrietx.optimize.lm.SLOW_DESCENT_ESD = Noneswitches it off. - On the NIST SRM 660c protocol, holding H/L at the declared 0.025 moves S/L from 0.02546(357) to 0.03704(74) (WP-2012).
The cell moves 0.36 ppm, a fifteenth of its esd, and the esds of the cell and the specimen displacement fall to 0.71 and 0.67 of their old size.
Rwp goes from 0.087429 to 0.087431. - A Stephens anisotropic strain block now replaces the isotropic
lor_strainit locks (WP-1467).
In 1.10.0 it sat on top of a frozen copy of that width, so a block declared after an isotropic fit could make no reflection narrower than the old width, and the anisotropic fit could end above the isotropic fit it contains.
A fit that declares a block over a non-zerolor_strainmoves, and one whoselor_strainwas zero does not.
STEPHENS_STRAIN_NOT_POSITIVEnow gives the share of the phase's m·|F|² carried by the reflections the clamp left with no strain width. - A fit keeps each site's multiplicity from its start to its answer (WP-2052, issue #1088).
A half-occupied general atom is the usual way to write a split pair across a mirror, and where the data cannot resolve the pair the solver can stop on the mirror.
1.10.0's next compile then counted the site at the mirror's multiplicity and it lost half its atoms: on the issue's noise-free Pnma model the default plan returned 10 O per cell for 12, χ²_red 23.2 and O1 Biso −1.64.
It now returns 12 O and Biso 0.600, the truth.
The new warningSITE_MULTIPLICITY_KEPTnames a site whose returned coordinates a fresh compile would count at fewer positions, with the atoms per cell both ways. - On a frame where no phase is seen and the residual is noise, a stage now holds the instrument terms that reach the pattern only through peaks (WP-2049, WP-2086, PR #1406): the zero shift, the displacement and the profile widths.
1.10.0 refined them against noise and quoted an esd: on a planted series, frame 87 fitted alone gave a zero shift of −0.0129 ± 0.0015° against a truth of 0.006°.
That frame now quotes no zero shift, andPHASE_UNCONSTRAINEDnames the instrument rows it held.
The residual counts as noise when its Durbin-Watson d reaches Hill and Flack's Q, and with no line of any phase in range the hold applies whatever d reads.
A scale at zero reads the same on a phase whose peaks missed, and there d stays under Q, so the instrument terms stay free and the phase can still reach its peaks.
On a synthetic LaB6 pattern, this release reaches the cell at 1.10.0's rate: 93 of 100 noise draws from a start 2 % off, falling to 37 at 2.5 %.
Tutorial 05's 2 % step works again.
A blank frame with structure in its residual, a hump or rebinned noise, reads under Q and keeps its instrument terms free, as on 1.10.0.
A fit that fails can run for minutes, because its widths walk until every evaluation covers the whole pattern.
Two measured failed fits took 333-348 s and 390-395 s, about 100× longer than the 3.4-3.7 s of a build holding on every such frame, against 43 s and 293 s stored for 1.10.0. - A stated prior cell no longer lifts its own lattice's grade (WP-2082, issue #1308).
A candidate whosefound_byholds"prior"and one engine readslow, where 1.10.0 readmediumand counted the prior as the second engine.
With all three engines running, no grade moved on the issue's fixture. - The report names a one-sided low-angle residual as axial asymmetry when both axial apertures are 0 (WP-2054, #1106).
1.10.0's report had no column to read it with, so the residual went unnamed.
Such a fit can now getrefine_axial_asymmetry: on #1106's script the regions below 40° read +0.020 to +0.025 at 7-9 esd, and 15 of 15 regions pass their gates, where 12 did.
Re-run the plan with a stage freeing S/L when it fires: on SRM 660c that takes Rwp from 0.129 to 0.087, where one stage appended to the converged fit reaches 0.125.
A fit that declares an aperture gets the same report as before. split_localisationcounts a family that straddles an end of the fitted range (WP-1339).
It can return one moreSplitFamilyper range end and emission line, sosplit_shareandn_split_familiescan move on such a pair.- A magnetic fit's moment moduli are refined on their analytic columns (WP-1327, PR #1206), so a converged fit can differ from 1.10.0's in its last digits.
On Cr₂WO₆ 4 K (HB-2A, the acceptance protocol), against the same fit with the modulus columns forced to the forward difference: χ² agrees to 4.4e-11 relative, every value to 5.5e-6 esd and every esd to 7.2e-7 relative, with Rwp 0.10475 in both.
On a synthetic two-site fit the same three agree to 2.1e-16, 1.0e-9 esd and 5.9e-7 (tests/test_moment_jacobian.py). - A fit whose last declared stage ran away no longer stalls in its closing stage (WP-2045).
At 1e-6 that stage could stop on a plateau of its own frozen peak windows, where a widening axial ratio pushed intensity out of the model.
On the IUCr round-robin series carried whole from mixture to mixture, cpd-1b's warm fit stopped there withaxial_slat 557.8, and its closing stage ran for tens of minutes.
It now stays on its warm attempt ataxial_sl0.008 and Rwp 0.140, against 0.137 for the fit from the initial model, and the two patterns take 8 s on an arm64 Mac.
closing_window_tol=Noneis no longer needed for that series.
On the four acceptance protocols the change costs 1.04-1.07 times the evaluations and moves no answer by 0.001 esd. - A series with a lasting rise in Rwp costs less (WP-2003): with no default Rwp fence, the planted-events series, whose unmodelled phase appears at pattern 124, takes 3 111 evaluations and climbs no rung, where the fence spent 13 034 escalating 115 patterns, and across eight measured series the fence's escalations had moved no value by more than 7.2e-4 esd.
HIGH_CORRELATIONandidentifiability.top_correlationsno longer report a correlation the data does not determine (WP-2050, PR #1306).
When the fit holds a direction the data cannot move, a correlation against one of its parameters is set by rounding, and so is a correlation between two parameters that lean on it.
Such a pair is now computed with that direction removed, or left out when one member belongs to it.
On the IUCr round-robin brucite pattern the Gaussian size, Gaussian strain and W are that direction, and a 1e-14 change to one start value gave 35, 36, 39 or 42 warnings.
It now gives 35 at all eight nudges tried, where the unnudged fit gave 36.
The warning it loses islor_size ~ lor_strain, which reads −0.896 with the direction removed, under the 0.98 limit.
A pair whose two members both belong to the direction still reads ±1 and stays aFLAT_DIRECTION.- A joint fit's curves and statistics come from a compile at its answer, as a single fit's do (WP-1421).
Under a default plan the closing stage already ends there, and the WP-1131 size pair reports the same five digits.
Withclosing_window_tol=None, a pattern whose last stage widened its peaks moves: Rwp 0.09658 → 0.10207 on that pair, whose report stops listing 38 cut peak tails as unmatched peaks. - A joint fit now decides whether it can see a phase the way a single fit does (WP-2003, ruled by the maintainer 2026-11-03).
At each stage answer it reads the phase's scale over its counting-noise esd, marginal over the columns that move the peaks, where 1.10.0 read the scale's conditional z alone.
The esd comes off the joint normal matrix at unit histogram weights, and each histogram takes the smaller of its own conditional z and that reading.
The next stage starts from that reading, as a single fit's does, and an instrument column held at the answer stays held when every phase is still unseen.
PHASE_UNCONSTRAINEDin a joint fit quotes the same reading and now says it is "against the counting noise".
On two copies of a blank LaB₆ frame (#481's seed 107), 1.10.0 released the shared cell at a conditional 3.25σ whose marginal reading was 2.61σ.
It then reported a = 4.1517 ± 0.0168 Å with no finding; the cell is now held from the cell stage on, andPHASE_UNCONSTRAINEDreads 2.24σ, the single fit's value.
Every stage spends the single fit's evaluations: without the held instrument columns the profile stage took 402 against 19.
On the existing joint tests, values move by at most 4e-5 esd andPHASE_UNCONSTRAINEDvalues by 1e-8 relative.
On a flat X-ray and neutron pair underprofile_only, the closing stage used to run out its 400 evaluations with every column free.
A collapse then restored the widths, the background constants ran to −2467 and −13175 to cancel the restored peaks, and the stage reportedconvergedat Rwp 2.5e4.
The closing stage now starts held, as the single fit's does on the X-ray pattern alone, and then releases the phase again: its broadened peaks stand in for a flat background, so its scale reads as measured.
The 400 evaluations move to the solve after the release, so it now reportsSTAGE_MAX_ITER, and where the background lands is where that solve stops: 1.0 on macOS arm64, 2931 on Linux x86-64. - The indexing pipeline's reversed questions are asked at the measured resolution by a candidate-independent line screen (
rietx.indexing.screen, C3, #941), not of the candidate's own Le Bail fit and not in the search window.
predicted_but_absentcounts the lines the lattice predicts where the picker's background envelope shows nothing, at the peak list's widths, so a wrong cell can no longer buy a count of zero by refitting its background: on the IUCr round-robin magnetite pattern the primitive description of the correct F lattice read 0 of 163 absent in 1.10.0 and reads its absences now, and the correct cell's d-glide absences are counted but, being cancellable, never reach the caveat.
The caveat fires on the windowed uncancellable absences (inside the first twenty observed lines), where every true cell measured reads 0–2 and every wrong one 7–79 (windowed counts, tabulated in #941's description).
predicted_seen_fractionis the screen's seen fraction at one FWHM after the candidate's common shift: on the synthetic Si pattern of issue #916 the trigonal description that outranked the truth falls from 0.77 to 0.34 against the truth's 0.73.
supercell_checksasks child against parent whenever the parent's indexed lines are a subset of the child's and the child's line set is the denser, so cubic I √2·a₀ over cubic F a₀ (volume ratio 5.66) and cubic P 2a₀ (32) are refuted, 0 of 12 and 0 of 85 extras seen;refutednow needs the extras seen no more often than chance, so SRM 676a's cell as a child of its c/2 subcell (8 of 18 at p₀ 0.21) readsundecidedrather thanrefuted.
validate_by_lebail(freeze_profile=True)fits every candidate with one shared profile for a caller who wants that.
A child whose own lines are seen more often than its parent's is neverrefuted(#1230;SupercellEvidence.child_seen_more): on dense low-symmetry patterns p₀ reached 0.63–0.82, at or above a true cell's own seen fraction, the density order made the true cell the child of a wrong one, and three synthetic truths (triclinic, 276–297 lines; monoclinic, 467) fell from first to second and to twelfth underpreset="full"; they are first again.
The containment refuter's chance rate p₀ is now counted in the windows its seen count uses (#1263;PatternScreen.p0,SupercellCheck.p0). It was counted in windows floored at the assumed shift bound, 0.15° 2θ when no shift is measured, soINDEX_SUPERCELL_REFUTED's "expected by chance" was 1.1–1.5× the seen test's own chance count on the real-data indexing acceptance rows and 4–15× on narrow synthetic lists. The floor now bounds only the power check, p₀ⁿ < α (p0_power), which keeps a two-extra pair on a 0.010° list undecided (#951). Over the 244 containment pairs the indexing acceptance and screen tests ask, one verdict moves: a wrong cubic cell on the no-answer control is no longer refuted by one of its five refuting parents. No ranking test moves. - The indexer's validation fit is a Pawley fit (WP-2011), so every candidate's
lebail.rwpandunmatched_observedmove.
One Le Bail pass re-extracted the intensities only before its solve, and on true cells it stalled: on the round-robin corundum and zircon patterns it left the Gaussian widthwon its lower bound and 21 and 44 observed peaks unmatched, where the Pawley fit hits no bound and leaves 12 and 11.
INDEX_IMPURITY_LINESfires less often on a true cell for that reason, and the GUI's candidate row shows a lower Rwp.
A cell whose lattice contains the truth's now reads about the truth's Rwp: magnetite's primitive description 0.174 against the true F cell's 0.180, where one Le Bail pass read 0.65 against 0.21.
The absent count is the line screen's and does not move.
Without a peak list the absent count still reads the fit's background, which no longer sinks under a wrong cell: LaB6 with its cell 1 % long reads 14 of 28 absent, where it read 0. - The extinction screen's answers move under its new default, a cell-free
profile_onlyLe Bail of the lattice group before the screen (#726).
The prefit starts from a seeded background when the instrument's is the preset's all-zero one.
Every pinned class is unchanged and its ΔBIC moves: certified SRM 676a corundum keepsR - c -at −1301 where it was −3434, and the FAP tutorial keepsP 63 - -at −83 where it was −16.
On the X-ray histogram oftests/data/gsas2_pbso4.gpx, at an index cell 0.1-0.2 % long, the screen went from abstaining toP c - n.
The screen also gates its reference fit now.
When that fit leaves more than half of the net signal's weighted power unexplained, the screen ranks the classes but abstains, withEXTINCTION_SCREEN_UNRELIABLE.
The net is taken against the peak picker's background envelope, so no fit can move it.
On a synthetic Si pattern at synchrotron resolution with the cell 0.4 % off and held, the screen ranked a wrong class first with confidence, and it now abstains.
ExtinctionScreen.prefit_rwpand.reference_rwp_netrecord both fits, andINDEXING_THRESHOLDS_VERSIONis 1.12, the bump C3 (#941) takes for this release. - In a joint fit, a phase with no reflection in one pattern now has a fraction there when a
ParametricEquationties every pattern's scale of it to a variable that another pattern measures, as a shared scale already did (WP-1958 follow-up to #1103).
On a 25-33° scan beside a 25-90° one under a constant equation on iron's scale, the narrow pattern's QPA quoted no iron in 1.10.0 and quotes 1.22 wt% now.
Only a constant link counts: under a polynomial one (a + b·T) a narrow pattern's fraction depended on the start value of iron's scale alone (0.601 or 1.783 wt%), so it stays unmeasured there. - Each unmatched observed peak in the report now says where it sits against the calculated peaks, in
UnmatchedPeak.flank(WP-1977, #1106, #1217), andreport_thresholds_versionis 1.14.
flank.on_flankis true when the observed curve rises from the peak into a calculated peak with no valley as deep as the 5σ detection level, so the data do not resolve the two.
The record also gives that calculated peak's position, prominence and width, the offset in its FWHM, and how many lines as strong carry a lobe on the same side.
A shape misfit, an unmodelled Kα2 line, a lower symmetry and a foreign line all leave such a shoulder, andrietx.help.explain("UnmatchedPeak.flank")says what separates them.
add_impurity_phaseno longer counts a peak on a flank, and no peak leaves the list.
On SRM 660c with the axial apertures at 0, all 11 listed peaks are on a flank andadd_impurity_phase(0.50) is no longer suggested; on the IUCr round-robin's cpd-1b the same action goes.
The line of a measured blank counts as a calculated peak.
An unmodelled phase's lines that stand clear of the modelled ones keep the suggestion.
Files that change
Every document 1.10.0 wrote opens here, except a peak list or a rigid body that this release refuses (Code to check).
1.10.0 refuses a structure, a history log, a refinement result and a series result that this release writes, measured both ways on a synthetic fit's files.
Each carries one of the schema's new keys, even where its value is null, so a .rex project saved here does not open in 1.10.0 either.
An instrument and a pattern open in both.
Capabilities.project_format_version stays 1.5.
- A refinement CIF writes a
_geom_torsionloop wherever its table has torsions (WP-1815).
Each row has four labels, the value with its su, four site-symmetry codes andpubl_flag no, the dictionary's default, because the table lists every bonded chain and a paper tabulates a few.
A LaB6 CIF writes 72 rows. - A phase with a Stephens block no longer carries its locked
lor_straininto a TOPAS file, a refinement CIF's profile text or the peak-list CSV widths (WP-1467).
Requirements that rise
Nothing rises.
rietx still needs rietx-kernels 1.3 or later, and every runtime dependency floor is 1.10.0's.
New
-
Each stage records how it ended:
StageResult.rwpis its Rwp at the values it ended on, andStageResult.terminationthe test that ended its solve (WP-1334).
A caller keeping the best stage reads both from the record, with no event log. -
A stage that ends on peak windows its peaks have outgrown now says so,
STAGE_WINDOWS_STALE(WP-2047).
StageResult.window_loss,NodeMetrics.window_lossand thestage_endevent carry the share of the Bragg intensity the frozen windows dropped at the stage's answer.
The warning fires when the last stage, or the one before a closing stage, drops more than its ownwindow_area_tol.
None of the four standards warns. -
read_fullprof_pcrtakes the control flagsNor,Dum,OptandNre, the analytic backgrounds and the combined nuclear and magnetic phaseJbt = ±10(WP-2058).
Of FullProf 8.20's 94 example.pcrfiles, 8 now read and 6 of those build a structure, where 1.10.0 read none.
Nor = 1builds a March-DollasePreferredOrientation.
TheNrelimits are read and not applied as bounds, and the info diagnosticFULLPROF_LIMITS_NOT_APPLIEDsays so. -
A CIF read with the defaults says when it collapsed anisotropic displacements, with the info diagnostic
CIF_ANISO_COLLAPSED(WP-1468, #1056).
In ellipsoid modeFigureReport.warningscounts the sites drawn as spheres, where 1.10.0 drew them and said nothing: on COD 2104364, a default read gives 20 of 20. -
Structure.from_cif(aniso=True)reads a U^ij that misses its site symmetry only by the file's rounding (WP-2016).
The reader moves the tensor to the nearest allowed one inside half a unit of each component's last printed digit, and the info diagnosticCIF_ADP_SYMMETRY_PROJECTEDnames the sites and components.
ZnO's U12 = 0.0062 beside U11 = 0.0123 on its 3m site is the case: 1.10.0 refused it.
A component printed as zero is held exact, and a tensor further off still refuses, now naming the site and the component. -
render_structure(pad=...)sets the share of each side of the frame left empty, sopad=0crops the picture to its ink andatoms,lettersandto_pxstay right (WP-1468).
The default 0.05 moves no picture.
StructureFigure.polyhedron_palettegives each polyhedron formula drawn and its centre's colour.
Carbon is#666666on a dark ground, and light grounds keep#383838. -
A series records how each pattern started:
SeriesEntry.seeded_fromsays where its warm start came from, andSeriesEntry.flooredwhich moments reached it at their floor (WP-2003). -
fit(stage_reports=True)costs a third less, with every report number unchanged, andfit_endcarriesstage_report_seconds(WP-1335). -
select_arpls_lambdasays when no smoothing strength in its grid left the masked residual looking white (WP-1931).
The new info diagnosticBACKGROUND_SMOOTHING_AT_FLEXIBLE_ENDonBackgroundSelection.diagnosticsnames the strength returned, the grid's most flexible end, and carries the best Durbin-Watson d asvalue.
Nothing else moves: no shipped test pattern falls back, anddiagnosekeeps only the strength. -
result.plot()names the radiation on its 2θ axis, asdata.plot()does, from the newRefinementResult.radiationrecord (WP-2042).
A joint fit records each pattern's own, and a result saved earlier draws the bare axis. -
pick_peaksnames every bound its group fit ends on, and the value (#934 (c)).
The new diagnosticPEAK_POSITION_AT_BOUNDlists the components whose position ran into its bound, half the group's seed FWHM from the seed, each with the bound in degrees and its I/σ_I; it isinfoeverywhere, and itsvaluecounts those still usable above the false-discovery bar.
The new info diagnosticPEAK_NO_INTENSITYlists theno_intensitycomponents, excluded fromusable()and kept in peaks, and says which sat on the zero-intensity bound, which under 1σ of their own esd and which were marked by hand.
PEAK_WIDTH_CAPPEDnow gives each component's FWHM and the width bound, andPEAK_EXPECTED_FALSE_LINESeachweak_linecomponent's I/σ_I and the bar.
No flag, threshold orusable()moves. Over the 16 IUCr round-robin lab patterns 87 components sit on their position bound, and 24 of them are usable and above the bar.
The peak editor passes its own windows (PeakDoc.groups) topeak_diagnostics, which now also takes a mapping keyed by group number, so a bound printed after an edit is the bound of the window the component was fitted in; and ano_intensityflag set by hand on a line the data can tell from zero is listed as marked by hand, not asI/σ_I … < 1. -
EXTINCTION_SCREEN_UNRELIABLEsays whether weak data or misfit failed the gate (#939's review).
ExtinctionScreen.perfect_fit_rwp_netis whatreference_rwp_netwould read for a fit that left only the counting noise, √(N/(N+S)) with N the fitted channels and S the weighted net Bragg power.
When it is past the bound too (S < N), the message says the data are weak or the envelope sits inside the lines (the pair cannot tell which), and no cell or model passes; otherwise it says the reference misfits them, by how much.
No threshold moves. -
read_patternreads a pdCIF whose only intensity column is_pd_proc_intensity_net, as in a deposit TOPAS-Academic wrote (WP-1806, #561).
1.10.0 refused such a file as having no pattern block. A file that also states a total column reads that column, as before.
The info diagnosticPATTERN_INTENSITY_NETandPatternData.metadata["intensity_item"]say the net column was read, since the item is defined as background-subtracted.
PATTERN_NET_HAS_BACKGROUND(warning) fires when the column never comes within 5σ of zero, so either a background was left in or the range holds no empty baseline; the intensities are not changed.
On the acridine form IX deposit (COD 2242872) it fires at 14.1σ, and σ comes from the file's weights, which carry a counting time that varies fivefold across the scan. -
A pdCIF
_pd_proc_ls_weightof zero now excludes its point and only that point, as the pdCIF dictionary defines it ("a data point not used for refinement").
1.10.0 dropped the whole weight column to the Poisson fallback on a single zero, with no diagnostic, so every other point lost its stated weight.
Each run of zero-weight points becomes anexcluded_regionsentry, and the info diagnosticPATTERN_ZERO_WEIGHT_EXCLUDEDcounts them. A weight column holding a negative entry, a null (?or.) or no positive entry is still read as no weights, whole, and the info diagnosticPATTERN_WEIGHT_UNUSABLEnow says so, counting negative and missing entries separately (1.10.0 fell back to the Poisson σ without a word). -
read_patternreads a Bruker DIFFRAC.rawversion 2 (RAW2) file holding one range (WP-2059, issue #1164).
1.10.0 refused every version 2 file. The data offset is read from the block header's stated length, and a file whose header and counts do not account for its size is refused, as is one declaring more than one range.
The counts are the file's, zeros included, and σ is decided as for versions 3 and 4.
The reader was checked against a real public version 2 file, the PbSO₄ round-robin X-ray pattern, whose 6001 counts it reads as TOPAS reads them. -
PHASE_HELD_IN_PATTERNS(info) names a phase whose per-pattern structure or scale a joint fit held in the patterns that cannot see it, with how many (WP-2028). -
The windowed absent count has a density beside it (#941's follow-ups):
LeBailValidation.predicted_but_absent_density_in_window, the count over the window's screened lines (n_lines_screened_in_window), andpredicted_but_absent_excess_in_window, the count above what the run's cleanest candidate's density implies for the cell's lines.
Both are reported; the caveat still fires on the count.
On the acceptance corpus's real families and both PbSO₄ histograms every true cell's excess is 0 to 0.06, magnetite's and PbSO₄ D1A's included (count 2 each), and every oversized wrong cell's is at least 1. -
INDEX_PREDICTED_BUT_ABSENTreads the validation's counts rather than the caveat, so it also fires on a candidate validated directly, and an uncancellable absence that lies only above de Wolff's window is said atinfolevel and caps nothing. -
The GUI's candidate table shows the absent count as a share of the lines screened, with the windowed count beside it (
6/23 lines · 0 in window), rather than of the Le Bail fit's reflections. -
A rigid body can sit on a special position (WP-1807, #561).
Its origin refines on its site's basis, and its rotation only about the axial directions the site symmetry fixes: three on a centre, one on a mirror or a 2-fold, none on a site with two or more symmetry axes.
body_from_atoms(..., origin=...)takes an atom label or a point for the origin, so it can sit on the element the atoms share, andadd_bodyon a special position checks the whole template maps onto itself and keeps one atom per image, warning about those it drops.
The template check tolerates√3 × 10⁻³Å, the most a template typed to three decimals in Å can miss by.
A body with an atom on an element its origin is not on, a torsion moving an on-site atom, or a site body in rhombohedral axes is refused,RIGID_BODY_NOT_INVARIANT, naming the atom.
1.10.0 refused every body whose origin sat on a special position, and advised a move that doubled the composition.
crystallography.wyckoff.axial_basisgives the axial directions, andSiteOrbit.stabilizer_opsthe stabiliser as operation indices. -
A planarity restraint holds four or more atoms near their least-squares plane (WP-1809, schema 0.60).
PlanarityRestraintgives one row per atom, its signed distance to the plane over σ, so the rows' sum of squares is the smallest eigenvalue of the atoms' scatter matrix (Schomaker et al. 1959), with the exact eigenvector derivative; TOPAS'sFlattenrestrains the same geometry.
An atom may enter twice under different images, a ring across an inversion centre; a set on a line has no plane and is refused when the model compiles.
A plane the data hold out of flat raises oneRESTRAINT_TENSION, naming the atoms past three σ, worst first. -
A fit or a single stage whose phase carries anti-bump rows searches it again at the end (WP-1809).
The pair list is built once, by the caller, so a pair that moved inside its minimum from outside the list has no row; the warningRESTRAINT_PAIRS_STALEnames each such pair with its distance and the minimum the list states for its species pair. A contact already inside its minimum where the run started, such as a bond the caller left out of the list, is not named.
A run that moves no coordinate and no cell parameter makes no search.
The warning reads as a warning for theqpa,structureandmagneticpurposes, whose numbers depend on atom coordinates, and as information for the others. -
The geometry table lists torsion angles with esds (WP-1815, schema 0.60).
GeometryTable.torsionsholds aGeometryTorsionper chain of three bonds, Klyne and Prelog's sign, in (−180°, 180°], at most 36 about each atom, withnotescounting the rest and the chains whose bond angle is straight.
The esd's partials are analytic through atan2, so a torsion at exactly 180° has a finite esd, and one held by symmetry or by a rigid body's template has none.
Refinement.geometry(request=None)returns the table, or with aGeometryRequestthe distances, angles and torsions it names by label or by label and symmetry code; its esds come from the last fit's covariance while it is live, and areNoneafter an edit or a checkout.
TorsionRestraintrestrains a chain's torsion to a target through the circular difference, so 180° is a smooth target.
torsionsisNoneon a table written before the field existed and[]where the listing ran and found none.
A result whose geometry table this build wrote, emptytorsionsincluded, and a model carrying a torsion restraint do not open in 1.10.0.
The refinement CIF writes them as a_geom_torsionloop (Files that change). -
SeriesResult.qpa_trajectoryreturns aQPATrajectory(WP-1958 follow-up to #1103).
Itsunmeasuredlists, per point, the phases that pattern quoted no fraction for, andbasis_changessays when the points are fractions of different sets of phases, as when a reflection crosses the range edge part-way through a series. -
ExtinctionPrioralso takes the content per cell:zordensity, withformula(WP-2033, the rest of #935).
A group whose orbits, derived from its operators, cannot hold some element's atoms per cell is kept andExtinctionCandidate.count_notessays so, since a disordered alloy written with whole counts (CuAu) fails the count on its true Fm-3m.
Declareordered=Trueand it is removed;ExtinctionCandidate.exclusion_reasonsnames the fact each removed group fails.
On a synthetic tetrahedrite-like Cu₁₂Sb₄S₁₃ pattern at Z = 2, declared ordered, the classI - - -losesI 21 3, whose orbits (8, 12, 24) cannot hold S 26.
A kept member at which Z′ is not whole names the special positions a formula unit needs (ExtinctionCandidate.special_positions) and is not removed: a P 2₁ specimen at Z = 2 keepsP 1 21/m 1.
A density gives Z within 1.5 %, the agreement ITC Vol. C §3.2.1 asks of a measured density; one that does not give the declared Z on the screened cell filters nothing, andbest_or_none()abstains.
A density that fits several whole Z (above Z ≈ 33) filters nothing and does not abstain (ExtinctionScreen.z_candidates).
ExtinctionScreengainsz,z_from_densityandz_candidates,ExtinctionPriorgainsordered, andINDEXING_THRESHOLDS_VERSIONstays at 1.12 with an "Also 1.12" note. -
MultiHistogramRefinement.parameters()lists a joint fit's parameters asParameterRows, held rows included, before or after a fit, under the names the joint result uses (WP-2028).
A shared parameter is one row, a per-pattern one a row per pattern, and after a fit each row carries its esd. The listing is read-only.
A row tied to a per-pattern source carries that pattern's scope, asresult.parametersalready spelled it (hist.1.phases.0.cell.bwhen each pattern has its own cubica), and a stage naming it is answered bySTAGE_PATH_NOT_FREEwhere 1.10.0 called itSTAGE_PATH_UNKNOWN.
On a joint fit,STAGE_PATH_UNKNOWN's suggestion namesref.parameters(), a locked literal'sSTAGE_PATH_NOT_FREEsuggestion names itsheld_becausethere, andSTAGE_FREED_NOTHING's lists the passed-over pattern's own rows from it. -
read_patterntakes anaxisreader option,"two_theta"or"tof", for a plain two- or three-column file (issue #1064, WP-1952).
It declares what the x column is, so a time-of-flight bank exported with no unit line reads as a flight time in µs; 1.10.0 refused such a bank as "2000° to 18000° … not 2θ", and refusedaxis=as an unknown option.
The declaration is recorded asPatternData.metadata["declared_axis"]. A file whose own unit line contradicts it is refused, and the message quotes both.
Other formats drop the option and reportREADER_OPTION_IGNORED, since each states its axis itself.capabilities().reader_optionslists it.
Magnetic structures
-
The preset
magnetic_structuralrefines the moments with the structure (WP-1418, #1082): moduli, then angles, thenmccusker_structural's stages.
The new warningPLAN_FREES_NO_MOMENTfires, on a single fit and in a series, when no stage of a plan frees a moment the structure carries.
SEQUENTIAL_MOMENT_HOLDnames it as the cause of a pattern's missing esd. -
A moment refined to zero now carries a warning and a usable interval (WP-2060, issue #1075).
The new warningMOMENT_UNSUPPORTEDfires on a free modulus under 3 esd or at the 0.001 μ_B floor, where 1.10.0 said nothing: on a pattern simulated with no moment, the fit endedconvergedwith an esd of 1.5e4-2.4e5 μ_B.
profile_intervalreturned a zero-width interval there, and now returns a one-sided one from 0, such as [0, 0.0595] μ_B.
It steps back when a first probe overshoots, and each pinned refit keeps fixed what the fit's answer stage held, so an interval measures the model the fit returned.
MOMENT_ANGLE_STATIONARYnow names the moduli of its sites. -
RefinementResult.distortion_totalsgives each irrep block of a phase on mode amplitudes its norm in Å, as AMPLIMODES quotes it, with its esd and T² (WP-1419).
Refinement.distortion_block_tests(data)holds each block at 0 in a restricted refit from the full optimum and reports its ΔBIC.
A refit that lands below the full fit proves the full fit stopped short, so the full fit is refitted from there andDistortionBlockTests.restartsrecords it. -
A magnetic candidate at k ≠ 0 carries the BNS number of its own operators (WP-1418, #1197).
Every k = (0, 0, ½) child cell the package built was left-handed, so a group whose type has an enantiomorph printed the mirror type's number: P 4₂ c m'sS5(rank 1)#1prints 76.10, where it printed 78.22, and P 3₁'sS1(a)prints 145.9, where it printed 144.6.
distortion_candidatesreads the same cell, so P 3₁'sS1(a)displacive child is now P 3₂. -
The stationary-angle test builds its moment-angle columns and their curvature analytically on a single fit with extinction skipped (WP-2068).
It takes 14 residual evaluations a test call at four free angles, where the central differences took 287. -
A moment modulus's Jacobian column is analytic (WP-1327, PR #1206), from ∂|F_⊥|² = 2·Re[(P·F)ᴴ·∂F], where 1.10.0 took a forward difference of the peak chain.
The columns agree with an exact oracle to 2.6e-14, where the forward difference sat at 5e-7.
A moment angle, and a split magnetic draw with extinction evaluated, keep the forward difference. -
A distorted child can be refined on its mode amplitudes (WP-1419).
displacive_statement(parent, child, (P, p))states the child as its parent plus one absolute amplitude, in Å, per symmetry-adapted mode, andPhase.distortion_modescarries them; the fit refines the amplitudes and the coordinates follow.
A child stated at the parent is seeded off it along a direction whose stabiliser is exactly the child's group, since every amplitude outside the identity irrep has a zero column there.
The GSAS, GSAS-II, FullProf and TOPAS project writers refuse a phase carryingdistortion_modeswith the one line that writes plain coordinates. -
Structure.from_cifreads a magCIF that names its parent space group under_parent_space_group.name_H-M, as FullProf writes it (WP-1918, issue #1063 item 2).
1.10.0 refused such a file as stating no space group; the magnetic dictionary defines only_parent_space_group.name_H-M_alt, and the undefined tag can mean nothing else.
The new info diagnosticCIF_MAGNETIC_PARENT_TAG_UNDEFINEDnames the tag that was read. A file stating both tags with different groups is refused, quoting both. -
Structure.from_cifreads a CIF whose structure block sits beside blocks that state nothing, no tags or only_audit_tags, such as an emptydata_globalahead of it (WP-1918, issue #1063 item 1).
1.10.0 refused such a file as "not a CIF"; the new info diagnosticCIF_EMPTY_BLOCK_SKIPPEDnames each block skipped.
A file with two blocks holding atom sites, or one beside a block that states anything else, is still refused, and the message now names the blocks and what each states. -
A CIF using the pre-2016 draft magnetic tags (
_magnetic_atom_site_*,_magnetic_cell_*,_magnetic_space_group_symop_operation_*) is refused by name (WP-1918, issue #1063 item 3).
1.10.0 said "no atom sites found" where the sites were under the draft tags, and read the nuclear half of a file whose sites were under_atom_site_, dropping its moments with nothing said.
Two follow-ups from the review: a line inside a semicolon text field that starts with a draft tag no longer refuses the file (nor does a modulation tag, akxkykzline or an_atom_site_moment.line inside a text field refuse or reroute one: all four raw-text scans skip fields), and a k ≠ 0 stated only under the draft's_magnetic_propagation_vector_kxkykznow reaches the magnetic-supercell refusal, as the same k under_parent_propagation_vector.kxkykzalways did (1.10.0 read such a file as k = 0); the refusal names the k tag the file actually used.
Changed
- A
.pcrphase with a bare R symbol over a rhombohedral cell reportsFULLPROF_RHOMBOHEDRAL_AXES_ASSUMEDfromto_structure(WP-1911, ruled by the maintainer 2026-11-03).
rietx reads it on rhombohedral axes, as the cell states, and FullProf reads the same file on hexagonal axes and refines a different cell, so the warning says so.
FULLPROF_ORIGIN_CHOICEnow covers the origin choice alone. GSAS2_CIF_SETTING_IN_OPERATORSno longer fires for an R axis choice (WP-1911): GSAS-II 5.8.4 reads a bare R symbol on hexagonal axes, as gemmi does.- The magnetic family-group refusal counts each site's positions under both groups and names the split sites, as in
'Fe1' (4 of 8)(WP-1911). - The TOPAS reader resolves a
prmdefined by an equation with no: valuetail (#1195), so a value that names one reads.
TOPAS writes the tail only when the input asks for it, so this is the usual form in real files. Coverage.unread_callsfollows the TOPAS Technical Reference (WP-1530): it no longer names a standard macro or equation function, and it does name a call that is not a TOPAS function, such asAtan(.
data_filesgains every macro-opened dataset (RAW(a)gives["a"]), andSCR(…)andSHELX_HKL4(…)now open a dataset, son_datasetsandphase.datasetmove for a file that uses them.- An indexing run stops at its declared ceiling (WP-2063, #1231).
A Pawley validation read its cancel token only between residual evaluations, and one long step ended 20.18 s late on NAC's cI metric described as tP, where it now ends 0.01 s late.
The figure-of-merit panel costs about a fifth as much, with every answer bit-identical. - Dichotomy indexing bounds its memory (WP-1924): the grid frontier stops at
MAX_GRID_BYTES, 1 GiB, and a system's harvest atMAX_HARVEST, 20 000 leaves.
An overflow reportssearch_complete=FalseandINDEX_SEARCH_INCOMPLETE, where the search could grow until the operating system killed it.
A stop request is read inside the final dedup and inside trial_error's scoring, and finished searches return the same candidates bit for bit. - A candidate with a non-finite cell esd carries no Bravais opinion, where it segfaulted spglib (#1229).
qspace.refine_candidateraises when a metric parameter's variance is non-finite, the case of a direction no assigned line constrains. - A warning naming a mode amplitude or a rigid body's origin, rotation or twist keeps its level under
structure,qpaandmagnetic, as one naming a coordinate does (WP-2067). - On jax and torch, the Gaussian width columns are whole at U = V = 0 with W on its floor, where they returned exactly half of each (WP-1955).
numpy's values do not change. - Every pattern reader drops a point whose 2θ, count or σ is NaN or infinite, and reports it as
PATTERN_ROWS_DROPPEDwith the 2θ of the dropped points (WP-2079, #1187).
1.10.0 passed such a point through, and one was enough to make every statistic of a fit NaN: on ILL D1B Co₃O₄ data with 60 NaN channels, every stage endeddivergedwith Rwp NaN and no parameter moved, with no exception and no warning.
That file now reads as 1 220 of its 1 280 points and the fit converges. A file with no finite point is refused, naming the file.
A NaN count no longer withholds σ from a whole.ras,.rasxor.udfscan, and a NaN esd in a GSAS file is reported where 1.10.0 dropped it silently. - The progress line times a stage by the rule
summarize_eventsuses (WP-2031), so a stage that raised no longer lends its start to the next stage of its name.
On a log where a stage started and never ended, 1.10.0's progress line printed102sfor the next stage, which took2s. - The dichotomy indexing engine finds a C-centred monoclinic or orthorhombic lattice whose every C setting fell in the half of the domain its axis-swap prune skips, where 1.10.0 returned it only as P or I at twice its primitive volume and still reported the system complete (WP-2066, #1258).
The lattice comes back once, as C in its conventional setting. The search covers the same boxes.
On a dense list the engine now refines the leaf holding the truth onto it: #1258's 381-line monoclinic list returns its true cell first, indexing every line, where 1.10.0 returned two cells indexing 288 and 273 lines.
A completed search can return more candidates than before: 42 where 1.10.0 returned 25 on #1258's orthorhombic control, its first three unchanged. site_constraints(...).wyckoffnames the letterwyckoff_positionsgives for the site (WP-1919), not spglib's letter read in spglib's own frame.
In the 17 settings where spglib standardises through a frame that permutes letters the two differed, so a saved site label can change on upgrade: on 8 of them 16 of 54 positions read another letter (F d -3 m:2: (1/8, 1/8, 1/8) is8a, as ITA has it, where 1.10.0 read8b).
A coordinate stored outside [0, 1) gives the letter of the same point inside the cell.
The site-symmetry symbol is still spglib's; spglib's letter stays only where the table cannot place the point._atom_type_scat_sourcecredits theO2-X-ray form factor to "W&K, Rez et al. (1994)", not to Waasmaier & Kirfel (1995), whose README credits that row to Rez et al. (#1039).
The scattering docstring andATTRIBUTION.mdsay the same; no coefficient and no computed number moves.- A stage pattern that names one atom site and frees nothing there now fires
STAGE_PATH_NOT_FREE(WP-1951, issue #896).
On rutile,phases.0.atoms.0.dof.*matches no parameter, because Ti sits on 2a and its site symmetry fixes every coordinate; 1.10.0 froze the site without a word.
A pattern with a wildcard site index, such asphases.*.atoms.*.dof.*, stays silent, and no shipped plan names a site. Refinement.set_varyraisesValueErroron a literal path the model lacks, where 1.10.0 returned[]and said nothing (WP-1951).
A literal is a path with no*,?or[. The message names the nearest real path:unknown parameter path: 'instrument.zero'; did you mean 'instrument.zero_shift'?.
Every literal in the call is checked first, so a list holding one wrong name changes nothing and records no history node.
This breaks a script that passed a list mixing real paths with a name the model lacks, which now stops there; drop the name, or spell it as a pattern if it should reach only the models that have it.
A pattern that matches nothing still returns[]in silence.Refinement.set_varywarns (UserWarning) when freeing a phase path or a one-site pattern frees nothing, with the reason a stage would report underSTAGE_PATH_NOT_FREE.
It returns the same list as before.
hold,unhold,untie,tie,set_valuesandprofile_intervalstill refuse an unknown path, and now name the nearest real one (unknown parameter path: 'instrument.zero'; did you mean 'instrument.zero_shift'?).distortion_candidates(new in 1.10.0) returns a candidate whose child it refuses beside the others, where 1.10.0 raisedValueErrorfor the whole call (WP-1419, the follow-ups of #996's review).
Code that caught theValueErrornow receives that candidate withchild,transformandbasisNoneandrefusalset to aDistortionRefusal(the code, the message, each draw's operation count);drivingandrestraise the refusal's message.
A draw that keeps fewer operations than the isotropy group is a miss of the probe's tolerance and readsDISTORTION_CHILD_SMALLER;DISTORTION_CHILD_LARGER, which says the atoms cannot realise the group, now needs every draw spglib identified to keep more.
The code is chosen from every draw, not the last: a draw keeping extra operations followed by draws spglib could not identify readsDISTORTION_CHILD_LARGER, notDISTORTION_CHILD_UNIDENTIFIED.distortion_candidatesstates the children of a centred parent (I, F, C, A or R lattice), where 1.10.0 raisedRuntimeError: a candidate operation does not map the parent's atoms onto themselves in the magnetic cell; this is a bugfor every such call (WP-1419, #1247).
The parent's atoms were listed in the magnetic cell once per centring image and again per lattice translation, which at k = 0 are the same centrings; each atom is now kept once modulo the magnetic cell. Rocksalt at k = 0 now returns its six Γ4− children and at k = (½, ½, ½) its eight; a primitive parent's candidates do not change.reduce_cellbuilds the reduced cell from the input's metric under the change of basis it records, on every path (WP-2035).
1.10.0 kept gemmi's reduced vector wherever its signs agreed with that image, and on a cell within ε of a right angle a value could still sit up to about 6e-7 of the metric's scale off it; such a cell now moves by that much.INDEX_DATA_INSUFFICIENTnames an undeclared instrument first only when the declared source is a laboratory tube, a Kα doublet or one line at an anode's Kα1, Kα2 or weighted mean (WP-2030).
A correctly declared synchrotron instrument has zero axial apertures and a narrow profile too, and 1.10.0 named those as missing.
A picked list now records what its instrument left at default (PeakList.instrument_undeclared), soindex_pattern(peaks)with no instrument names it too.
"A laboratory tube" is read to within 5e-4 Å of an anode's Kα1, Kα2 or weighted mean (2λ₁ + λ₂)/3, so1.540593,1.5405and a vendor header's1.5418read as Cu as1.5405929does.
The field isNonewhen nothing was checked (a source that is not a lab tube), and{}only when it was checked and everything was declared.IndexingResult.formulaandIndexingResult.temperaturerecord the formula and temperatureindex_patternread, each candidate'sformula_unitsthe formula units its volume holds, andrietx indextakes--formulaand--temperature(WP-2030).- The GUI's peak editor updates the
duplicate_line,ghost_kbetaandghost_tungstenmarks on the groups an edit leaves alone (WP-2030).
Each is judged against a line that may sit in the edited group. In 1.10.0, moving or deleting that line left another group's copy marked unusable, and moving a line onto another group's weaker fit of it left both usable.
A mark changes only where the picker's own judgement of it changed, so a mark a user cleared stays cleared through any edit that leaves that judgement alone. PHASE_UNCONSTRAINEDsays a phase's scale was held when the held column is a variable driving it, where it called the variable a structural parameter (WP-1958 follow-up to #1103).- When a phase is unmeasured,
MICROABSORPTION_SKIPPEDnames the phases that still have noparticle_radius_umand asks for them, and says the radii were supplied only when every phase has one (WP-1958 follow-up to #1103). Refinement.report(),reflection_table(),predict()with no grid andwrite_cif()read the answer saved with the result (WP-1421).
A later fit that is cancelled keeps its completed stages, and these no longer mix its values into the previous result.FROZEN_COMPILE_STALEno longer says the fit is unbiased, and says how to re-solve (WP-1421).
A joint fit can now carry it, naming the pattern whose gap is largest.- A site within 5e-4 (fractional, per coordinate) of a special position is counted once, on the special position they collapse to, however its phase was built (#1007).
In 1.10.0 onlyStructure.from_cifmerged such a site (CIF_SITE_TWINS_MERGED, #765). A project file, an edited document or a structure built in code kept it general, so PbSO₄'s S2 moved 1e-4 off the Pnma mirror put 8 S in a cell of 4, and nothing said so.
One gate at every boundary, readers included: a site is merged only where the occupancy at its position, summed over the atoms sharing it and each × (images before / after), is above 1, since the site as stored then puts more than one atom at one place. The project readers (to_structure),RefinementTree.load, theRefinementverbs that take a structure in (construction,edit,set_values,checkout), the CIF reader andphase_zmvall read it. A merge saysSITE_TWINS_MERGED(warning;CIF_SITE_TWINS_MERGEDon a CIF read); where the product is 1 or below the numbers read as one atom off its position or as a split pair (#1088), so the site is left as stored andSITE_TWINS_KEPT(warning) gives both readings. Files that now open with the site as stored: a CIF whose site, at occupancy ≤ ½ on a mirror (or the matching fraction elsewhere), sits within 5e-4 of the position and which 1.10.0's CIF reader merged (a project file was never merged before, so none of those changes here). A merged site's coordinates the position fixes losevary, and its anisotropic tensor is projected onto the allowed ones.Phasevalidation stays strict.
ZMV, every weight fraction and the forward model move on such a phase; a split site further than that from every special position does not. The reach is 5e-4 per coordinate, where 1.10.0's CIF merge used 0.02 Å between images, so a CIF statingy = 0.251on a mirror site (1e-3 from ¼, past the reach) is no longer merged. The reach bounds a site's offset from its position, and the two images on a mirror sit twice that apart. Holds, user ties and free paths on coordinate DOFs follow a site's DOF renumbering on every route that moves it, or are dropped and named (SITE_TWINS_MERGED, orSITE_DOFS_RENUMBEREDwhere nothing merged). A hold on a coordinate the position couples with another, x on (x, 2x, z), holds the coupled direction. An anisotropic ADP DOF (adp.k, a U^ij pattern) follows its pattern the same way, where before a hold on PbSO₄ O5'sadp.3held U12 on the general position and U13 once O5 sat on its mirror (WP-1991). A loaded history's recorded actions follow too, so acherry_pickof a stage that freeddof.2frees the same direction, and a series'constrain=hook names DOFs as the series' own structure numbers them, whatever a fit's warm start merged. - A joint fit's structure guards read every pattern (WP-2028).
In 1.10.0BISO_NEGATIVE,BISO_UNUSUALLY_LARGEandADP_NOT_POSITIVE_DEFINITEread pattern 0 alone, so a bad value in another pattern's own copy of a per-pattern path fired nothing.
A per-pattern path is now namedhist.<h>.in each pattern that holds the value, and a shared path is named once, bare, as before.
OCCUPANCY_ABOVE_ONEreads every pattern the same way. - A joint fit's
CELL_RUNAWAYnames a cell that a freevars.coefficient drives out of its window, with the coefficient, as a single fit's does (WP-2028). RefinementResult.for_histogram(h)keeps the pattern'stick_hklandphase_agreement, and itsdiagnosticsadd the top-level findings that name pattern h and the fit-wide ones (WP-2028).
A joint result'stick_hklmirrors pattern 0's, beside itsticks.- A joint fit's ticks come from the single fit's tick builder, so a magnetic phase draws its own
"<phase> (magnetic)"row in each neutron pattern (WP-2028, issue #278).
In 1.10.0 the joint path kept its own copy without that split, and a magnetic-only reflection, such as MnF₂'s screw-absent (1 0 0), drew on the phase's nuclear row.
A single fit's ticks do not move.
The joint fit also calls the single fit's merge of driven cell escapes, its correlation and flat-direction loop, andMultiParameterTable._canonicalfor a path's spelling, where it kept copies; nothing else in either fit's output moves. - The report's satellite arm (
FitReport.satellites) now enumerates over the window the model generates its own reflections over (WP-2034).
In 1.10.0 it kept its own copy, with no margin, a 179° cap and the low cutoff in the wrong emission line's frame.
So on a Kα1/Kα2 doublet, a satellite or lattice point whose Kα2 image alone lies inside the fitted range was left out.
A residual peak on that image was then indexed by no candidate.
Now a candidate'sn_satellitesandmatchedcan rise at the low edge of the range, and never fall.
No reflection list of the model itself moves. rietx indexrefuses a formula it cannot read, a temperature that is not a positive, finite number of kelvin, and--temperaturegiven without--formula, each as a usage error with exit code 2 before the pattern is read (#1123's follow-ups).
1.10.0 ended the first two in aValueErrortraceback after reading the pattern, and ignored the third without a word.- A formula may write deuterium as
D, which takes hydrogen's volume ("C6D6","CuSO4·5D2O"); 1.10.0 refusedDas not an element (#1123's follow-ups). formula_unit_volumerefusestemperature=inf, which 1.10.0 let through to an infinite volume (#1123's follow-ups).DataSupport.n_structural_parameterscounts every free parameter that moves an atom, where 1.10.0 counted only free paths namedphases.*.atoms.*(WP-2067, issue #1250).
A rigid body's origin, rotation and twists, a named variablevars.Xtied to an atom entry, and a mode amplitude now count, so the observations-per-parameter ratios fall andDATA_SUPPORT_LOWcan fire where 1.10.0 was silent.
On the synthetic rigid-body state oftests/test_cross_backend.pythe raw ratio is 38/11 = 3.45, where 1.10.0 read 38/3 = 12.7.
A body's cell stays out of the count, as the cell always has.
A fit with no variable, body or mode on an atom counts what it counted before.- A FullProf file whose
XYDATAheading statesINTERmultipliers other than 1 now reads with them applied, as the FullProf manual defines them (2001, PDF p. 74,Ins = 10): x timesfac_x, the intensities and σ timesfac_y(issue #1064, WP-1952).
1.10.0 refused such a file, naming the factor.
The info diagnosticXYDATA_INTER_APPLIEDnames each factor applied. A file with no σ column gets the Poisson σ of the multiplied intensity, √(fac_y·y), which is what FullProf 8.20 computes (measured as a black box on synthetic files).
Interpol = 1is still refused, and so is a multiplier that is not a positive number.