<?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%2FRuns_tab</id>
	<title>Cctbx.xfel GUI/Runs tab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?action=history&amp;feed=atom&amp;title=Cctbx.xfel_GUI%2FRuns_tab"/>
	<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Runs_tab&amp;action=history"/>
	<updated>2026-10-10T22:21:30Z</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/Runs_tab&amp;diff=1793&amp;oldid=prev</id>
		<title>Aaron: Created page with &quot;{{DISPLAYTITLE:cctbx.xfel GUI/Runs tab}} The &#039;&#039;&#039;Runs tab&#039;&#039;&#039; lists every run the GUI knows about and the sample tags attached to each. It is where tags are created, applied and kept up to date as runs arrive. Tags are the handles that the Run Stats, Unit Cell and Datasets tabs use to select runs, so keeping them accurate pays off later.  Back to cctbx.xfel GUI.  == Where...&quot;</title>
		<link rel="alternate" type="text/html" href="http://viper.lbl.gov:8080/cctbx.xfel/index.php?title=Cctbx.xfel_GUI/Runs_tab&amp;diff=1793&amp;oldid=prev"/>
		<updated>2026-10-09T21:00:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:cctbx.xfel GUI/Runs tab}} The &amp;#039;&amp;#039;&amp;#039;Runs tab&amp;#039;&amp;#039;&amp;#039; lists every run the GUI knows about and the sample tags attached to each. It is where tags are created, applied and kept up to date as runs arrive. Tags are the handles that the &lt;a href=&quot;/cctbx.xfel/index.php/Cctbx.xfel_GUI/Run_Stats_tab&quot; title=&quot;Cctbx.xfel GUI/Run Stats tab&quot;&gt;Run Stats&lt;/a&gt;, &lt;a href=&quot;/cctbx.xfel/index.php/Cctbx.xfel_GUI/Unit_Cell_tab&quot; title=&quot;Cctbx.xfel GUI/Unit Cell tab&quot;&gt;Unit Cell&lt;/a&gt; and &lt;a href=&quot;/cctbx.xfel/index.php/Cctbx.xfel_GUI/Datasets_tab&quot; title=&quot;Cctbx.xfel GUI/Datasets tab&quot;&gt;Datasets&lt;/a&gt; tabs use to select runs, so keeping them accurate pays off later.  Back to &lt;a href=&quot;/cctbx.xfel/index.php/Cctbx.xfel_GUI&quot; title=&quot;Cctbx.xfel GUI&quot;&gt;cctbx.xfel GUI&lt;/a&gt;.  == Where...&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/Runs tab}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Runs tab&amp;#039;&amp;#039;&amp;#039; lists every run the GUI knows about and the sample tags attached to each. It is where tags are created, applied and kept up to date as runs arrive. Tags are the handles that the [[cctbx.xfel GUI/Run Stats tab|Run Stats]], [[cctbx.xfel GUI/Unit Cell tab|Unit Cell]] and [[cctbx.xfel GUI/Datasets tab|Datasets]] tabs use to select runs, so keeping them accurate pays off later.&lt;br /&gt;
&lt;br /&gt;
Back to [[cctbx.xfel GUI]].&lt;br /&gt;
&lt;br /&gt;
== Where runs come from ==&lt;br /&gt;
Runs appear in the list when the &amp;#039;&amp;#039;&amp;#039;run sentinel&amp;#039;&amp;#039;&amp;#039; finds them, so press &amp;#039;&amp;#039;&amp;#039;Watch for new runs&amp;#039;&amp;#039;&amp;#039; on the toolbar to populate the tab. At LCLS it queries the run database for the experiment named in Settings; in standalone mode it scans the monitored folder (see [[cctbx.xfel GUI/Settings#Standalone options|Standalone options]]). New runs are checked for every 10 seconds, and the list refreshes itself; there is no refresh button.&lt;br /&gt;
&lt;br /&gt;
When the sentinel finds new runs it also:&lt;br /&gt;
* applies the &amp;#039;&amp;#039;&amp;#039;persistent tags&amp;#039;&amp;#039;&amp;#039; (below) to each new run, and&lt;br /&gt;
* adds the new runs to every open (&amp;quot;Auto add runs&amp;quot;) run block, so processing starts without any further clicks if a trial is active and &amp;#039;&amp;#039;Auto-submit jobs&amp;#039;&amp;#039; is on.&lt;br /&gt;
&lt;br /&gt;
== The run list ==&lt;br /&gt;
Each row shows the run number and a wide button listing the run&amp;#039;s tags.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tag button&amp;#039;&amp;#039;&amp;#039;: click it to open a checklist of all tags and tick the ones that apply to this run. Changes are saved immediately.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Drag and drop&amp;#039;&amp;#039;&amp;#039;: press on a row and drag it onto another row to copy all of the source run&amp;#039;s tags onto the target run (the target&amp;#039;s existing tags are kept). The target row is highlighted while you hover over it. A plain click on the tag button still opens the checklist.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Average&amp;#039;&amp;#039;&amp;#039;: submits an image averaging job for the run (see below).&lt;br /&gt;
&lt;br /&gt;
== Buttons ==&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;Change Tags on Multiple Runs&amp;#039;&amp;#039;&amp;#039; || Opens a dialog with a checklist of all runs. Tick the runs, then &amp;#039;&amp;#039;&amp;#039;Add tags&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;Remove tags&amp;#039;&amp;#039;&amp;#039; to choose tags to add to, or remove from, every ticked run. The &amp;#039;&amp;#039;Sort tags by&amp;#039;&amp;#039; radio sorts the tag checklist by database id (creation order) or by name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Manage Persistent Tags&amp;#039;&amp;#039;&amp;#039; || Choose tags that the run sentinel applies automatically to every new run it discovers. Use it when starting a new sample: tick the sample&amp;#039;s tag here, and every run collected from now on carries it. The choice lasts for this GUI session only.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Manage Tags&amp;#039;&amp;#039;&amp;#039; || Create, rename, comment and delete tags. &amp;#039;&amp;#039;&amp;#039;Add Tag&amp;#039;&amp;#039;&amp;#039; inserts a new row with a placeholder name; click the name or comment cell to edit it. &amp;#039;&amp;#039;&amp;#039;Remove Tags&amp;#039;&amp;#039;&amp;#039; deletes the selected rows and &amp;#039;&amp;#039;&amp;#039;Clear All&amp;#039;&amp;#039;&amp;#039; deletes every tag (after a confirmation; this cannot be undone). Tag names must be unique. Nothing is written to the database until you press &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Image averaging ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Average&amp;#039;&amp;#039;&amp;#039; submits a &amp;lt;code&amp;gt;dxtbx.image_average&amp;lt;/code&amp;gt; job for the run, using the same queuing settings as processing jobs. It writes three CBF images to &amp;lt;code&amp;gt;averages/&amp;lt;/code&amp;gt; inside the output folder: the mean (&amp;lt;code&amp;gt;avg.cbf&amp;lt;/code&amp;gt;), the per-pixel maximum (&amp;lt;code&amp;gt;max.cbf&amp;lt;/code&amp;gt;) and the standard deviation (&amp;lt;code&amp;gt;std.cbf&amp;lt;/code&amp;gt;). These are useful for checking beam centre and detector distance, finding bad pixels, and making masks.&lt;br /&gt;
&lt;br /&gt;
The dialog asks how many images to &amp;#039;&amp;#039;&amp;#039;skip&amp;#039;&amp;#039;&amp;#039; at the start of the run and whether to &amp;#039;&amp;#039;&amp;#039;use all images&amp;#039;&amp;#039;&amp;#039; or a specified number. The job needs a run block for the detector settings (address, distance, binning): it uses the run&amp;#039;s own run block if it is in one, otherwise the run block whose run range is closest. If no run block exists yet, create one in the [[cctbx.xfel GUI/Trials tab|Trials tab]] first.&lt;br /&gt;
&lt;br /&gt;
The button label changes to &amp;#039;&amp;#039;Running&amp;#039;&amp;#039; once the job is submitted. The job appears in the [[cctbx.xfel GUI/Jobs tab|Jobs tab]] like any other.&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
* Decide on a tagging scheme before the beamtime (sample, buffer, laser on/off, detector distance) and create the tags in &amp;#039;&amp;#039;&amp;#039;Manage Tags&amp;#039;&amp;#039;&amp;#039; at the start.&lt;br /&gt;
* Change the persistent tags every time the sample changes. Runs that arrive with the wrong tags can be fixed afterwards with &amp;#039;&amp;#039;&amp;#039;Change Tags on Multiple Runs&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* A dataset needs at least one tag to select runs by, so even an experiment with a single sample needs one tag applied to its runs.&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
</feed>