<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Cctbx.xfel_GUI%2FDatasets_tab</id>
	<title>Cctbx.xfel GUI/Datasets tab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Cctbx.xfel_GUI%2FDatasets_tab"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;action=history"/>
	<updated>2026-11-25T07:35:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;diff=1816&amp;oldid=prev</id>
		<title>Aaron at 19:25, 2 November 2026</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;diff=1816&amp;oldid=prev"/>
		<updated>2026-11-02T19:25:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:25, 2 November 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039;: the tags that select its runs,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039;: the tags that select its runs,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;: the trial whose results it uses,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;: the trial whose results it uses,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* the merging schedule, when it is not the default (see below),&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the numbered pipeline stages, with the resolution limit and reference model name for the scaling and merging stages.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the numbered pipeline stages, with the resolution limit and reference model name for the scaling and merging stages.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Latest: vNNN&amp;#039;&amp;#039;&amp;#039;: the most recent version merged.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Latest: vNNN&amp;#039;&amp;#039;&amp;#039;: the most recent version merged.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The magnifying-glass button opens the full [[#The dataset dialog|dataset dialog]] to edit the dataset.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The magnifying-glass button opens the full [[#The dataset dialog|dataset dialog]] to edit the dataset.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The copy button &amp;#039;&amp;#039;&amp;#039;duplicates&amp;#039;&amp;#039;&amp;#039; the dataset: an inactive copy under a new name with the same pipeline, tags and comment. Use it to merge the same runs with a different resolution limit or reference: open the copy, change what you want, and activate it. Whatever stages are unchanged reuse the original&amp;#039;s jobs (see [[#Tasks shared between datasets|Tasks shared between datasets]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The copy button &amp;#039;&amp;#039;&amp;#039;duplicates&amp;#039;&amp;#039;&amp;#039; the dataset: an inactive copy under a new name with the same pipeline, tags&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, merging schedule &lt;/ins&gt;and comment. Use it to merge the same runs with a different resolution limit or reference: open the copy, change what you want, and activate it. Whatever stages are unchanged reuse the original&amp;#039;s jobs (see [[#Tasks shared between datasets|Tasks shared between datasets]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Active Dataset&amp;#039;&amp;#039;&amp;#039;: while ticked, the job sentinel submits the dataset&amp;#039;s jobs. New datasets start inactive. If activating the dataset would submit many jobs, the GUI shows the count by stage and asks before going ahead; the threshold is the &amp;lt;code&amp;gt;job_count_warning&amp;lt;/code&amp;gt; setting, 50 by default.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Active Dataset&amp;#039;&amp;#039;&amp;#039;: while ticked, the job sentinel submits the dataset&amp;#039;s jobs. New datasets start inactive. If activating the dataset would submit many jobs, the GUI shows the count by stage and asks before going ahead; the threshold is the &amp;lt;code&amp;gt;job_count_warning&amp;lt;/code&amp;gt; setting, 50 by default.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It finds the dataset&amp;#039;s runs: the runs in the trial&amp;#039;s run blocks that carry the dataset&amp;#039;s tags, combined by the tag operator (&amp;#039;&amp;#039;intersection&amp;#039;&amp;#039;: all of the tags; &amp;#039;&amp;#039;union&amp;#039;&amp;#039;: any of them). A dataset must have at least one tag, and every one of its tags must be in use on the trial&amp;#039;s runs, otherwise it is skipped.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It finds the dataset&amp;#039;s runs: the runs in the trial&amp;#039;s run blocks that carry the dataset&amp;#039;s tags, combined by the tag operator (&amp;#039;&amp;#039;intersection&amp;#039;&amp;#039;: all of the tags; &amp;#039;&amp;#039;union&amp;#039;&amp;#039;: any of them). A dataset must have at least one tag, and every one of its tags must be in use on the trial&amp;#039;s runs, otherwise it is skipped.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# For each run it submits the next &amp;#039;&amp;#039;local&amp;#039;&amp;#039; task (ensemble refinement, then scaling) as soon as the previous one has finished with status &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;. Indexing is the trial&amp;#039;s own integration job, so it must be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt; for the run to enter the pipeline.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# For each run it submits the next &amp;#039;&amp;#039;local&amp;#039;&amp;#039; task (ensemble refinement, then scaling) as soon as the previous one has finished with status &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;. Indexing is the trial&amp;#039;s own integration job, so it must be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt; for the run to enter the pipeline.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Once &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;some &lt;/del&gt;runs have finished every local task, it creates a new dataset version, links those runs&amp;#039; jobs to it, and submits the &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks (merging, then Phenix) for that version. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Each time further runs finish, another version &lt;/del&gt;is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;created that includes them&lt;/del&gt;. Re-tagging a run out of the dataset also triggers a corrective version, and so does changing the parameters of a merging or Phenix stage: the versions merged with the old settings are kept as they are, and the new settings get a version of their own from the same per-run results.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Once runs have finished every local task, it creates a new dataset version, links those runs&amp;#039; jobs to it, and submits the &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks (merging, then Phenix) for that version. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When that happens &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the dataset&amp;#039;s &amp;#039;&amp;#039;&amp;#039;merging schedule&amp;#039;&amp;#039;&amp;#039; (below)&lt;/ins&gt;. Re-tagging a run out of the dataset also triggers a corrective version, and so does changing the parameters of a merging or Phenix stage: the versions merged with the old settings are kept as they are, and the new settings get a version of their own from the same per-run results&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Merging schedule ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &amp;#039;&amp;#039;Merging&amp;#039;&amp;#039; choice in the dataset dialog (&amp;#039;&amp;#039;Merging schedule&amp;#039;&amp;#039; in the wizard) decides when a new version is cut as runs finish:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;#039;&amp;#039;&amp;#039;Merge as runs finish&amp;#039;&amp;#039;&amp;#039; (the default): whenever the GUI checks for finished runs, everything that has finished since the last version goes into one new version. Versions grow in uneven steps, as fast as the queue delivers.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;#039;&amp;#039;&amp;#039;Merge after every run&amp;#039;&amp;#039;&amp;#039;: one new version per finished run, in the dataset&amp;#039;s run order, each adding that run to the previous version. This gives the [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]] a version per run, so the statistics can be followed improving run by run; it costs a merging job per run.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;#039;&amp;#039;&amp;#039;Merge once all runs finish&amp;#039;&amp;#039;&amp;#039;: a single version once no run of the dataset has a local job queued, running or still to submit. A run whose chain failed does not hold it up.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A correction (a run tagged out, or a global stage edited) is always a single version of the runs already merged that are still selected; under &amp;#039;&amp;#039;Merge after every run&amp;#039;&amp;#039; any newly finished runs then follow one version each. Changing the schedule of an existing dataset takes effect from then on; nothing is merged again retrospectively&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Versions are numbered from &amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt; and their output is in &amp;lt;code&amp;gt;&amp;lt;output folder&amp;gt;/&amp;lt;dataset name&amp;gt;/v&amp;lt;NNN&amp;gt;/&amp;lt;/code&amp;gt;; the merged file is &amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v&amp;lt;NNN&amp;gt;_all.mtz&amp;lt;/code&amp;gt;. Watch the statistics of each version on the [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Versions are numbered from &amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt; and their output is in &amp;lt;code&amp;gt;&amp;lt;output folder&amp;gt;/&amp;lt;dataset name&amp;gt;/v&amp;lt;NNN&amp;gt;/&amp;lt;/code&amp;gt;; the merged file is &amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v&amp;lt;NNN&amp;gt;_all.mtz&amp;lt;/code&amp;gt;. Watch the statistics of each version on the [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Known reference model&amp;#039;&amp;#039;&amp;#039;: give a &amp;#039;&amp;#039;&amp;#039;Reference model&amp;#039;&amp;#039;&amp;#039; file (MTZ or PDB) to scale and post-refine the data against. &amp;#039;&amp;#039;&amp;#039;Unknown structure&amp;#039;&amp;#039;&amp;#039;: give the &amp;#039;&amp;#039;&amp;#039;Unit cell&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Space group&amp;#039;&amp;#039;&amp;#039; instead (pre-filled from the trial). With no reference the data are merged as a plain average (a &amp;#039;&amp;#039;mark1&amp;#039;&amp;#039; merge, with no per-image scaling or post-refinement); the resulting MTZ can then serve as the reference model for a second dataset. On leaving this page with a reference model, the wizard compares the model&amp;#039;s symmetry with the trial&amp;#039;s indexing symmetry the way the merge&amp;#039;s unit cell filter will (same Laue group, cells within 10% and 2°). A trial with no known space group, a different Laue group or a cell too far from the model&amp;#039;s would have every image rejected, so the wizard says so and asks whether to continue. It is a warning, not a refusal: it reads the trial&amp;#039;s indexing parameters, and you may know better.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Known reference model&amp;#039;&amp;#039;&amp;#039;: give a &amp;#039;&amp;#039;&amp;#039;Reference model&amp;#039;&amp;#039;&amp;#039; file (MTZ or PDB) to scale and post-refine the data against. &amp;#039;&amp;#039;&amp;#039;Unknown structure&amp;#039;&amp;#039;&amp;#039;: give the &amp;#039;&amp;#039;&amp;#039;Unit cell&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Space group&amp;#039;&amp;#039;&amp;#039; instead (pre-filled from the trial). With no reference the data are merged as a plain average (a &amp;#039;&amp;#039;mark1&amp;#039;&amp;#039; merge, with no per-image scaling or post-refinement); the resulting MTZ can then serve as the reference model for a second dataset. On leaving this page with a reference model, the wizard compares the model&amp;#039;s symmetry with the trial&amp;#039;s indexing symmetry the way the merge&amp;#039;s unit cell filter will (same Laue group, cells within 10% and 2°). A trial with no known space group, a different Laue group or a cell too far from the model&amp;#039;s would have every image rejected, so the wizard says so and asks whether to continue. It is a warning, not a refusal: it reads the trial&amp;#039;s indexing parameters, and you may know better.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 3, Options&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 3, Options&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Include ensemble refinement&amp;#039;&amp;#039;&amp;#039; (on by default). &amp;#039;&amp;#039;&amp;#039;Resolve indexing ambiguity (cosym)&amp;#039;&amp;#039;&amp;#039;: ticked automatically when the trial&amp;#039;s symmetry has an indexing ambiguity; the label says how many indexing modes exist and how far the cell is from the higher lattice symmetry that causes them (an exact match means the ambiguity is certain, a degree or two means it is inferred and may or may not be real). &amp;#039;&amp;#039;&amp;#039;Lattice tolerance&amp;#039;&amp;#039;&amp;#039; (5° by default, the value cosym itself uses) is how far the cell may be from a higher lattice symmetry for that symmetry, and the indexing modes it implies, to count; a pseudo-symmetric cell can pick up spurious modes at a loose tolerance, so tighten it until the count matches what the data show. The label recounts the modes as the tolerance changes, and the value is passed to cosym so that it finds the same symmetry. &amp;#039;&amp;#039;&amp;#039;High res. limit&amp;#039;&amp;#039;&amp;#039; (d_min, 1.5 Å by default) and &amp;#039;&amp;#039;&amp;#039;Number of bins&amp;#039;&amp;#039;&amp;#039; for the statistics.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&amp;#039;Merging schedule&amp;#039;&amp;#039;&amp;#039; (see [[#Merging schedule|Merging schedule]]). &lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;Include ensemble refinement&amp;#039;&amp;#039;&amp;#039; (on by default). &amp;#039;&amp;#039;&amp;#039;Resolve indexing ambiguity (cosym)&amp;#039;&amp;#039;&amp;#039;: ticked automatically when the trial&amp;#039;s symmetry has an indexing ambiguity; the label says how many indexing modes exist and how far the cell is from the higher lattice symmetry that causes them (an exact match means the ambiguity is certain, a degree or two means it is inferred and may or may not be real). &amp;#039;&amp;#039;&amp;#039;Lattice tolerance&amp;#039;&amp;#039;&amp;#039; (5° by default, the value cosym itself uses) is how far the cell may be from a higher lattice symmetry for that symmetry, and the indexing modes it implies, to count; a pseudo-symmetric cell can pick up spurious modes at a loose tolerance, so tighten it until the count matches what the data show. The label recounts the modes as the tolerance changes, and the value is passed to cosym so that it finds the same symmetry. &amp;#039;&amp;#039;&amp;#039;High res. limit&amp;#039;&amp;#039;&amp;#039; (d_min, 1.5 Å by default) and &amp;#039;&amp;#039;&amp;#039;Number of bins&amp;#039;&amp;#039;&amp;#039; for the statistics.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Finish&amp;#039;&amp;#039;&amp;#039; creates the dataset, inactive, with an indexing stage, optionally ensemble refinement, scaling and merging.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Finish&amp;#039;&amp;#039;&amp;#039; creates the dataset, inactive, with an indexing stage, optionally ensemble refinement, scaling and merging.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Identity and run selection ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Identity and run selection ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Comment&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Tag operator&amp;#039;&amp;#039;&amp;#039; as in the wizard. Changing the trial re-reads its unit cell, space group and integration parameters.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Comment&amp;#039;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &amp;#039;&amp;#039;&amp;#039;Merging&amp;#039;&amp;#039;&amp;#039; (the [[#Merging schedule|merging schedule]])&lt;/ins&gt;, &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Tag operator&amp;#039;&amp;#039;&amp;#039; as in the wizard. Changing the trial re-reads its unit cell, space group and integration parameters.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Shared parameters (scaling + merging) ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Shared parameters (scaling + merging) ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Pipeline ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Pipeline ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Each stage is a box with an &amp;#039;&amp;#039;&amp;#039;Include this stage&amp;#039;&amp;#039;&amp;#039; tick box (except indexing, which is always there) and, for the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;PHIL-backed &lt;/del&gt;stages, an &amp;#039;&amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;&amp;#039; button that opens the complete parameter set for that program with the simplified controls&amp;#039; values filled in. Anything not covered by the controls, such as the step list, error model or outlier rejection, is set there.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Each stage is a box with an &amp;#039;&amp;#039;&amp;#039;Include this stage&amp;#039;&amp;#039;&amp;#039; tick box (except indexing, which is always there) and, for the stages &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that have parameters&lt;/ins&gt;, an &amp;#039;&amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;&amp;#039; button that opens the complete parameter set for that program with the simplified controls&amp;#039; values filled in. Anything not covered by the controls, such as the step list, error model or outlier rejection, is set there.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Indexing ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Indexing ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l81&quot;&gt;Line 81:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Tasks shared between datasets ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Tasks shared between datasets ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A stage&amp;#039;s &amp;#039;&amp;#039;&amp;#039;task&amp;#039;&amp;#039;&amp;#039; is identified by what it computes&lt;/del&gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;its type, &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trial&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;its parameters &lt;/del&gt;and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the task &lt;/del&gt;that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;feeds it. When a dataset is saved, each enabled stage is matched to &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;existing task with that identity, and a new task is created only when there is none&lt;/del&gt;. There is nothing to set up&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: two datasets whose pipelines agree up to some stage share that stage&amp;#039;s task, and the per-run jobs for it run once&lt;/del&gt;. A duplicated dataset therefore starts out sharing &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;all of &lt;/del&gt;the original&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;s tasks&lt;/del&gt;, and a dataset that changes only its merging resolution reuses the original&amp;#039;s ensemble refinement and scaling results.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Datasets that run the same stages with the same parameters on the same trial share the work&lt;/ins&gt;: the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;per-run jobs for those stages run once&lt;/ins&gt;, and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;every dataset &lt;/ins&gt;that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;needs them uses &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;results&lt;/ins&gt;. There is nothing to set up. A duplicated dataset therefore starts out sharing &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;everything with &lt;/ins&gt;the original, and a dataset that changes only its merging resolution reuses the original&amp;#039;s ensemble refinement and scaling results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Editing a stage never &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;alters a task &lt;/del&gt;another dataset &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;may be using; the dataset simply moves to a different task (an existing one if some other dataset already has those parameters, otherwise a new one)&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Because a stage&amp;#039;s identity includes the stage before it, changing &lt;/del&gt;an early stage &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gives &lt;/del&gt;every &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;later &lt;/del&gt;stage &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a new task too&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/del&gt;their &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jobs run again. Tasks no dataset uses any more are removed, unless jobs &lt;/del&gt;have &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;already run them, in which case they are kept so that their output folders (named after the task id) stay accounted for&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Editing a stage &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in one dataset &lt;/ins&gt;never &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;affects &lt;/ins&gt;another dataset. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Changing &lt;/ins&gt;an early stage &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;re-runs that stage and &lt;/ins&gt;every stage &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;after it&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;since &lt;/ins&gt;their &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inputs &lt;/ins&gt;have &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;changed&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;diff=1808&amp;oldid=prev</id>
		<title>Aaron at 22:51, 22 October 2026</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;diff=1808&amp;oldid=prev"/>
		<updated>2026-10-22T22:51:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:51, 22 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039;: the tags that select its runs,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039;: the tags that select its runs,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;: the trial whose results it uses,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;: the trial whose results it uses,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the numbered pipeline stages, with the resolution limit and reference model name for the scaling and merging stages&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. A link icon in front of a stage means its task is shared with another dataset; hover for the names&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the numbered pipeline stages, with the resolution limit and reference model name for the scaling and merging stages.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Latest: vNNN&amp;#039;&amp;#039;&amp;#039;: the most recent version merged.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Latest: vNNN&amp;#039;&amp;#039;&amp;#039;: the most recent version merged.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The magnifying-glass button opens the full [[#The dataset dialog|dataset dialog]] to edit the dataset.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The magnifying-glass button opens the full [[#The dataset dialog|dataset dialog]] to edit the dataset.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The copy button &amp;#039;&amp;#039;&amp;#039;duplicates&amp;#039;&amp;#039;&amp;#039; the dataset: an inactive copy under a new name &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that shares &lt;/del&gt;the same &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tasks&lt;/del&gt;, tags and comment. Use it to merge the same runs with a different resolution limit or reference, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;after detaching the stages &lt;/del&gt;you want &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to change &lt;/del&gt;(see [[#&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Shared tasks&lt;/del&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Shared tasks&lt;/del&gt;]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The copy button &amp;#039;&amp;#039;&amp;#039;duplicates&amp;#039;&amp;#039;&amp;#039; the dataset: an inactive copy under a new name &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with &lt;/ins&gt;the same &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pipeline&lt;/ins&gt;, tags and comment. Use it to merge the same runs with a different resolution limit or reference&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: open the copy&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;change what &lt;/ins&gt;you want&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and activate it. Whatever stages are unchanged reuse the original&amp;#039;s jobs &lt;/ins&gt;(see [[#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tasks shared between datasets&lt;/ins&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tasks shared between datasets&lt;/ins&gt;]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Active Dataset&amp;#039;&amp;#039;&amp;#039;: while ticked, the job sentinel submits the dataset&amp;#039;s jobs. New datasets start inactive.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Active Dataset&amp;#039;&amp;#039;&amp;#039;: while ticked, the job sentinel submits the dataset&amp;#039;s jobs. New datasets start inactive&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. If activating the dataset would submit many jobs, the GUI shows the count by stage and asks before going ahead; the threshold is the &amp;lt;code&amp;gt;job_count_warning&amp;lt;/code&amp;gt; setting, 50 by default&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Below: &amp;#039;&amp;#039;&amp;#039;Filter&amp;#039;&amp;#039;&amp;#039; narrows the list to names containing the text, &amp;#039;&amp;#039;&amp;#039;Show Only Active Datasets&amp;#039;&amp;#039;&amp;#039; hides inactive ones, and &amp;#039;&amp;#039;&amp;#039;New Dataset&amp;#039;&amp;#039;&amp;#039; opens the wizard.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Below: &amp;#039;&amp;#039;&amp;#039;Filter&amp;#039;&amp;#039;&amp;#039; narrows the list to names containing the text, &amp;#039;&amp;#039;&amp;#039;Show Only Active Datasets&amp;#039;&amp;#039;&amp;#039; hides inactive ones, and &amp;#039;&amp;#039;&amp;#039;New Dataset&amp;#039;&amp;#039;&amp;#039; opens the wizard.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It finds the dataset&amp;#039;s runs: the runs in the trial&amp;#039;s run blocks that carry the dataset&amp;#039;s tags, combined by the tag operator (&amp;#039;&amp;#039;intersection&amp;#039;&amp;#039;: all of the tags; &amp;#039;&amp;#039;union&amp;#039;&amp;#039;: any of them). A dataset must have at least one tag, and every one of its tags must be in use on the trial&amp;#039;s runs, otherwise it is skipped.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# It finds the dataset&amp;#039;s runs: the runs in the trial&amp;#039;s run blocks that carry the dataset&amp;#039;s tags, combined by the tag operator (&amp;#039;&amp;#039;intersection&amp;#039;&amp;#039;: all of the tags; &amp;#039;&amp;#039;union&amp;#039;&amp;#039;: any of them). A dataset must have at least one tag, and every one of its tags must be in use on the trial&amp;#039;s runs, otherwise it is skipped.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# For each run it submits the next &amp;#039;&amp;#039;local&amp;#039;&amp;#039; task (ensemble refinement, then scaling) as soon as the previous one has finished with status &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;. Indexing is the trial&amp;#039;s own integration job, so it must be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt; for the run to enter the pipeline.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# For each run it submits the next &amp;#039;&amp;#039;local&amp;#039;&amp;#039; task (ensemble refinement, then scaling) as soon as the previous one has finished with status &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;. Indexing is the trial&amp;#039;s own integration job, so it must be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt; for the run to enter the pipeline.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Once some runs have finished every local task, it creates a new dataset version, links those runs&amp;#039; jobs to it, and submits the &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks (merging, then Phenix) for that version. Each time further runs finish, another version is created that includes them. Re-tagging a run out of the dataset also triggers a corrective version.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Once some runs have finished every local task, it creates a new dataset version, links those runs&amp;#039; jobs to it, and submits the &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks (merging, then Phenix) for that version. Each time further runs finish, another version is created that includes them. Re-tagging a run out of the dataset also triggers a corrective version&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, and so does changing the parameters of a merging or Phenix stage: the versions merged with the old settings are kept as they are, and the new settings get a version of their own from the same per-run results&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Versions are numbered from &amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt; and their output is in &amp;lt;code&amp;gt;&amp;lt;output folder&amp;gt;/&amp;lt;dataset name&amp;gt;/v&amp;lt;NNN&amp;gt;/&amp;lt;/code&amp;gt;; the merged file is &amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v&amp;lt;NNN&amp;gt;_all.mtz&amp;lt;/code&amp;gt;. Watch the statistics of each version on the [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Versions are numbered from &amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt; and their output is in &amp;lt;code&amp;gt;&amp;lt;output folder&amp;gt;/&amp;lt;dataset name&amp;gt;/v&amp;lt;NNN&amp;gt;/&amp;lt;/code&amp;gt;; the merged file is &amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v&amp;lt;NNN&amp;gt;_all.mtz&amp;lt;/code&amp;gt;. Watch the statistics of each version on the [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 1, Trial &amp;amp; tags&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 1, Trial &amp;amp; tags&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; (must be unique), the &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039; to merge, the &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; selecting its runs and the &amp;#039;&amp;#039;&amp;#039;Tag operator&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; (must be unique), the &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039; to merge, the &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; selecting its runs and the &amp;#039;&amp;#039;&amp;#039;Tag operator&amp;#039;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. A line below the controls reports how many of the trial&amp;#039;s runs the selection picks, counted exactly as job submission will count them, for example &amp;#039;&amp;#039;Runs selected: 37 of 52 in trial 12 (intersection of 2 tags)&amp;#039;&amp;#039;. &amp;#039;&amp;#039;None&amp;#039;&amp;#039; means the dataset would run with no data: no tag is ticked, or a ticked tag is not used by any run of that trial&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 2, Structure&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 2, Structure&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Known reference model&amp;#039;&amp;#039;&amp;#039;: give a &amp;#039;&amp;#039;&amp;#039;Reference model&amp;#039;&amp;#039;&amp;#039; file (MTZ or PDB) to scale and post-refine the data against. &amp;#039;&amp;#039;&amp;#039;Unknown structure&amp;#039;&amp;#039;&amp;#039;: give the &amp;#039;&amp;#039;&amp;#039;Unit cell&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Space group&amp;#039;&amp;#039;&amp;#039; instead (pre-filled from the trial). With no reference the data are merged as a plain average (a &amp;#039;&amp;#039;mark1&amp;#039;&amp;#039; merge, with no per-image scaling or post-refinement); the resulting MTZ can then serve as the reference model for a second dataset.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Known reference model&amp;#039;&amp;#039;&amp;#039;: give a &amp;#039;&amp;#039;&amp;#039;Reference model&amp;#039;&amp;#039;&amp;#039; file (MTZ or PDB) to scale and post-refine the data against. &amp;#039;&amp;#039;&amp;#039;Unknown structure&amp;#039;&amp;#039;&amp;#039;: give the &amp;#039;&amp;#039;&amp;#039;Unit cell&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Space group&amp;#039;&amp;#039;&amp;#039; instead (pre-filled from the trial). With no reference the data are merged as a plain average (a &amp;#039;&amp;#039;mark1&amp;#039;&amp;#039; merge, with no per-image scaling or post-refinement); the resulting MTZ can then serve as the reference model for a second dataset&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. On leaving this page with a reference model, the wizard compares the model&amp;#039;s symmetry with the trial&amp;#039;s indexing symmetry the way the merge&amp;#039;s unit cell filter will (same Laue group, cells within 10% and 2°). A trial with no known space group, a different Laue group or a cell too far from the model&amp;#039;s would have every image rejected, so the wizard says so and asks whether to continue. It is a warning, not a refusal: it reads the trial&amp;#039;s indexing parameters, and you may know better&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 3, Options&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Step 3, Options&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Include ensemble refinement&amp;#039;&amp;#039;&amp;#039; (on by default). &amp;#039;&amp;#039;&amp;#039;Resolve indexing ambiguity (cosym)&amp;#039;&amp;#039;&amp;#039;: ticked automatically when the trial&amp;#039;s symmetry has an indexing ambiguity; the label says how many indexing modes exist and how far the cell is from the higher lattice symmetry that causes them (an exact match means the ambiguity is certain, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a few tenths of &lt;/del&gt;a degree means it is inferred and may or may not be real). &amp;#039;&amp;#039;&amp;#039;High res. limit&amp;#039;&amp;#039;&amp;#039; (d_min, 1.5 Å by default) and &amp;#039;&amp;#039;&amp;#039;Number of bins&amp;#039;&amp;#039;&amp;#039; for the statistics.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: &amp;#039;&amp;#039;&amp;#039;Include ensemble refinement&amp;#039;&amp;#039;&amp;#039; (on by default). &amp;#039;&amp;#039;&amp;#039;Resolve indexing ambiguity (cosym)&amp;#039;&amp;#039;&amp;#039;: ticked automatically when the trial&amp;#039;s symmetry has an indexing ambiguity; the label says how many indexing modes exist and how far the cell is from the higher lattice symmetry that causes them (an exact match means the ambiguity is certain, a degree &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or two &lt;/ins&gt;means it is inferred and may or may not be real)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &amp;#039;&amp;#039;&amp;#039;Lattice tolerance&amp;#039;&amp;#039;&amp;#039; (5° by default, the value cosym itself uses) is how far the cell may be from a higher lattice symmetry for that symmetry, and the indexing modes it implies, to count; a pseudo-symmetric cell can pick up spurious modes at a loose tolerance, so tighten it until the count matches what the data show. The label recounts the modes as the tolerance changes, and the value is passed to cosym so that it finds the same symmetry&lt;/ins&gt;. &amp;#039;&amp;#039;&amp;#039;High res. limit&amp;#039;&amp;#039;&amp;#039; (d_min, 1.5 Å by default) and &amp;#039;&amp;#039;&amp;#039;Number of bins&amp;#039;&amp;#039;&amp;#039; for the statistics.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Finish&amp;#039;&amp;#039;&amp;#039; creates the dataset, inactive, with an indexing stage, optionally ensemble refinement, scaling and merging.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Finish&amp;#039;&amp;#039;&amp;#039; creates the dataset, inactive, with an indexing stage, optionally ensemble refinement, scaling and merging.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Pipeline ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Pipeline ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Each stage is a box with an &amp;#039;&amp;#039;&amp;#039;Include this stage&amp;#039;&amp;#039;&amp;#039; tick box (except indexing, which is always there), &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a link icon (see &amp;#039;&amp;#039;Shared tasks&amp;#039;&amp;#039;), and &lt;/del&gt;for the PHIL-backed stages an &amp;#039;&amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;&amp;#039; button that opens the complete parameter set for that program with the simplified controls&amp;#039; values filled in. Anything not covered by the controls, such as the step list, error model or outlier rejection, is set there.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Each stage is a box with an &amp;#039;&amp;#039;&amp;#039;Include this stage&amp;#039;&amp;#039;&amp;#039; tick box (except indexing, which is always there) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and&lt;/ins&gt;, for the PHIL-backed stages&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;an &amp;#039;&amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;&amp;#039; button that opens the complete parameter set for that program with the simplified controls&amp;#039; values filled in. Anything not covered by the controls, such as the step list, error model or outlier rejection, is set there.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Indexing ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Indexing ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Validation ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Validation ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On OK the dialog checks that a reference model or a unit cell and space group are given, that every enabled stage&amp;#039;s parameters parse, and that a merge which resolves an indexing ambiguity and then post-refines has a reference model to anchor to (cosym fixes the indexing only up to an overall choice; without a model, remove &amp;#039;&amp;#039;postrefine&amp;#039;&amp;#039; from the merging step list instead). Datasets are only written if every check passes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;On OK the dialog checks that a reference model or a unit cell and space group are given, that every enabled stage&amp;#039;s parameters parse&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, that no two consecutive stages of the same type have identical parameters (they would compute the same thing twice)&lt;/ins&gt;, and that a merge which resolves an indexing ambiguity and then post-refines has a reference model to anchor to (cosym fixes the indexing only up to an overall choice; without a model, remove &amp;#039;&amp;#039;postrefine&amp;#039;&amp;#039; from the merging step list instead)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Saving an &amp;#039;&amp;#039;&amp;#039;active&amp;#039;&amp;#039;&amp;#039; dataset whose changes would submit many jobs asks for confirmation first&lt;/ins&gt;. Datasets are only written if every check passes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Shared tasks &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tasks shared between datasets &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task can belong to more than one dataset. Duplicating a dataset creates such sharing, and the link icon on a &lt;/del&gt;stage &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;can &lt;/del&gt;&amp;#039;&amp;#039;&amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;link&lt;/del&gt;&amp;#039;&amp;#039;&amp;#039; the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stage to a &lt;/del&gt;task &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;from another dataset, so &lt;/del&gt;that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;two datasets differing only in their runs merge with identical settings&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The icon shows &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;chain when &lt;/del&gt;the task &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is shared; hover to see &lt;/del&gt;with &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;whom&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;click &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;link &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;another &lt;/del&gt;dataset&amp;#039;s &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task or to unlink (make &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;private copy)&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A stage&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;s &lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task&lt;/ins&gt;&amp;#039;&amp;#039;&amp;#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is identified by what it computes: its type, the trial, its parameters and &lt;/ins&gt;the task that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;feeds it&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dataset is saved, each enabled stage is matched to &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;existing &lt;/ins&gt;task with &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;that identity&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and a new task is created only when there is none. There is nothing &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;set up: two datasets whose pipelines agree up &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;some stage share that stage&amp;#039;s task, and the per-run jobs for it run once. A duplicated &lt;/ins&gt;dataset &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;therefore starts out sharing all of the original&lt;/ins&gt;&amp;#039;s &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tasks, and &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dataset that changes only its merging resolution reuses the original&amp;#039;s ensemble refinement and scaling results&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Changing &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;shared &lt;/del&gt;stage&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, either with &amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039; or through its controls or &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;shared parameters, asks whether the change should &amp;#039;&amp;#039;&amp;#039;apply &lt;/del&gt;to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;all&amp;#039;&amp;#039;&amp;#039; datasets using the &lt;/del&gt;task &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &amp;#039;&amp;#039;&amp;#039;detach&amp;#039;&amp;#039;&amp;#039; this &lt;/del&gt;dataset &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;onto &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;private copy of the task first&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Cancel leaves everything unchanged. Untick &lt;/del&gt;&amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;Include this &lt;/del&gt;stage&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039; on &lt;/del&gt;a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;shared &lt;/del&gt;task &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to drop it from this &lt;/del&gt;dataset &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;only&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Editing &lt;/ins&gt;a stage &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;never alters a task another dataset may be using; &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dataset simply moves &lt;/ins&gt;to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a different &lt;/ins&gt;task &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(an existing one if some other &lt;/ins&gt;dataset &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;already has those parameters, otherwise &lt;/ins&gt;a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;new one)&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Because a stage&lt;/ins&gt;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s identity includes the stage before it, changing an early stage gives every later &lt;/ins&gt;stage a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;new &lt;/ins&gt;task &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;too, and their jobs run again. Tasks no &lt;/ins&gt;dataset &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uses any more are removed, unless jobs have already run them, in which case they are kept so that their output folders (named after the task id) stay accounted for&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;diff=1799&amp;oldid=prev</id>
		<title>Aaron: Created page with &quot;{{DISPLAYTITLE:cctbx.xfel GUI/Datasets tab}} The &#039;&#039;&#039;Datasets tab&#039;&#039;&#039; takes processed runs through to a merged reflection file. A &#039;&#039;&#039;dataset&#039;&#039;&#039; selects runs from a trial by tag and runs a pipeline of tasks over them: optional ensemble refinement, scaling, merging, and optionally Phenix. Each merge creates a new &#039;&#039;&#039;version&#039;&#039;&#039; of the dataset, and new versions keep appearing as further runs finish, so merged data are available while collection is still going on.  Back to cc...&quot;</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Datasets_tab&amp;diff=1799&amp;oldid=prev"/>
		<updated>2026-10-09T22:28:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:cctbx.xfel GUI/Datasets tab}} The &amp;#039;&amp;#039;&amp;#039;Datasets tab&amp;#039;&amp;#039;&amp;#039; takes processed runs through to a merged reflection file. A &amp;#039;&amp;#039;&amp;#039;dataset&amp;#039;&amp;#039;&amp;#039; selects runs from a trial by tag and runs a pipeline of tasks over them: optional ensemble refinement, scaling, merging, and optionally Phenix. Each merge creates a new &amp;#039;&amp;#039;&amp;#039;version&amp;#039;&amp;#039;&amp;#039; of the dataset, and new versions keep appearing as further runs finish, so merged data are available while collection is still going on.  Back to cc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:cctbx.xfel GUI/Datasets tab}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Datasets tab&amp;#039;&amp;#039;&amp;#039; takes processed runs through to a merged reflection file. A &amp;#039;&amp;#039;&amp;#039;dataset&amp;#039;&amp;#039;&amp;#039; selects runs from a trial by tag and runs a pipeline of tasks over them: optional ensemble refinement, scaling, merging, and optionally Phenix. Each merge creates a new &amp;#039;&amp;#039;&amp;#039;version&amp;#039;&amp;#039;&amp;#039; of the dataset, and new versions keep appearing as further runs finish, so merged data are available while collection is still going on.&lt;br /&gt;
&lt;br /&gt;
Back to [[cctbx.xfel GUI]].&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
Each dataset is a box labelled with its id and name, laid out left to right. Inside it:&lt;br /&gt;
* the comment,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039;: the tags that select its runs,&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;: the trial whose results it uses,&lt;br /&gt;
* the numbered pipeline stages, with the resolution limit and reference model name for the scaling and merging stages. A link icon in front of a stage means its task is shared with another dataset; hover for the names.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Latest: vNNN&amp;#039;&amp;#039;&amp;#039;: the most recent version merged.&lt;br /&gt;
* The magnifying-glass button opens the full [[#The dataset dialog|dataset dialog]] to edit the dataset.&lt;br /&gt;
* The copy button &amp;#039;&amp;#039;&amp;#039;duplicates&amp;#039;&amp;#039;&amp;#039; the dataset: an inactive copy under a new name that shares the same tasks, tags and comment. Use it to merge the same runs with a different resolution limit or reference, after detaching the stages you want to change (see [[#Shared tasks|Shared tasks]]).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Active Dataset&amp;#039;&amp;#039;&amp;#039;: while ticked, the job sentinel submits the dataset&amp;#039;s jobs. New datasets start inactive.&lt;br /&gt;
&lt;br /&gt;
Below: &amp;#039;&amp;#039;&amp;#039;Filter&amp;#039;&amp;#039;&amp;#039; narrows the list to names containing the text, &amp;#039;&amp;#039;&amp;#039;Show Only Active Datasets&amp;#039;&amp;#039;&amp;#039; hides inactive ones, and &amp;#039;&amp;#039;&amp;#039;New Dataset&amp;#039;&amp;#039;&amp;#039; opens the wizard.&lt;br /&gt;
&lt;br /&gt;
== How a dataset runs ==&lt;br /&gt;
With the dataset active and &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; on, the job sentinel does the following on every cycle:&lt;br /&gt;
# It finds the dataset&amp;#039;s runs: the runs in the trial&amp;#039;s run blocks that carry the dataset&amp;#039;s tags, combined by the tag operator (&amp;#039;&amp;#039;intersection&amp;#039;&amp;#039;: all of the tags; &amp;#039;&amp;#039;union&amp;#039;&amp;#039;: any of them). A dataset must have at least one tag, and every one of its tags must be in use on the trial&amp;#039;s runs, otherwise it is skipped.&lt;br /&gt;
# For each run it submits the next &amp;#039;&amp;#039;local&amp;#039;&amp;#039; task (ensemble refinement, then scaling) as soon as the previous one has finished with status &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt;. Indexing is the trial&amp;#039;s own integration job, so it must be &amp;lt;code&amp;gt;DONE&amp;lt;/code&amp;gt; for the run to enter the pipeline.&lt;br /&gt;
# Once some runs have finished every local task, it creates a new dataset version, links those runs&amp;#039; jobs to it, and submits the &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks (merging, then Phenix) for that version. Each time further runs finish, another version is created that includes them. Re-tagging a run out of the dataset also triggers a corrective version.&lt;br /&gt;
&lt;br /&gt;
Versions are numbered from &amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt; and their output is in &amp;lt;code&amp;gt;&amp;lt;output folder&amp;gt;/&amp;lt;dataset name&amp;gt;/v&amp;lt;NNN&amp;gt;/&amp;lt;/code&amp;gt;; the merged file is &amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v&amp;lt;NNN&amp;gt;_all.mtz&amp;lt;/code&amp;gt;. Watch the statistics of each version on the [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]].&lt;br /&gt;
&lt;br /&gt;
== The new dataset wizard ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;New Dataset&amp;#039;&amp;#039;&amp;#039; opens a three-step wizard that covers the usual case. Everything it sets can be changed afterwards in the full dialog.&lt;br /&gt;
&lt;br /&gt;
; Step 1, Trial &amp;amp; tags&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039; (must be unique), the &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039; to merge, the &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; selecting its runs and the &amp;#039;&amp;#039;&amp;#039;Tag operator&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
; Step 2, Structure&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;Known reference model&amp;#039;&amp;#039;&amp;#039;: give a &amp;#039;&amp;#039;&amp;#039;Reference model&amp;#039;&amp;#039;&amp;#039; file (MTZ or PDB) to scale and post-refine the data against. &amp;#039;&amp;#039;&amp;#039;Unknown structure&amp;#039;&amp;#039;&amp;#039;: give the &amp;#039;&amp;#039;&amp;#039;Unit cell&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Space group&amp;#039;&amp;#039;&amp;#039; instead (pre-filled from the trial). With no reference the data are merged as a plain average (a &amp;#039;&amp;#039;mark1&amp;#039;&amp;#039; merge, with no per-image scaling or post-refinement); the resulting MTZ can then serve as the reference model for a second dataset.&lt;br /&gt;
; Step 3, Options&lt;br /&gt;
: &amp;#039;&amp;#039;&amp;#039;Include ensemble refinement&amp;#039;&amp;#039;&amp;#039; (on by default). &amp;#039;&amp;#039;&amp;#039;Resolve indexing ambiguity (cosym)&amp;#039;&amp;#039;&amp;#039;: ticked automatically when the trial&amp;#039;s symmetry has an indexing ambiguity; the label says how many indexing modes exist and how far the cell is from the higher lattice symmetry that causes them (an exact match means the ambiguity is certain, a few tenths of a degree means it is inferred and may or may not be real). &amp;#039;&amp;#039;&amp;#039;High res. limit&amp;#039;&amp;#039;&amp;#039; (d_min, 1.5 Å by default) and &amp;#039;&amp;#039;&amp;#039;Number of bins&amp;#039;&amp;#039;&amp;#039; for the statistics.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finish&amp;#039;&amp;#039;&amp;#039; creates the dataset, inactive, with an indexing stage, optionally ensemble refinement, scaling and merging.&lt;br /&gt;
&lt;br /&gt;
== The dataset dialog ==&lt;br /&gt;
The magnifying-glass button opens the full &amp;#039;&amp;#039;Dataset Settings&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
=== Identity and run selection ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Comment&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Trial&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Tag operator&amp;#039;&amp;#039;&amp;#039; as in the wizard. Changing the trial re-reads its unit cell, space group and integration parameters.&lt;br /&gt;
&lt;br /&gt;
=== Shared parameters (scaling + merging) ===&lt;br /&gt;
These apply to both the scaling and the merging stage so that they agree:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Reference&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;Known reference model&amp;#039;&amp;#039; with a &amp;#039;&amp;#039;&amp;#039;Reference model&amp;#039;&amp;#039;&amp;#039; path, or &amp;#039;&amp;#039;No reference model&amp;#039;&amp;#039; with a &amp;#039;&amp;#039;&amp;#039;Unit cell&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Space group&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;High res. limit (d_min)&amp;#039;&amp;#039;&amp;#039;: resolution cut-off for scaling and merging.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Resolution scalar&amp;#039;&amp;#039;&amp;#039; (0.96): multiplied by d_min to set the internal limit used when scaling, so that the edge bin is well populated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Number of bins&amp;#039;&amp;#039;&amp;#039;: resolution shells in the statistics tables.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Merge anomalous&amp;#039;&amp;#039;&amp;#039;: ticked, Friedel mates are merged. Untick to keep the anomalous signal.&lt;br /&gt;
&lt;br /&gt;
=== Pipeline ===&lt;br /&gt;
Each stage is a box with an &amp;#039;&amp;#039;&amp;#039;Include this stage&amp;#039;&amp;#039;&amp;#039; tick box (except indexing, which is always there), a link icon (see &amp;#039;&amp;#039;Shared tasks&amp;#039;&amp;#039;), and for the PHIL-backed stages an &amp;#039;&amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;&amp;#039; button that opens the complete parameter set for that program with the simplified controls&amp;#039; values filled in. Anything not covered by the controls, such as the step list, error model or outlier rejection, is set there.&lt;br /&gt;
&lt;br /&gt;
==== Indexing ====&lt;br /&gt;
Uses the trial&amp;#039;s integration results. No settings.&lt;br /&gt;
&lt;br /&gt;
==== Ensemble refinement ====&lt;br /&gt;
Time-dependent ensemble refinement (&amp;lt;code&amp;gt;cctbx.xfel.time_varying_refinement&amp;lt;/code&amp;gt;): the detector geometry and the crystal models of a run are refined together against all of its images, then the images are reintegrated. It improves the agreement between images and so the merging statistics, at the cost of an extra job per run.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pre-split experiments&amp;#039;&amp;#039;&amp;#039;: split the run into chunks locally before submitting, which gives better balanced chunks; otherwise the splitting happens on the cluster, which is faster but counts chunk sizes less accurately.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Expand Nave parameters on reintegration&amp;#039;&amp;#039;&amp;#039;: widen the mosaicity model when reintegrating, to recruit more reflections.&lt;br /&gt;
The trial&amp;#039;s integration parameters (gain in particular) are copied into this stage so that reintegration matches the original integration; they are visible under &amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== Scaling ====&lt;br /&gt;
Per-run filtering and scaling against the reference (&amp;lt;code&amp;gt;cctbx.xfel.merge&amp;lt;/code&amp;gt; up to the scaling and post-refinement steps):&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Min. correlation&amp;#039;&amp;#039;&amp;#039;: lattices whose intensities correlate with the reference model below this are rejected (-1 keeps everything).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Unit cell rel. length tol.&amp;#039;&amp;#039;&amp;#039;: lattices whose cell edges differ from the reference cell by more than this fraction are rejected (0.1 = 10%).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Filter by unit-cell cluster (from Unit Cells tab)&amp;#039;&amp;#039;&amp;#039;: instead of the tolerance, accept only lattices within the &amp;#039;&amp;#039;&amp;#039;Mahalanobis cutoff&amp;#039;&amp;#039;&amp;#039; (default 4) of the chosen &amp;#039;&amp;#039;&amp;#039;Cluster component&amp;#039;&amp;#039;&amp;#039; (0 is the largest) of a &amp;#039;&amp;#039;&amp;#039;Cluster file&amp;#039;&amp;#039;&amp;#039; written by the [[cctbx.xfel GUI/Unit Cell tab|Unit Cell tab]]. Files in the output folder&amp;#039;s &amp;lt;code&amp;gt;cluster/&amp;lt;/code&amp;gt; directory are listed; &amp;#039;&amp;#039;&amp;#039;Browse...&amp;#039;&amp;#039;&amp;#039; finds others.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Significance filter sigma&amp;#039;&amp;#039;&amp;#039;: for each image, keep reflections out to the highest resolution bin whose mean I/σ(I) is above this value.&lt;br /&gt;
With a reference model this stage scales and post-refines each run; without one it only filters, since the plain average needs neither.&lt;br /&gt;
&lt;br /&gt;
==== Merging ====&lt;br /&gt;
Merges the scaled runs into one MTZ with statistics. It takes everything from the shared parameters; &amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039; exposes the rest (error model, cosym settings, output options). When cosym was requested, this stage runs &amp;lt;code&amp;gt;modify_cosym&amp;lt;/code&amp;gt; to resolve the indexing ambiguity before scaling and merging; the cosym space group, number of dimensions and resolution limit are filled in from the trial&amp;#039;s symmetry and the shared d_min, and are visible under &amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==== Phenix ====&lt;br /&gt;
Runs any Phenix command on the merged MTZ. The text box holds the command on the first line and PHIL parameters on the following lines; &amp;lt;code&amp;gt;&amp;lt;PREVIOUS_TASK_MTZ&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;DATASET_NAME&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;lt;DATASET_VERSION&amp;gt;&amp;lt;/code&amp;gt; are substituted at run time. Needs a &amp;#039;&amp;#039;Phenix setup script&amp;#039;&amp;#039; in [[cctbx.xfel GUI/Settings#Advanced settings|Advanced settings]]. Add it with &amp;#039;&amp;#039;&amp;#039;Add stage&amp;#039;&amp;#039;&amp;#039; at the bottom of the pipeline; a second scaling stage can be added the same way.&lt;br /&gt;
&lt;br /&gt;
=== Validation ===&lt;br /&gt;
On OK the dialog checks that a reference model or a unit cell and space group are given, that every enabled stage&amp;#039;s parameters parse, and that a merge which resolves an indexing ambiguity and then post-refines has a reference model to anchor to (cosym fixes the indexing only up to an overall choice; without a model, remove &amp;#039;&amp;#039;postrefine&amp;#039;&amp;#039; from the merging step list instead). Datasets are only written if every check passes.&lt;br /&gt;
&lt;br /&gt;
== Shared tasks ==&lt;br /&gt;
A task can belong to more than one dataset. Duplicating a dataset creates such sharing, and the link icon on a stage can &amp;#039;&amp;#039;&amp;#039;link&amp;#039;&amp;#039;&amp;#039; the stage to a task from another dataset, so that two datasets differing only in their runs merge with identical settings. The icon shows a chain when the task is shared; hover to see with whom, click to link to another dataset&amp;#039;s task or to unlink (make a private copy).&lt;br /&gt;
&lt;br /&gt;
Changing a shared stage, either with &amp;#039;&amp;#039;Edit PHIL&amp;#039;&amp;#039; or through its controls or the shared parameters, asks whether the change should &amp;#039;&amp;#039;&amp;#039;apply to all&amp;#039;&amp;#039;&amp;#039; datasets using the task or &amp;#039;&amp;#039;&amp;#039;detach&amp;#039;&amp;#039;&amp;#039; this dataset onto a private copy of the task first. Cancel leaves everything unchanged. Untick &amp;#039;&amp;#039;Include this stage&amp;#039;&amp;#039; on a shared task to drop it from this dataset only.&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
</feed>