<?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</id>
	<title>Cctbx.xfel GUI - 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"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI&amp;action=history"/>
	<updated>2026-11-25T07:27:17Z</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&amp;diff=1819&amp;oldid=prev</id>
		<title>Aaron at 19:29, 2 November 2026</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI&amp;diff=1819&amp;oldid=prev"/>
		<updated>2026-11-02T19:29:04Z</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:29, 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-l42&quot;&gt;Line 42:&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;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;=== Jobs and sentinels ===&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;=== Jobs and sentinels ===&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;Sentinels&amp;#039;&amp;#039;&amp;#039; are background &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;threads &lt;/del&gt;inside the GUI that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;poll the database &lt;/del&gt;and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the queuing system&lt;/del&gt;. Each has a status light at the bottom of the window (see below). The two most important are toggled from the toolbar:&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;Sentinels&amp;#039;&amp;#039;&amp;#039; are background &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tasks &lt;/ins&gt;inside the GUI that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;watch for new runs, finished jobs &lt;/ins&gt;and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;new results&lt;/ins&gt;. Each has a status light at the bottom of the window (see below). The two most important are toggled from the toolbar:&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;* The &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Watch for new runs&amp;quot;) looks for new runs every 10 seconds, adds them to the database, applies persistent tags, and extends open run blocks to include them.&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 &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Watch for new runs&amp;quot;) looks for new runs every 10 seconds, adds them to the database, applies persistent tags, and extends open run blocks to include them.&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-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&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;Because activating a trial or dataset, or saving a run block on an active trial, can commit the queue to a great deal of work, the GUI counts the jobs such an action would submit and asks for confirmation when the total reaches the &amp;lt;code&amp;gt;job_count_warning&amp;lt;/code&amp;gt; setting (50 by default). The message lists the count by stage.&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;Because activating a trial or dataset, or saving a run block on an active trial, can commit the queue to a great deal of work, the GUI counts the jobs such an action would submit and asks for confirmation when the total reaches the &amp;lt;code&amp;gt;job_count_warning&amp;lt;/code&amp;gt; setting (50 by default). The message lists the count by stage.&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;The &amp;#039;&amp;#039;&amp;#039;job monitor&amp;#039;&amp;#039;&amp;#039; queries the queuing system for the status of every unfinished job &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and records it in the database&lt;/del&gt;. It runs while the Jobs or Run Stats tab is showing.&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 &amp;#039;&amp;#039;&amp;#039;job monitor&amp;#039;&amp;#039;&amp;#039; queries the queuing system for the status of every unfinished job. It runs while the Jobs or Run Stats tab is showing.&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;The other sentinels (run stats, unit cell, merging stats, calibration worker) redraw the plots on their tabs and run only while that tab is showing.&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 other sentinels (run stats, unit cell, merging stats, calibration worker) redraw the plots on their tabs and run only while that tab is showing.&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-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&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;Phenix&amp;#039;&amp;#039;&amp;#039; (optional): any Phenix command run on the merged MTZ.&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;Phenix&amp;#039;&amp;#039;&amp;#039; (optional): any Phenix command run on the merged MTZ.&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;The first three are &amp;#039;&amp;#039;local&amp;#039;&amp;#039; tasks that run once per run and chain automatically: each starts when the previous task for that run has finished. Merging and Phenix are &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks that run once over all finished runs. Each time merging runs it creates a new &amp;#039;&amp;#039;&amp;#039;dataset version&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;v001&amp;lt;/code&amp;gt;, ...). As more runs finish during an experiment, the job sentinel keeps rolling new versions, so the merged data set grows while data are still being collected. Changing the parameters of a merging or Phenix stage also rolls a new version from the same per-run results, and the versions made with the old settings are kept.&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 first three are &amp;#039;&amp;#039;local&amp;#039;&amp;#039; tasks that run once per run and chain automatically: each starts when the previous task for that run has finished. Merging and Phenix are &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks that run once over all finished runs. Each time merging runs it creates a new &amp;#039;&amp;#039;&amp;#039;dataset version&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;v001&amp;lt;/code&amp;gt;, ...). As more runs finish during an experiment, the job sentinel keeps rolling new versions, so the merged data set grows while data are still being collected&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; the dataset&amp;#039;s &amp;#039;&amp;#039;merging schedule&amp;#039;&amp;#039; chooses between a version per pass, a version per run, or a single version once everything has finished&lt;/ins&gt;. Changing the parameters of a merging or Phenix stage also rolls a new version from the same per-run results, and the versions made with the old settings are kept.&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;Tasks are identified by what they compute: &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task type, the trial, &lt;/del&gt;the parameters &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task that feeds them. Two datasets whose pipelines agree up to some stage therefore share that stage&amp;#039;s task and its jobs &lt;/del&gt;automatically, so a second dataset that merges the same runs with a different resolution limit reuses the ensemble refinement and scaling already done. See the [[cctbx.xfel GUI/Datasets tab|Datasets tab]].&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 &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;same stages with &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;same &lt;/ins&gt;parameters &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;share &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;work &lt;/ins&gt;automatically, so a second dataset that merges the same runs with a different resolution limit reuses the ensemble refinement and scaling already done. See the [[cctbx.xfel GUI/Datasets tab|Datasets tab]].&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;=== Projects (saved settings) ===&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;=== Projects (saved settings) ===&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-l92&quot;&gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&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;=== Tabs ===&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;=== Tabs ===&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 tabs, from left to right: [[cctbx.xfel GUI/Runs tab|Runs]], [[cctbx.xfel GUI/Energy tab|Energy]] (LCLS only), [[cctbx.xfel GUI/Trials tab|Trials]], [[cctbx.xfel GUI/Jobs tab|Jobs]], [[cctbx.xfel GUI/Run Stats tab|Run Stats]], [[cctbx.xfel GUI/Unit Cell tab|Unit Cell]], [[cctbx.xfel GUI/Datasets tab|Datasets]] and [[cctbx.xfel GUI/Merging Stats tab|Merging stats]]. They follow the order of a typical experiment: tag the runs, set up a trial, watch the jobs and the statistics, build a dataset, and watch the merging statistics.&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 tabs, from left to right: [[cctbx.xfel GUI/Runs tab|Runs]], [[cctbx.xfel GUI/Energy tab|Energy]] (LCLS only), [[cctbx.xfel GUI/Trials tab|Trials]], [[cctbx.xfel GUI/Jobs tab|Jobs]], [[cctbx.xfel GUI/Run Stats tab|Run Stats]], [[cctbx.xfel GUI/Unit Cell tab|Unit Cell]], [[cctbx.xfel GUI/Datasets tab|Datasets]] and [[cctbx.xfel GUI/Merging Stats tab|Merging stats]]. They follow the order of a typical experiment: tag the runs, set up a trial, watch the jobs and the statistics, build a dataset, and watch the merging statistics.&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;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;Switching to a tab starts the sentinel that feeds it and switching away stops it, so only the visible tab costs database queries.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;=== Status lights ===&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;=== Status lights ===&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 row of lights along the bottom of the window shows the state of each background &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;thread&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 row of lights along the bottom of the window shows the state of each background &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;task&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;{| class=&amp;quot;wikitable&amp;quot;&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;{| class=&amp;quot;wikitable&amp;quot;&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;! Colour !! Meaning&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;! Colour !! Meaning&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;|-&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;|-&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;| grey (off) || &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The thread is not &lt;/del&gt;running.&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;| grey (off) || &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Not &lt;/ins&gt;running.&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;|-&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;|-&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;| green (on) || &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The thread is running and &lt;/del&gt;waiting for its next cycle.&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;| green (on) || &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Running, &lt;/ins&gt;waiting for its next cycle.&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;|-&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;|-&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;| yellow || &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The thread is in the middle of a cycle &lt;/del&gt;(querying the database or the queue, or redrawing a plot).&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;| yellow || &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Busy &lt;/ins&gt;(querying the database or the queue, or redrawing a plot).&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;|-&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;|-&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;| red (alert) || &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The thread &lt;/del&gt;hit an error and has stopped. The error is printed in the terminal the GUI was started from. See [[cctbx.xfel GUI/Troubleshooting|Troubleshooting]].&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;| red (alert) || &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;It &lt;/ins&gt;hit an error and has stopped. The error is printed in the terminal the GUI was started from. See [[cctbx.xfel GUI/Troubleshooting|Troubleshooting]].&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;|}&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;|}&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;{| class=&amp;quot;wikitable&amp;quot;&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;{| class=&amp;quot;wikitable&amp;quot;&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;! Light !! &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Thread &lt;/del&gt;!! Runs when&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;! Light !! &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;What it does &lt;/ins&gt;!! Runs when&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;|-&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;|-&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;| Run Sentinel || Finds new runs || &amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039; is on&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;| Run Sentinel || Finds new runs || &amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039; is on&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;|-&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;|-&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;| Calib Worker || Runs FEE and ebeam calibrations || The Energy tab is showing&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;| Calib Worker || Runs FEE and ebeam calibrations &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(absent when there is no Energy tab) &lt;/ins&gt;|| The Energy tab is showing&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;|-&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;|-&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;| Job Sentinel || Submits jobs || &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; is on&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;| Job Sentinel || Submits jobs || &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; is on&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-l141&quot;&gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 139:&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;lt;code&amp;gt;r0012/003_rg005/task007/&amp;lt;/code&amp;gt; || Results of dataset task 7 (ensemble refinement or scaling) for that run, trial and block.&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;lt;code&amp;gt;r0012/003_rg005/task007/&amp;lt;/code&amp;gt; || Results of dataset task 7 (ensemble refinement or scaling) for that run, trial and block.&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;|-&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;|-&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;lt;code&amp;gt;&amp;lt;dataset name&amp;gt;/v001/&amp;lt;/code&amp;gt; || Merging output for version 1 of a dataset: the merged MTZ (&amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v001_all.mtz&amp;lt;/code&amp;gt;), the merging log, and the cosym embedding plots if cosym ran. Phenix tasks write here too&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. The dataset folder also holds the cache files of the Merging stats tab&amp;#039;s detector drift page (&amp;lt;code&amp;gt;drift_cache_v001_*.pkl&amp;lt;/code&amp;gt;)&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;| &amp;lt;code&amp;gt;&amp;lt;dataset name&amp;gt;/v001/&amp;lt;/code&amp;gt; || Merging output for version 1 of a dataset: the merged MTZ (&amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v001_all.mtz&amp;lt;/code&amp;gt;), the merging log, and the cosym embedding plots if cosym ran. Phenix tasks write here too.&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;|-&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;|-&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;lt;code&amp;gt;averages/&amp;lt;/code&amp;gt; || Average, maximum and standard deviation images from the Runs tab &amp;#039;&amp;#039;Average&amp;#039;&amp;#039; button.&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;lt;code&amp;gt;averages/&amp;lt;/code&amp;gt; || Average, maximum and standard deviation images from the Runs tab &amp;#039;&amp;#039;Average&amp;#039;&amp;#039; button.&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&amp;diff=1804&amp;oldid=prev</id>
		<title>Aaron at 22:44, 21 October 2026</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI&amp;diff=1804&amp;oldid=prev"/>
		<updated>2026-10-21T22:44:28Z</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:44, 21 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-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&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 &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Watch for new runs&amp;quot;) looks for new runs every 10 seconds, adds them to the database, applies persistent tags, and extends open run blocks to include them.&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 &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Watch for new runs&amp;quot;) looks for new runs every 10 seconds, adds them to the database, applies persistent tags, and extends open run blocks to include them.&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 &amp;#039;&amp;#039;&amp;#039;job sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Auto-submit jobs&amp;quot;) looks every 10 seconds for work that has not been submitted yet: indexing jobs for active trials, and the pipeline stages of active datasets. It submits them using the multiprocessing settings from the Settings dialog (local, Slurm, LSF, ...).&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 &amp;#039;&amp;#039;&amp;#039;job sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Auto-submit jobs&amp;quot;) looks every 10 seconds for work that has not been submitted yet: indexing jobs for active trials, and the pipeline stages of active datasets. It submits them using the multiprocessing settings from the Settings dialog (local, Slurm, LSF, ...).&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;&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;Because activating a trial or dataset, or saving a run block on an active trial, can commit the queue to a great deal of work, the GUI counts the jobs such an action would submit and asks for confirmation when the total reaches the &amp;lt;code&gt;job_count_warning&amp;lt;/code&gt; setting (50 by default). The message lists the count by stage.&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;The &amp;#039;&amp;#039;&amp;#039;job monitor&amp;#039;&amp;#039;&amp;#039; queries the queuing system for the status of every unfinished job and records it in the database. It runs while the Jobs or Run Stats tab is showing.&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 &amp;#039;&amp;#039;&amp;#039;job monitor&amp;#039;&amp;#039;&amp;#039; queries the queuing system for the status of every unfinished job and records it in the database. It runs while the Jobs or Run Stats tab is showing.&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-l60&quot;&gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&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;Phenix&amp;#039;&amp;#039;&amp;#039; (optional): any Phenix command run on the merged MTZ.&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;Phenix&amp;#039;&amp;#039;&amp;#039; (optional): any Phenix command run on the merged MTZ.&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;The first three are &amp;#039;&amp;#039;local&amp;#039;&amp;#039; tasks that run once per run and chain automatically: each starts when the previous task for that run has finished. Merging and Phenix are &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks that run once over all finished runs. Each time merging runs it creates a new &amp;#039;&amp;#039;&amp;#039;dataset version&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;v001&amp;lt;/code&amp;gt;, ...). As more runs finish during an experiment, the job sentinel keeps rolling new versions, so the merged data set grows while data are still being collected. See the [[cctbx.xfel GUI/Datasets tab|Datasets tab]].&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 first three are &amp;#039;&amp;#039;local&amp;#039;&amp;#039; tasks that run once per run and chain automatically: each starts when the previous task for that run has finished. Merging and Phenix are &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks that run once over all finished runs. Each time merging runs it creates a new &amp;#039;&amp;#039;&amp;#039;dataset version&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;v001&amp;lt;/code&amp;gt;, ...). As more runs finish during an experiment, the job sentinel keeps rolling new versions, so the merged data set grows while data are still being collected&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Changing the parameters of a merging or Phenix stage also rolls a new version from the same per-run results, and the versions made with the old settings are kept.&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;Tasks are identified by what they compute: the task type, the trial, the parameters and the task that feeds them. Two datasets whose pipelines agree up to some stage therefore share that stage&amp;#039;s task and its jobs automatically, so a second dataset that merges the same runs with a different resolution limit reuses the ensemble refinement and scaling already done&lt;/ins&gt;. See the [[cctbx.xfel GUI/Datasets tab|Datasets tab]].&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;=== Projects (saved settings) ===&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;=== Projects (saved settings) ===&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 85:&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;Large text&amp;#039;&amp;#039;&amp;#039; || Toggles larger text and markers in the Run Stats and Unit Cell plots, for reading from across a control room. Takes effect on the next redraw.&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;Large text&amp;#039;&amp;#039;&amp;#039; || Toggles larger text and markers in the Run Stats and Unit Cell plots, for reading from across a control room. Takes effect on the next redraw.&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;|-&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;|-&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;Help&amp;#039;&amp;#039;&amp;#039; || Opens this documentation in the default web browser, at the page for the tab currently showing. Also available from the &amp;#039;&amp;#039;Help&amp;#039;&amp;#039; menu as &amp;#039;&amp;#039;Online help&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;Help&amp;#039;&amp;#039;&amp;#039; || Opens this documentation in the default web browser, at the page for the tab currently showing. Also available from the &amp;#039;&amp;#039;Help&amp;#039;&amp;#039; menu as &amp;#039;&amp;#039;Online help&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. The Settings dialog has a Help button of its own&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;|}&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;|}&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-l121&quot;&gt;Line 121:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&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;| Unit Cell Sentinel || Redraws the unit cell plot (every 15 s) || The Unit Cell tab is showing and &amp;#039;&amp;#039;Auto update&amp;#039;&amp;#039; is ticked&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;| Unit Cell Sentinel || Redraws the unit cell plot (every 15 s) || The Unit Cell tab is showing and &amp;#039;&amp;#039;Auto update&amp;#039;&amp;#039; is ticked&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;|-&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;|-&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;| Merging Stats Sentinel || Redraws the merging statistics (every 5 s) || The Merging stats tab is showing&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;| Merging Stats Sentinel || Redraws the merging statistics &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and the drift plot &lt;/ins&gt;(every 5 s) || The Merging stats tab is showing &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &amp;#039;&amp;#039;Auto update&amp;#039;&amp;#039; is ticked&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;|}&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;|}&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-l137&quot;&gt;Line 137:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&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;lt;code&amp;gt;r0012/003_rg005/task007/&amp;lt;/code&amp;gt; || Results of dataset task 7 (ensemble refinement or scaling) for that run, trial and block.&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;lt;code&amp;gt;r0012/003_rg005/task007/&amp;lt;/code&amp;gt; || Results of dataset task 7 (ensemble refinement or scaling) for that run, trial and block.&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;|-&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;|-&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;lt;code&amp;gt;&amp;lt;dataset name&amp;gt;/v001/&amp;lt;/code&amp;gt; || Merging output for version 1 of a dataset: the merged MTZ (&amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v001_all.mtz&amp;lt;/code&amp;gt;), the merging log, and the cosym embedding plots if cosym ran. Phenix tasks write here too.&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;lt;code&amp;gt;&amp;lt;dataset name&amp;gt;/v001/&amp;lt;/code&amp;gt; || Merging output for version 1 of a dataset: the merged MTZ (&amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v001_all.mtz&amp;lt;/code&amp;gt;), the merging log, and the cosym embedding plots if cosym ran. Phenix tasks write here too&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. The dataset folder also holds the cache files of the Merging stats tab&amp;#039;s detector drift page (&amp;lt;code&amp;gt;drift_cache_v001_*.pkl&amp;lt;/code&amp;gt;)&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;|-&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;|-&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;lt;code&amp;gt;averages/&amp;lt;/code&amp;gt; || Average, maximum and standard deviation images from the Runs tab &amp;#039;&amp;#039;Average&amp;#039;&amp;#039; button.&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;lt;code&amp;gt;averages/&amp;lt;/code&amp;gt; || Average, maximum and standard deviation images from the Runs tab &amp;#039;&amp;#039;Average&amp;#039;&amp;#039; button.&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&amp;diff=1791&amp;oldid=prev</id>
		<title>Aaron: Created page with &quot;{{DISPLAYTITLE:cctbx.xfel GUI}} The &#039;&#039;&#039;cctbx.xfel GUI&#039;&#039;&#039; is the graphical front end for processing serial crystallography data with cctbx.xfel and DIALS. It watches for new runs as they are collected, submits processing jobs to a cluster or to the local machine, records everything in a database, and shows live feedback on hit rates, indexing rates, unit cells and merging statistics. It can also take a finished set of runs through ensemble refinement, scaling and merging,...&quot;</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI&amp;diff=1791&amp;oldid=prev"/>
		<updated>2026-10-09T20:47:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:cctbx.xfel GUI}} The &amp;#039;&amp;#039;&amp;#039;cctbx.xfel GUI&amp;#039;&amp;#039;&amp;#039; is the graphical front end for processing serial crystallography data with cctbx.xfel and DIALS. It watches for new runs as they are collected, submits processing jobs to a cluster or to the local machine, records everything in a database, and shows live feedback on hit rates, indexing rates, unit cells and merging statistics. It can also take a finished set of runs through ensemble refinement, scaling and merging,...&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}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;cctbx.xfel GUI&amp;#039;&amp;#039;&amp;#039; is the graphical front end for processing serial crystallography data with cctbx.xfel and DIALS. It watches for new runs as they are collected, submits processing jobs to a cluster or to the local machine, records everything in a database, and shows live feedback on hit rates, indexing rates, unit cells and merging statistics. It can also take a finished set of runs through ensemble refinement, scaling and merging, and on to Phenix.&lt;br /&gt;
&lt;br /&gt;
This page explains the ideas behind the GUI and the layout of the main window. The tabs and dialogs are documented on their own pages, and the GUI&amp;#039;s &amp;#039;&amp;#039;&amp;#039;Help&amp;#039;&amp;#039;&amp;#039; toolbar button opens the page for whichever tab is showing.&lt;br /&gt;
&lt;br /&gt;
== Pages ==&lt;br /&gt;
* [[cctbx.xfel GUI/Settings|Settings and login]]: connecting to the database, choosing the facility, the output folder and the queuing system, saving projects.&lt;br /&gt;
* [[cctbx.xfel GUI/Runs tab|Runs tab]]: the list of runs and their sample tags; image averaging.&lt;br /&gt;
* [[cctbx.xfel GUI/Energy tab|Energy tab]]: FEE spectrometer and ebeam energy calibration (LCLS only).&lt;br /&gt;
* [[cctbx.xfel GUI/Trials tab|Trials tab]]: processing parameters (trials) and which runs they apply to (run blocks).&lt;br /&gt;
* [[cctbx.xfel GUI/Jobs tab|Jobs tab]]: every submitted job and its status; stopping, deleting and restarting jobs.&lt;br /&gt;
* [[cctbx.xfel GUI/Run Stats tab|Run Stats tab]]: live hit rate, indexing rate and resolution plots.&lt;br /&gt;
* [[cctbx.xfel GUI/Unit Cell tab|Unit Cell tab]]: unit cell histograms and clustering.&lt;br /&gt;
* [[cctbx.xfel GUI/Datasets tab|Datasets tab]]: the post-processing pipeline (ensemble refinement, scaling, merging, Phenix).&lt;br /&gt;
* [[cctbx.xfel GUI/Merging Stats tab|Merging Stats tab]]: merging statistics and cosym embedding plots per dataset version.&lt;br /&gt;
* [[cctbx.xfel GUI/Workflows|Workflows]]: step-by-step recipes for common tasks.&lt;br /&gt;
* [[cctbx.xfel GUI/Troubleshooting|Troubleshooting]]: what the red lights mean, where the logs are, and common problems.&lt;br /&gt;
&lt;br /&gt;
== How the GUI works ==&lt;br /&gt;
&lt;br /&gt;
=== Everything lives in a database ===&lt;br /&gt;
The GUI keeps its state in a MySQL database rather than in files. Runs, tags, trials, run blocks, jobs, datasets and the per-image results of processing (spots found, unit cells, resolution, and so on) are all database rows. This has two consequences worth knowing from the start:&lt;br /&gt;
&lt;br /&gt;
* Several copies of the GUI can be connected to the same experiment at once, for example one submitting jobs at the beamline and one just watching the statistics from an office. See &amp;#039;&amp;#039;Monitoring mode&amp;#039;&amp;#039; below.&lt;br /&gt;
* Closing and reopening the GUI loses nothing. Every trial and job is still there when you reconnect.&lt;br /&gt;
&lt;br /&gt;
All tables for one experiment share a prefix called the &amp;#039;&amp;#039;&amp;#039;experiment tag&amp;#039;&amp;#039;&amp;#039; (for example &amp;lt;code&amp;gt;cxi12345_v1&amp;lt;/code&amp;gt;). Changing the experiment tag is effectively starting a fresh, empty experiment in the same database. The tag and the connection settings are entered in the [[cctbx.xfel GUI/Settings|Settings dialog]] when the GUI starts, and cannot be changed without restarting.&lt;br /&gt;
&lt;br /&gt;
The processing jobs themselves write their results to the &amp;#039;&amp;#039;&amp;#039;output folder&amp;#039;&amp;#039;&amp;#039; on disk (see &amp;#039;&amp;#039;Where the results go&amp;#039;&amp;#039; below) and log summaries of each image back to the database as they run. The GUI&amp;#039;s plots are drawn from those database records.&lt;br /&gt;
&lt;br /&gt;
=== Runs and tags ===&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;run&amp;#039;&amp;#039;&amp;#039; is the unit of data collection: at LCLS it is an XTC run number; in standalone mode it is a file or folder of images (see [[cctbx.xfel GUI/Settings#Standalone options|Standalone options]]). The &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; polls for new runs and adds them to the database.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tags&amp;#039;&amp;#039;&amp;#039; are free-form labels attached to runs, typically sample names or conditions (&amp;lt;code&amp;gt;lysozyme&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dark&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;pump_on&amp;lt;/code&amp;gt;, ...). A run can carry any number of tags. Tags are what the later stages use to select data: the Run Stats, Unit Cell and Datasets pages all select runs by tag, so tagging runs consistently as they arrive is the single most useful habit when running the GUI live. The [[cctbx.xfel GUI/Runs tab|Runs tab]] is where tags are created and applied, and &amp;#039;&amp;#039;&amp;#039;persistent tags&amp;#039;&amp;#039;&amp;#039; can be applied automatically to every new run.&lt;br /&gt;
&lt;br /&gt;
=== Trials and run blocks ===&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;trial&amp;#039;&amp;#039;&amp;#039; is a set of processing parameters: spot finding, indexing and integration settings for &amp;lt;code&amp;gt;cctbx.xfel.process&amp;lt;/code&amp;gt; (or whichever back end is configured). Trials are numbered, and a new trial starts as a copy of the previous one so that tuning parameters is a matter of changing a few values and creating a new trial. Trials are never edited after creation (except for their comment); to change parameters, create a new trial. This keeps the provenance of every result unambiguous: results are stored under the trial number that produced them.&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;run block&amp;#039;&amp;#039;&amp;#039; (also called a rungroup, and labelled &amp;lt;code&amp;gt;rg&amp;lt;/code&amp;gt; in paths and job listings) is a contiguous range of runs together with the detector and beam settings that apply to them: detector address, beam centre and distance, binning, energy override, reference geometry, pixel mask and so on. A run block can be &amp;#039;&amp;#039;open&amp;#039;&amp;#039; (new runs are added to it automatically as they arrive) or have an explicit end run. Run blocks belong to trials, and the same run block can be shared by several trials.&lt;br /&gt;
&lt;br /&gt;
The GUI submits one processing job for every combination of &amp;#039;&amp;#039;active trial&amp;#039;&amp;#039; × &amp;#039;&amp;#039;run block in that trial&amp;#039;&amp;#039; × &amp;#039;&amp;#039;run in that block&amp;#039;&amp;#039;. Marking a trial active is therefore what starts processing, and deactivating it stops new jobs from being submitted (running jobs continue).&lt;br /&gt;
&lt;br /&gt;
=== Jobs and sentinels ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Sentinels&amp;#039;&amp;#039;&amp;#039; are background threads inside the GUI that poll the database and the queuing system. Each has a status light at the bottom of the window (see below). The two most important are toggled from the toolbar:&lt;br /&gt;
&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Watch for new runs&amp;quot;) looks for new runs every 10 seconds, adds them to the database, applies persistent tags, and extends open run blocks to include them.&lt;br /&gt;
* The &amp;#039;&amp;#039;&amp;#039;job sentinel&amp;#039;&amp;#039;&amp;#039; (&amp;quot;Auto-submit jobs&amp;quot;) looks every 10 seconds for work that has not been submitted yet: indexing jobs for active trials, and the pipeline stages of active datasets. It submits them using the multiprocessing settings from the Settings dialog (local, Slurm, LSF, ...).&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;job monitor&amp;#039;&amp;#039;&amp;#039; queries the queuing system for the status of every unfinished job and records it in the database. It runs while the Jobs or Run Stats tab is showing.&lt;br /&gt;
&lt;br /&gt;
The other sentinels (run stats, unit cell, merging stats, calibration worker) redraw the plots on their tabs and run only while that tab is showing.&lt;br /&gt;
&lt;br /&gt;
=== Datasets, tasks and versions ===&lt;br /&gt;
Indexing and integration produce one result per image. To get a merged reflection file a &amp;#039;&amp;#039;&amp;#039;dataset&amp;#039;&amp;#039;&amp;#039; is needed. A dataset selects runs (one trial, and a set of tags combined by &amp;#039;&amp;#039;intersection&amp;#039;&amp;#039; or &amp;#039;&amp;#039;union&amp;#039;&amp;#039;) and runs a pipeline of &amp;#039;&amp;#039;&amp;#039;tasks&amp;#039;&amp;#039;&amp;#039; over them:&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Indexing&amp;#039;&amp;#039;&amp;#039;: the trial&amp;#039;s own integration results (nothing new is run).&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Ensemble refinement&amp;#039;&amp;#039;&amp;#039; (optional): time-dependent ensemble refinement of detector geometry and crystal models, followed by reintegration, per run.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Scaling&amp;#039;&amp;#039;&amp;#039;: filters lattices (unit cell, correlation to a reference) and scales each run against a reference model, or prepares them for a reference-free merge.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Merging&amp;#039;&amp;#039;&amp;#039;: merges every scaled run into one MTZ file, with statistics.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Phenix&amp;#039;&amp;#039;&amp;#039; (optional): any Phenix command run on the merged MTZ.&lt;br /&gt;
&lt;br /&gt;
The first three are &amp;#039;&amp;#039;local&amp;#039;&amp;#039; tasks that run once per run and chain automatically: each starts when the previous task for that run has finished. Merging and Phenix are &amp;#039;&amp;#039;global&amp;#039;&amp;#039; tasks that run once over all finished runs. Each time merging runs it creates a new &amp;#039;&amp;#039;&amp;#039;dataset version&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;v000&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;v001&amp;lt;/code&amp;gt;, ...). As more runs finish during an experiment, the job sentinel keeps rolling new versions, so the merged data set grows while data are still being collected. See the [[cctbx.xfel GUI/Datasets tab|Datasets tab]].&lt;br /&gt;
&lt;br /&gt;
=== Projects (saved settings) ===&lt;br /&gt;
All of the settings entered in the Settings dialog (database connection, experiment tag, facility, output folder, queuing) are saved together as a &amp;#039;&amp;#039;&amp;#039;project&amp;#039;&amp;#039;&amp;#039; in &amp;lt;code&amp;gt;~/.cctbx.xfel/settings_&amp;lt;name&amp;gt;.phil&amp;lt;/code&amp;gt;. The GUI starts with the most recently used project, and the Settings dialog can load or save projects by name, so switching between experiments is a matter of loading a different project. The environment variable &amp;lt;code&amp;gt;CCTBX_XFEL_SETTINGS&amp;lt;/code&amp;gt; can point at an explicit settings file instead.&lt;br /&gt;
&lt;br /&gt;
== The main window ==&lt;br /&gt;
&lt;br /&gt;
=== Toolbar ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Button !! What it does&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Quit&amp;#039;&amp;#039;&amp;#039; || Stops all sentinels, saves the settings and closes the GUI. Jobs already submitted keep running.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039;&amp;#039; || Starts or stops the run sentinel. The icon changes to a pause symbol while it is running and the &amp;#039;&amp;#039;Run Sentinel&amp;#039;&amp;#039; light turns green.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039;&amp;#039; || Starts or stops the job sentinel. While it runs, every active trial and dataset gets its jobs submitted automatically. The &amp;#039;&amp;#039;Job Sentinel&amp;#039;&amp;#039; light turns green.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Settings&amp;#039;&amp;#039;&amp;#039; || Opens the [[cctbx.xfel GUI/Settings|Settings dialog]]. The database connection and experiment tag are locked while the GUI is connected; everything else (output folder, queue, number of processors, facility options) can be changed and takes effect for jobs submitted afterwards.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Large text&amp;#039;&amp;#039;&amp;#039; || Toggles larger text and markers in the Run Stats and Unit Cell plots, for reading from across a control room. Takes effect on the next redraw.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Help&amp;#039;&amp;#039;&amp;#039; || Opens this documentation in the default web browser, at the page for the tab currently showing. Also available from the &amp;#039;&amp;#039;Help&amp;#039;&amp;#039; menu as &amp;#039;&amp;#039;Online help&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Settings&amp;#039;&amp;#039; buttons are hidden in monitoring mode.&lt;br /&gt;
&lt;br /&gt;
=== Tabs ===&lt;br /&gt;
The tabs, from left to right: [[cctbx.xfel GUI/Runs tab|Runs]], [[cctbx.xfel GUI/Energy tab|Energy]] (LCLS only), [[cctbx.xfel GUI/Trials tab|Trials]], [[cctbx.xfel GUI/Jobs tab|Jobs]], [[cctbx.xfel GUI/Run Stats tab|Run Stats]], [[cctbx.xfel GUI/Unit Cell tab|Unit Cell]], [[cctbx.xfel GUI/Datasets tab|Datasets]] and [[cctbx.xfel GUI/Merging Stats tab|Merging stats]]. They follow the order of a typical experiment: tag the runs, set up a trial, watch the jobs and the statistics, build a dataset, and watch the merging statistics.&lt;br /&gt;
&lt;br /&gt;
Switching to a tab starts the sentinel that feeds it and switching away stops it, so only the visible tab costs database queries.&lt;br /&gt;
&lt;br /&gt;
=== Status lights ===&lt;br /&gt;
A row of lights along the bottom of the window shows the state of each background thread.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Colour !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| grey (off) || The thread is not running.&lt;br /&gt;
|-&lt;br /&gt;
| green (on) || The thread is running and waiting for its next cycle.&lt;br /&gt;
|-&lt;br /&gt;
| yellow || The thread is in the middle of a cycle (querying the database or the queue, or redrawing a plot).&lt;br /&gt;
|-&lt;br /&gt;
| red (alert) || The thread hit an error and has stopped. The error is printed in the terminal the GUI was started from. See [[cctbx.xfel GUI/Troubleshooting|Troubleshooting]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Light !! Thread !! Runs when&lt;br /&gt;
|-&lt;br /&gt;
| Run Sentinel || Finds new runs || &amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039; is on&lt;br /&gt;
|-&lt;br /&gt;
| Calib Worker || Runs FEE and ebeam calibrations || The Energy tab is showing&lt;br /&gt;
|-&lt;br /&gt;
| Job Sentinel || Submits jobs || &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; is on&lt;br /&gt;
|-&lt;br /&gt;
| Job Monitor || Tracks job status in the queue || The Jobs or Run Stats tab is showing&lt;br /&gt;
|-&lt;br /&gt;
| Run Stats Sentinel || Redraws the Run Stats plot (every 5 s) || The Run Stats tab is showing and &amp;#039;&amp;#039;Auto update&amp;#039;&amp;#039; is ticked&lt;br /&gt;
|-&lt;br /&gt;
| Unit Cell Sentinel || Redraws the unit cell plot (every 15 s) || The Unit Cell tab is showing and &amp;#039;&amp;#039;Auto update&amp;#039;&amp;#039; is ticked&lt;br /&gt;
|-&lt;br /&gt;
| Merging Stats Sentinel || Redraws the merging statistics (every 5 s) || The Merging stats tab is showing&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Monitoring mode ===&lt;br /&gt;
Starting the GUI with &amp;lt;code&amp;gt;monitoring_mode=True&amp;lt;/code&amp;gt; (in the settings file or on the command line) gives a read-only view of an experiment: the Runs, Trials, Jobs and Datasets tabs and the submit buttons are hidden, leaving the Run Stats, Unit Cell and Merging stats tabs. Use it for a second copy of the GUI connected to the same database, so that only one copy submits jobs.&lt;br /&gt;
&lt;br /&gt;
== Where the results go ==&lt;br /&gt;
Everything written by jobs goes under the &amp;#039;&amp;#039;output folder&amp;#039;&amp;#039; chosen in the Settings dialog.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Path !! Contents&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;r0012/003_rg005/&amp;lt;/code&amp;gt; || Indexing and integration results for run 12, trial 3, run block 5. Inside: &amp;lt;code&amp;gt;out/&amp;lt;/code&amp;gt; holds the integrated experiments and reflections (&amp;lt;code&amp;gt;*_integrated.expt&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;*_integrated.refl&amp;lt;/code&amp;gt;); &amp;lt;code&amp;gt;stdout/log.out&amp;lt;/code&amp;gt; is the job log; &amp;lt;code&amp;gt;all/&amp;lt;/code&amp;gt; holds every image converted to CBF when &amp;#039;&amp;#039;Dump all images&amp;#039;&amp;#039; is on (LCLS). In standalone mode with non-numeric run names the folder is named after the run instead of &amp;lt;code&amp;gt;r0012&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;r0012/003_rg005/task007/&amp;lt;/code&amp;gt; || Results of dataset task 7 (ensemble refinement or scaling) for that run, trial and block.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;dataset name&amp;gt;/v001/&amp;lt;/code&amp;gt; || Merging output for version 1 of a dataset: the merged MTZ (&amp;lt;code&amp;gt;&amp;lt;name&amp;gt;_v001_all.mtz&amp;lt;/code&amp;gt;), the merging log, and the cosym embedding plots if cosym ran. Phenix tasks write here too.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;averages/&amp;lt;/code&amp;gt; || Average, maximum and standard deviation images from the Runs tab &amp;#039;&amp;#039;Average&amp;#039;&amp;#039; button.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;cluster/&amp;lt;/code&amp;gt; || Unit cell cluster files written by the Unit Cell tab, for use by the scaling stage of a dataset.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;MySql/&amp;lt;/code&amp;gt; || Data files of a locally started database server (default location).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The GUI&amp;#039;s own files are in &amp;lt;code&amp;gt;~/.cctbx.xfel/&amp;lt;/code&amp;gt;: the project settings bundles and a &amp;lt;code&amp;gt;cfgs/&amp;lt;/code&amp;gt; folder holding the PHIL and locator files generated for every job.&lt;br /&gt;
&lt;br /&gt;
== Starting the GUI ==&lt;br /&gt;
&amp;lt;pre&amp;gt;cctbx.xfel&amp;lt;/pre&amp;gt;&lt;br /&gt;
opens the login (Settings) dialog followed by the main window. &amp;lt;code&amp;gt;cctbx.xfel -h&amp;lt;/code&amp;gt; prints every configuration parameter with its help text; any of them can be given on the command line, for example &amp;lt;code&amp;gt;cctbx.xfel monitoring_mode=True&amp;lt;/code&amp;gt;. The GUI prints progress and error messages to the terminal it was started from, so keep that terminal visible.&lt;br /&gt;
&lt;br /&gt;
Older documentation: [http://cci.lbl.gov/publications/download/CCN_2019_p22_Brewster.pdf Brewster et al. (2019), Computational Crystallography Newsletter 10, 22].&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
</feed>