Report Builder#
The Report Builder is a document editor for report templates. A template is ordinary formatted text with data fields in it; Generate fills the fields from the current project and writes a PDF, Word or HTML file.
Templates#
The template buttons in the top bar manage named templates for the project.
| Button | What it does |
|---|---|
| New | Starts an empty template. |
| Open | Opens a saved template. Templates can be kept in folders, to any depth, and the built-in templates are grouped in folders under Built-in. Search lists matches with their folder. |
| Save | Saves the open template. It is disabled for a template that has no name yet; use Save As first. |
| Save As | Saves a copy under a new Report Name. An existing name asks before it is replaced. |
An empty template cannot be saved. The bar shows the time of the last autosave. Users without edit permission can read a template and use Preview and PDF, but not change it.
Placeholders#
The report placeholder reference lists the built-in fields and their descriptions.
A report that uses scan sections starts with the scans of the loaded scan's sample (the Source scans bar reads "Using 3 scans of Sample 12"); Choose scans… changes them. Hovering a scan chip shows its spectrum, and clicking it opens the scan.
Click Insert Data in the editor toolbar, or type {{, to add a data field such as sample.name. Browse All Data Fields... opens a searchable tree; double-click a field, or select a leaf and click Insert. Hover an existing placeholder to see its resolved value and the scan it comes from; click it to open that scan, or double-click it to edit its name and options (Edit Placeholder). The name is chosen from a searchable list of data fields, each shown with what it resolves to now. The scan is the report's main scan.
Figures are inserted the same way. A figure placeholder has an Options button for what it draws (real, imaginary or magnitude part, Peak Labels, Integrals, J-Coupling Tree, Molecule) and its X Min / X Max range. Use current view copies the settings from the plot as it looks now. The options apply only to that figure.
{{experiment.sequence_diagram}} draws the scan's pulse-sequence diagram as it appears under Sequence in the scan's information: the stored sequence of a scan acquired with NucleI, or the pulse program of an imported Bruker scan as far as it is read (see Supported formats). A diagram that is only partly read ends with a line naming the program lines left out. A scan with neither shows the same dash as any other field without data.
{{peaks}} is the peak list and {{shifts}} the signals; {{peaks.assignment}} is only the assigned part, as its own table. For a 1D scan it has one row per assigned signal with its atoms, shift, multiplicity, J couplings, proton count and integral; for a 2D scan, one row per assigned cross-peak with its atom pair. Atoms are numbered by the project's atom-numbering setting, the same as in the peak-list export. It works inside Repeat for... blocks and is kept as approved with the report.
Journal style#
Journal styles apply to the experimental line. {{experimental}} writes the reported signals as one line, ¹H NMR (CDCl3, 400 MHz): δ 7.26 (d, 2H, J = 7.1 Hz), … in the ACS form, or the form of whichever journal style the template names; the peak table's copy button writes the same line. Signals are listed downfield first and solvent and impurity lines are left out. ¹H shifts have two decimals and other nuclei one, with J to 0.1 Hz. In the ACS form the solvent comes before the frequency, the brackets hold multiplicity, proton count and J in that order, ¹³C is written as plain shifts (a second decimal only where two shifts would otherwise print alike), a multiplet is written as its range, and a proton-decoupled spectrum reads ¹³C{¹H}. The Journal style selector in the Report Builder bar sets the template default, and the gear on an {{experimental}} placeholder (or {{experimental|style:rsc}}) names its own.
| Style | Journals | Form |
|---|---|---|
| ACS | J. Am. Chem. Soc., J. Org. Chem., Org. Lett. | ¹H NMR (500 MHz, CDCl₃) δ 7.26 (d, J = 7.1 Hz, 2H); a proton-decoupled spectrum is ¹³C{¹H} NMR |
| Organometallics, J. Nat. Prod. | the same journals | as ACS |
| RSC | RSC journals | δH(400 MHz; CDCl₃) 7.26 (2 H, d, J 7.1), last entry joined with and, J without units |
| Wiley, Thieme | Angew. Chem., Chem. Eur. J.; Synthesis, Synlett | ¹H NMR (400 MHz, CDCl₃): δ = 7.26 (d, J = 7.1 Hz, 2 H) |
| Elsevier, Tetrahedron, Polyhedron | those journals | J=7.1 Hz, without spaces |
| US patent, Japanese patent | patent specifications | ¹H-NMR (400 MHz, CDCl₃): δ 7.26 (2H, d, J=7.1Hz), count first |
| Shift list | any | shifts only |
{{experimental|form:peaks}} writes the peak-list form, the shifts alone under the same header. {{experimental|journal}} typesets the line for print, with the solvent's digits as subscripts and an italic J. The ACS, Organometallics and J. Nat. Prod. forms follow those journals' author guidelines. The RSC form follows the Royal Society of Chemistry's guide to the presentation of experimental data; the Journal Article states "J values are given in Hz." once before the data when it is selected. The Wiley, Thieme, Elsevier, Tetrahedron, Polyhedron and patent forms follow each publisher's published convention and have not been compared with a current author guideline; compare one line with the journal's guideline before submitting. The {{peaks}}, {{shifts}} and {{peaks.assignment}} tables keep their own layout in every style; a template saved with a style on one of them has it removed when it is opened.
{{analysis.multiplets}} is the multiplet table (shift, range, multiplicity, J, proton count and class of each signal) and {{analysis.integrals}} the integral table (range and normalised value). Both take options: columns:shift+range+multiplicity+j+nh writes only the named columns, only:reported leaves out minor and artifact signals, and precision:2 sets the decimals of the shifts. The range column is empty for a signal that is not a multiplet. {{experiment.parameters_text}} writes the acquisition parameters as running text. A spectrum figure is drawn in ppm whenever the scan has a spectrometer frequency, for a 1D spectrum and for both axes of a plane, in page figures and line-fit layers as well; {{spectrum|units:hz}} draws it in Hz, and a scan with no spectrometer frequency is drawn in Hz. A journal option on a figure placeholder, {{spectrum|re,journal}}, draws it as a journal prints one: a thin black frequency axis titled δH (ppm) or δC (ppm), no grid or title, and no intensity axis. A 1D spectrum is shown over the usual full range, 10–0 ppm for ¹H and 200–0 ppm for ¹³C, widened only to hold a picked line, and is not cropped to its peaks. A 2D plane is drawn with black contours (grey where negative) and without its 1D projections; the projections option adds them.
The Journal Article and SI Characterisation templates in the Publication folder are built from these. Journal Article is a two-column paper layout with a title block, authors, abstract, Introduction, Results and Discussion, Experimental Section and References; the compound's data are written in journal notation, figures and tables carry numbered captions, and tables use three rules. What a person writes is hidden in an unattended run and shown as a marked box at the exhaustive level. The organisation name and page number appear only in the footer. SI Characterisation is the characterisation page for one compound: the data in journal notation, the structures of the sample's components side by side, each no taller than 6 cm, the ¹H and ¹³C spectra with captions of the form "Figure S1. ¹H NMR (400 MHz, CDCl₃) spectrum of …" and the key 2D spectra.
Built-in templates#
The library groups its built-in templates in folders. A template has a stable identity, so a schedule or project that refers to it keeps working when it is moved or renamed.
| Folder | Template | Covers |
|---|---|---|
| Built-in | Current View | One page with the spectrum as shown on screen. It is the template a new project starts on and the one Print current view uses. |
| Routine | Quick Spectrum Report | One scan on one page: sample and experiment, the spectrum, the main conditions and, when recorded, the structure and signals. |
| Routine | Detailed Experiment Report | One scan in full: sample and structure, instrument and method, the spectrum, signal and assignment tables, acquisition parameters, processing history and analyst notes. |
| Characterisation | Comprehensive Sample Characterization | One sample and its experiments: structure and properties, verification, a section for each 1D and 2D scan, findings and records. |
| Quantitative | Reaction Report | Species, conversion, yield and kinetics of a reaction series. |
| Automation | Exception and Processing Failure Report | A run or dataset that produced no results: the failed stage and reason, the affected datasets, the recorded action and the run log. |
| Automation | Batch Summary | The index of a batch of per-scan reports. |
| Publication | Journal Article | A manuscript layout with the compound's data in journal notation. |
| Publication | SI Characterisation | The characterisation page of supporting information for one compound. |
Each of the first four masters declares its version, purpose, what it covers (a scan, a sample or a run), the inputs it requires and the sections that are optional. A master has three levels of detail, Compact, Standard and Exhaustive; the level selects sections of the same template. Preview and Generate use the template's own level unless a schedule step names one. A header and footer with the report's title, identifier, date, the organisation name and page numbers appear on every page; the logo and letterhead come from the branding settings.
Templates replaced by these keep working under their old names and identifiers: Measurement Summary opens Quick Spectrum Report, NMR Analysis Report opens Detailed Experiment Report, Structure Characterisation Report opens Comprehensive Sample Characterization, and Blank Report opens Current View. A copy you saved from one of them is never replaced.
Report status and missing data#
A report is Complete, Incomplete or Failed. It is incomplete when an input the template requires is missing, or when a result failed; it is failed when it describes a failed run. A complete report shows no status mark. An incomplete one shows the mark in its title and a notice that lists what is missing, each item with its source (for example Spectrum, or Scan: could not be read). Preview shows the same list above the preview.
| Placeholder | Content |
|---|---|
{{report.title}}, {{report.objective}}, {{report.template_version}} |
The template's name, declared purpose and version. |
{{report.status}} |
The status. |
{{report.warnings}}, {{report.missing_required}}, {{report.failures}} |
Tables of warnings, absent required inputs and failed results, each with its source and reason. Empty when there are none. |
{{experiment.parameters}} |
The acquisition parameters the scan recorded, with units. A parameter the file did not record is left out. |
{{processing.history}} |
The processing steps in order. Steps the instrument's own software stored with the data are marked as such and are not shown as NucleI processing. |
{{failure.stage}}, {{failure.reason}}, {{failure.affected}}, {{failure.action}}, {{failure.run}}, {{failure.partial}}, {{failure.log}}, {{failure.started}}, {{failure.finished}} |
What a failed run recorded; available in a failure report. |
Conditional sections#
Show if... wraps a part of the template in a section that appears only under a condition. The section shows a chip naming the condition and, for the preview scan, whether it is met; a section that is not met is dimmed and reads hidden. The chip opens the condition for editing, and Remove section, keep content unwraps it. The frame and chip are for editing only and do not appear in the report.
| Condition | The section is shown |
|---|---|
| Show if data is available | When the field has data. Only data that is truly absent hides it; zero is data. |
| Show if data is absent | When the field has no data. |
| Show if status is... | For the chosen statuses of the finished report. |
| Show at level of detail... | At the chosen levels (Compact, Standard, Exhaustive). |
| Require this data | Always. When the field is missing the section shows a notice naming it, and the report is marked incomplete. |
A page break inside a section leaves with it, and a run of page breaks left by hidden sections is reduced to one, so hidden sections do not leave empty pages.
Repeat blocks#
Repeat for... wraps a part of the template so it is written once for every scan, or once for every page of the Acquisition workspace, with that scan's or page's data.
- Scans can cover Every report scan, 1D scans, 2D scans, chosen experiment types, or chosen scans.
- Pages can cover Every page or chosen pages. A scans block inside a pages block repeats only for that page's scans.
- Block title is printed once above the repeated part, and is left out if the block covers nothing.
The report's scans are the benches on the Analysis page, or the loaded scan when there are none. The bar under the toolbar lists them; Choose scans... changes the list. Remove block (keep content) unwraps a block.
Page layout#
Page size, orientation & margins... sets A4, Letter or Legal, Portrait or Landscape, and the margins in mm. Page numbers... adds a number to the header or footer in a format such as Page {n} of {m}, optionally skipping the first page.
Word import#
Import reads a .docx file and replaces the open template with its content. You are asked to confirm because unsaved changes are lost. Formatting is converted to HTML, so complex Word layouts may change; any conversion warnings are shown after import. Then add placeholders where the document has fixed text.
Preview and generating#
Preview renders the template with real data. Preview ready shows how many fields were missing or produced warnings. Generate writes the final file in one of three formats:
| Format | Notes |
|---|---|
| PDF Report | Uses the page size, orientation and margins above. |
| Word Document | An editable .docx. |
| HTML Report | A single web page. |
Generation can take a while. Cancel only stops waiting: the report may still finish in the background, but it is not downloaded. When it succeeds you can Open it or Show in folder.
Send to a notebook#
When a plugin provides a destination such as eLabFTW, the arrow next to Generate lists Send to with its name. To send scans without a report, use Share in the Data Browser. Choose the format (PDF or Word), the server, an API key, and optionally the experiment to add to, then Send. The report is made as usual and kept in the archive, then delivered with a result.json describing it. Include scan data also sends the .nuclei file of each scan the report describes. A pop-up gives the link to the entry, or the reason the delivery failed. The connection is remembered for the next time; the key is kept encrypted and is never shown.
Reports without the loaded scan#
A report generated from a schedule, a batch or an explicit request names the project, samples and scans it covers. Each repeated scan is read in its own scope, and the scan that is open in the app is never used for a scan the report names. A scan that cannot be read is listed as a failure of the report.
One report per scan#
One report per scan (beside Choose in the scans bar) writes a separate report for each scan in the working set. Pick the template and the format, then Generate. Each report describes only its own scan: repeat blocks, the scan fields and the spectrum all refer to that scan. Reports are written one after another; the dialog lists every scan with its outcome, and Stop ends the run after the report in progress. A scan that cannot be read, or a report that fails, is listed with its reason and does not stop the others. When a destination is installed, the dialog can add one to deliver each scan's report to; a delivery that fails is listed as a warning of that scan and the report stays in the archive.
With Also write a summary of the batch on, a further report from the Batch Summary template lists each scan with its outcome, warnings and fields no data filled, and a CSV of the same table is kept with the archive. Its fields are {{batch.count}}, {{batch.succeeded}}, {{batch.failed}} and {{batch.table}}, and they are filled only in that report.
The same run is available from the Data Browser (Report for each scan… on a selection, group, sample or project) and as a Task Manager step. Every report is its own entry in the Reports archive, with the scan it describes; entries of one batch share a batch id. A project whose report is approved cannot start a batch: the approval covers its own report only.
Print the current view#
Print current view (Ctrl+P, ⌘P on macOS, or the command palette) renders the Current View template, a single page with the scan, sample, nucleus, date and the spectrum as it is on screen, and opens it in the preview with its Print button. It is available once a plot is showing. The page uses the template's own layout; edit the Current View template to change it. A printed view is light paper like every report figure, is not archived and is not signed.
Review and signing#
The Review & output bar above the editor shows the template's state (Draft, In review, Changes requested, Approved) and the next sign-off step, such as Request review or Approve. Each step asks you to re-enter your password and records what you are attesting to. Approve puts your signature on the printed report. If the template is edited after signing, the bar warns that the signatures no longer match. Comments opens a thread panel for the whole report.
Every generated file is also signed with the key of the active profile; the signature is embedded in the PDF or Word file.
Generated reports#
The Reports button opens an archive of every report generated for the project. Search, sort, and filter by format; PDF and HTML reports preview in place, Word files open in the default app. Re-download, Show in folder and Delete are on each report. Users without edit permission get their file but leave no archived copy.
Note
Generated reports are fixed once written. Change the template or the data, then generate again.