Identifier screening
NEMAR (Neuroelectromagnetic Data Archive and Tools Resource) screens datasets for information that identifies a participant: names, birth dates and similar details in the headers and metadata of recordings, in tables and JSON files, and in file names. The recordings it reads are European Data Format (EDF), BioSemi Data Format (BDF), BrainVision, NIRx, Shared Near Infrared Spectroscopy Format (SNIRF), Hierarchical Data Format 5 (HDF5), EEGLAB, Homer and MATLAB files, and the entries of ZIP archives that are in one of those formats. It never reads signal samples, and a recording in any other format is counted by format and not opened. This page says where the screen runs, what it reads, what its verdict words mean, and, in one place, what it does not cover. Every finding kind, state and reason it can report is explained, one by one, in the reference at the end.
The screen is a best effort. It reads specific things in specific places, and a dataset that passes has not been certified anonymous. The depositor’s warranty under the Data Contributor Terms is unchanged, as Using NEMAR Datasets explains.
One scanner, four places
Section titled “One scanner, four places”The same scanner (shared/identifier-scan.ts in nemarOrg/nemar-cli) runs on every surface below, so a verdict means the same thing on each of them.
| When | Where it runs | What the result does |
|---|---|---|
You upload with nemar dataset upload |
On your own machine, before anything is sent | Direct identifiers refuse the upload. A lesser result needs your acknowledgment. See Uploading datasets. |
| You request publication | In a GitHub Actions workflow, on the dataset as NEMAR stores it | Direct identifiers block the request. A lesser result needs an administrator to approve with a recorded reason. See Publishing datasets. |
| A dataset is already published | The same workflow, started by the backend a few datasets at a time | The result is reported to administrators once a week. It never changes a dataset. |
| A dataset is imported from OpenNeuro | In the importer’s prepare step, then the publication screen | Identifying fields in EDF and BDF headers, and identifying values in JSON files, are scrubbed before anything is copied, and publication waits for the screen. On a first import, acquisition dates are also set to 1 January. |
The upload preflight is early feedback for the uploader and is never trusted as a gate.
A modified client can say anything, and the web uploader, raw git-annex pushes and later nemar dataset push, update and commit runs do not go through it.
The publication screen is the check that holds for every path through a publication request; the limits section below lists the two administrator tools that skip it.
Every surface reports kinds and counts only. A report never contains a value from a file, a file name or a path, because a path can be a name and some of this output lands in public logs.
What the screen reads
Section titled “What the screen reads”- EDF and BDF headers. The first 256 bytes of every EDF and BDF file: the patient identification, the recording identification, and the start date and time. The recording itself is never read. Signal-header fields (transducer, prefilter), reserved bytes and EDF+ annotation channels are not read either.
- Other recording formats that have a reader.
BrainVision header (
.vhdr) files are read as text up to 1 MiB, and marker (.vmrk) files up to 16 MiB; NIRx header and information files (.hdr,.inf) are read as text up to 1 MiB each. SNIRF (.snirf) files are read for the metadata tags of everynirsgroup and for their other text values, and HDF5 (.h5,.hdf5) files for every string attribute and string dataset. EEGLAB (.set), Homer (.nirs) and MATLAB (.mat) files are read for their text and for small values under identifying names. A ZIP archive (.zip) is read by its entry names and, for entries of up to 64 MiB in one of these formats, by the reader for that format. Signal samples are skipped by size and never read, in every format. The reader registry is the source of this list; see Formats the screen reads, which is generated from it. - The participants table. Its column names and its participant labels.
- Scans tables (
*_scans.tsv). Theiracq_timevalues. - JSON files.
The keys of JSON files that are not the standard Brain Imaging Data Structure (BIDS) sidecars of a data file (names such as
..._eeg.json,..._events.jsonor..._channels.json), and of JSON files undersourcedata/even when they carry a sidecar name.dataset_description.json,participants.jsonandgenetic_info.jsonare not read. - Small text and code files under
sourcedata/andcode/, for a home-directory path that carries a user name. - File and directory names, for images, documents, editor debris and name-like subject labels.
- Earlier commits (publication screen only). Every path that ever existed on any branch or tag, and the headers of recordings that earlier commits held and the current tree no longer does.
Each reader also has its own limits on bytes, reads and time.
A recording that goes past them is read in part, and the screen is incomplete (Why a screen is incomplete).
A JSON or text file over 2 MiB is not read at all.
A scans table is read up to its first 2 MiB, and the participants table up to 16 MiB.
A file that cannot be read, a JSON or text file over the limit, and a participants table cut at its limit each make the scan incomplete.
The verdict unchecked reports that, unless a finding outranks it, and the incomplete reasons are listed beside the counts.
What it finds
Section titled “What it finds”The lists below cover the rules for EDF and BDF headers and the rules for tables, JSON files and file names.
The readers for other formats report kinds of their own, named for the format (for example snirf-subject-name, eeglab-subject-freetext or mat-identifier-field).
Each is described, with what was read and what to do about it, under Finding kinds, one by one.
Whether a kind is a direct identifier, which blocks, or a review finding, which never blocks on its own, is decided per kind.
Direct identifiers are the findings that block. They are the kinds that name a person or a clinical record:
- a name, or a name-like code, in the patient identification field of an EDF or BDF header;
- name-like free text in the patient field, or in a recording identification field that has no standard layout;
- a birth date finer than the year, in the patient or recording identification field;
- an age over 89 in the patient field;
- non-ASCII text in the patient field, which cannot be a placeholder and which no rule can read;
- a participants-table column that names a person or a clinical record, such as a name, a contact detail or a medical record number;
- a JSON key that names a person or a clinical record, such as a patient name, a birth date or a medical record number, and that holds a value.
Review findings need a person to look. They are listed by kind and count, and they never block on their own:
- a long run of digits in the patient field, which may be a record number;
- a header the scanner could not read, or text in the start-date field that is not a date;
- non-ASCII text in the recording identification field, or an operator name, administrative code or equipment entry in an EDF+ recording field;
- an all-letter
sub-label of four or more letters that is not a descriptive word, in a path or in the participants table, because it may be a name; - an image or a document, recognized by its file extension (BIDS
_photofiles are accepted); - editor and interpreter debris, and a home-directory path with a user name;
- a JSON key that may carry a public contact (address, email, phone);
- an acquisition date finer than year and month, which has its own section below.
Verdict words
Section titled “Verdict words”A scan ends in one verdict.
The same words appear in the upload preflight, in nemar dataset publish status, in the administrator email and in the weekly report, because one module words them all.
Findings outrank incompleteness, which outranks unparsed formats.
| Verdict | Printed as | Meaning | What happens |
|---|---|---|---|
clean |
clean | Every recording was read completely, nothing was found, and every recording is in a format with a reader. | Proceeds. |
dates-only |
clean (acquisition dates only) | Like clean, except that the only findings are acquisition dates. |
Proceeds, with the date warning. |
no-recordings |
clean (no recordings) | The dataset has no recording files. | Proceeds. |
direct-identifiers |
FOUND IDENTIFIERS | At least one direct identifier. | Blocked. There is no override. |
review |
needs review | A review finding, and no direct identifier. | Needs an acknowledgment. |
unchecked |
INCOMPLETE | The scan could not read everything it should have: an unreadable file or directory, a size limit, a missing credential or a deadline. | Needs an acknowledgment. |
not-screened |
recordings NOT screened | The dataset has recordings, and none is in a format with a reader. | Needs an acknowledgment. |
partially-screened |
partially screened, other recordings NOT screened | The recordings the scanner can read are clean, but other recordings are in formats it cannot read. | Needs an acknowledgment. |
clean-edf-only-others-unscreened |
EDF/BDF clean, other recordings NOT screened | Reports of the first version only: the EDF and BDF headers are clean, but other recordings are in formats the scanner cannot read. | Needs an acknowledgment. |
At upload the acknowledgment is yours, given at a prompt or with a flag. At publication it is an administrator’s, recorded with a reason and the administrator’s name. A request-time screen has three more states, none of which is a verdict:
| State | Printed as | What happens |
|---|---|---|
| running | running | Approval waits. |
| did not run | DID NOT RUN | The screen could not be started or failed. Approval waits for a run that works. |
| did not report | DID NOT REPORT | No report arrived in time. Approval waits for a run that works. |
A request that predates the screen, or for which the screen was never started, reads NOT RUN for this request and is handled the same way.
Unknown is never clean.
A screen that did not run, did not finish or did not report is its own state, and so is a stored value that is not a state.
None of them is treated as clear, and none is described as “no findings”.
In the scheduled cycle, a published dataset whose last result is missing, unreadable, older than 28 days, for an older version than its latest, or incomplete is counted as unchecked, with the reason kept apart.
A verdict of not-screened, partially-screened or clean-edf-only-others-unscreened counts as screened in that cycle, and the weekly report says how many datasets that is, so “screened” never reads as “every recording read”.
Acquisition dates
Section titled “Acquisition dates”An acquisition date is the date and time a recording started.
The Data Contributor Terms let one stay when nothing in the dataset ties the recording to an identifiable person, so a date alone is a review-level finding that never blocks and never needs an acknowledgment.
A dataset whose only findings are dates reads dates-only, which is clear.
The scanner counts these kinds: the header start date of an EDF or BDF file, a date in the recording identification field (the one after Startdate in the EDF+ layout, or any date in a free-text field that gives no sign of being a birth date), the MeasurementDate tag of a SNIRF file, a New Segment marker of a BrainVision marker file, the header of a NIRx recording, and a dated acq_time value in a scans table.
It treats 1 January of a year as year-only, so a date on the first of any other month is counted too.
The dates NEMAR sets itself on new data are set to exactly that, so they are not counted; see Setting dates on new data.
Whenever a scan counts at least one of these, every upload and publication-request surface that shows the counts also shows this warning, word for word:
Warning: acquisition dates finer than year and month were found in recording headers or scans tables (N entries). NEMAR does not change them. A date can help identify a participant when it is combined with other information. Remove or coarsen any date that could identify someone before uploading or requesting publication. Administrators are told of these findings when publication is requested.
N is the number of date findings, written 1 entry in the singular.
It counts findings, not recordings: a recording whose recording-identification field also holds a date counts twice.
A scan that could not read everything says at least N entries.
A dates-only verdict whose counts were lost still shows the warning, with the count left out.
The warning appears in the upload preflight (and in --dry-run), in nemar dataset publish status, in the mail that tells a requester a direct identifier blocked the request, and in the administrator’s publication-request mail and nemar admin dataset publish list.
It is not shown when publication is requested, because the screen has not run yet.
The weekly report names date findings by kind and count and does not repeat the warning.
NEMAR does not change dates in data that is already on NEMAR. That is true of every dataset NEMAR already holds, public or not. A privacy correction scrubs identification fields and leaves the start date and time as they are. New data is the exception: when you upload a new dataset or NEMAR imports one for the first time, the day and month of the dates NEMAR can read are set to 1 January, as described below. A coarsened date does not clear the warning unless it is 1 January of its year, and an EDF start-date field cannot hold a month alone.
Setting dates on new data
Section titled “Setting dates on new data”NEMAR sets the acquisition dates it can read in a new recording’s header to 1 January of the same year.
It does this in two places and nowhere else: nemar dataset upload, and the first import of a dataset from OpenNeuro.
The year and the time of day stay, and so does every other byte of the file.
The rule is recorded in Architecture Decision Record (ADR) 0091, which amends the policy of ADR 0090 for new data.
The gate, the verdicts and the acknowledgment rules do not change.
Which dates are set.
- The start date of an EDF or BDF header (bytes 168 to 176, written
dd.mm.yy), when it is a valid date: a day from 1 to 31 and a month from 1 to 12. The day and month become01. The two year digits are not read or written, so any reader gets the same year before and after, and the start time is not touched. - The date after
Startdatein the recording identification field of an EDF+ file, when it is exactlydd-MMM-yyyy: two digits, three letters and four digits. The day becomes01and the month becomesJAN, each letter keeping its case. The separators and the year stay.
A header is changed completely or not at all. If the recording identification field holds an acquisition date in any other layout, such as a different separator, a one-digit day, a two-digit year or a date in free text, the whole header is left as it is, both dates included. Setting only one would leave the day in the other and the two dates disagreeing. Text the scanner does not read as a date, such as a blank start-date field, is left as it is. Before a new header is used, NEMAR checks that it differs from the original only in the day and month of those dates and that the scanner finds neither date in it; a header that fails the check keeps its dates.
First import from OpenNeuro.
The importer’s prepare step sets the dates in EDF and BDF headers, and the acq_time values in scans tables that git holds directly (up to 8 MiB each), before anything is copied.
In a scans table, a value that starts YYYY-MM-DD gets 01-01 for its month and day; its year, its time of day and every other cell stay.
A recording stored in git-annex is downloaded, changed and stored under a new key, and upstream’s copy is not copied.
A recording that git holds is changed in the importer’s working copy before it is pushed.
A date by itself never refuses an import, so a header or table that cannot be changed and checked keeps its dates.
When the recordings that would be downloaded only to set their dates do not all fit within the importer’s size bound (5 GiB by default), none of them is changed and their dates remain.
The mirror’s provenance file says that dates were set, because its checksums describe the upstream files.
A re-import changes no date, because its tree is the dataset NEMAR already holds.
nemar dataset upload.
The upload sets the dates in recording headers only; it edits no scans table.
It makes your directory the dataset’s git-annex repository and stores the files where they are, so the files in your directory are the ones that change.
Before the identifier preflight, the upload works out which headers it can change safely, and only reads.
The preflight screens those headers as they will be written, so a date the upload will set is not warned about, and one it will leave is.
After you confirm the upload and before the second screen, each planned file is copied into the dataset’s .nemar directory, the new header is written into the copy and checked, and the copy is renamed over the original.
--dry-run plans and screens, and changes no file.
The upload leaves a file as it is, and its dates are warned about, when:
- git tracks it, which includes every file git-annex tracks, so recordings you have already committed keep their dates;
- it is inside a nested repository, such as a DataLad subdataset, or git would ignore it;
- git cannot be asked, because it is missing or fails;
- it is a symbolic link;
- you cannot write it or its directory, you do not own it, or its read-only bit is set;
- it is on another filesystem than the dataset’s directory;
- it changed after the plan was made or while it was being copied.
A fault while planning or setting a date never stops the upload; the file keeps its dates and the second screen warns about them. Each recording is copied once before its header is written. On a filesystem that clones files the copy is instant, and elsewhere the upload needs free space for the largest such recording and the time to write it.
When it has set at least one header, the upload prints one line:
Acquisition dates in N recording headers were set to 1 January of their year.
N is the number of headers actually set, and the line reads 1 recording header in the singular.
It is not a warning, it shows no date, value or path, and it asks for nothing.
A dry run, a refused upload and an upload that sets no date print nothing about dates.
What an analysis loses. The day and month of every date that is set are gone from NEMAR’s copy. Analyses that need absolute dates lose them: circadian or seasonal effects, the order and spacing of sessions recorded on different days (they all fall on 1 January, with their times of day kept), age at recording finer than the year, and synchronization with other devices or records by calendar date. Timing inside a recording is unaffected, because EDF+ annotations are offsets from the start and the start time is kept. On upload the files in your own directory change too, and the upload keeps no copy of the original, so a file that was your only copy loses its day and month. Copy your recordings first if you need their dates; a hard link elsewhere keeps the original.
What it does not do.
- It reads and changes EDF and BDF headers and, on a first import, scans tables. The rule changes no other format: dates in BrainVision, NIRx, SNIRF, EEGLAB and FIF headers, sessions tables, sidecar fields, file names and dates inside annotations are left as they are, even where the screen reads and counts them.
- A date in a layout the rule leaves remains, and the date warning still counts it.
nemar dataset commit,pushandupdateset no date, so files added later keep theirs. Data that reaches NEMAR any other way, such as the web uploader or rawgit-annex, is not changed either.- Datasets already on NEMAR are not touched, public or not, and neither is a re-import. The privacy correction scrub and the scheduled re-screen do not set dates.
- On a first import, upstream’s earlier commits, which the push carries, still hold the dated originals of recordings that git held and of scans tables. For a public mirror that history is public. The import does not rewrite it, and a date never holds a publication. The original of a recording stored in git-annex is never copied to NEMAR.
- An older version of the
nemarcommand, or of the importer, does not set dates; the preflight warns about them as before.
Because NEMAR sets the dates it can, the date warning for new data appears only for dates that remain: in a layout the rule leaves, in a scans table of an upload, in a recording the upload could not change, or in a dataset published before the rule. Its sentence “NEMAR does not change them.” is said only of dates NEMAR did not change.
Public upstream acknowledgment
Section titled “Public upstream acknowledgment”An administrator may acknowledge many identifier screens in one act when each request is a conversion of a public, redistributable upstream dataset whose license NEMAR read from the source’s own record (DataCite, OpenNeuro or PhysioNet). Such an acknowledgment covers formats the scanner does not read and image, document or tooling files. Each acknowledgment records a reason naming the upstream, its license and the unread formats, and is the calling administrator’s own act: it satisfies that administrator’s approval and no other’s. The weekly re-screen reads these datasets again as readers are added. The upstream’s license is read as the license lineage reads it, and only a compatible outcome counts.
Recording dates on a credited upstream
Section titled “Recording dates on a credited upstream”Since 2026-11-28 the same acknowledgment also covers the acquisition dates a recording carries, when the dataset credits an openly accessible upstream.
The covered kinds are one closed list: EDF and BDF start dates (edf-startdate, edf-recording-startdate), SNIRF measurement dates, NIRx header dates, BrainVision segment dates and dated scans tables (acq-time-dated).
It also covers a partial read of an EDF, BDF, SNIRF, NIRx or BrainVision recording: one past a reader’s size or time limit, in a version, filter or data type the reader does not parse, or missing a companion, link or content. The screen’s per-reader tally must show that only those readers fell short. A partial read of a ZIP, MATLAB, HDF5, EEGLAB or Homer file, an encrypted or corrupt recording, and an unread EDF or BDF header field are not covered.
The dataset credits its upstream when the source whose license the lineage read from its own record is declared by the dataset itself, in dataset_description.json SourceDatasets or in the deposit attestation.
A source named only in the README is not a credit, and the request answers lineage_not_credited.
The upstream must also be open access: its DataCite record’s access-rights statement and, for Zenodo, figshare and Dataverse installations, the repository’s own access field must not say restricted, embargoed or closed, and at least one must say open.
Unknown access, or a record that could not be read, answers upstream_access.
No file is compared with the upstream’s: a conversion may audit and edit the data, and that never disqualifies it.
A stale screen is never acknowledged this way. An unchecked screen is acknowledged only when every gap it reports is a partial read of a recording described above and the dataset credits an open upstream; any other unchecked screen is not. A screen of dates only needs no acknowledgment, so a batch records none.
These also stay with a person:
- any kind outside the list, including a home-directory path, MATLAB, HDF5 or other free text and an unparsed date slot, because a converter may have added them;
- an unread sidecar, table, text or code file, or a side read that failed;
- a photo, face or questionnaire file, a BIDS photograph, and a request the publication-queue measurement did not include;
- a direct identifier, which blocks publication, as always.
For this part the recorded reason reads: declares upstream with its DOI, its license and open access, how it is credited, the unread formats, and the acknowledged kinds and partial reads.
Honest limits
Section titled “Honest limits”This is the one place that lists what the screen does not cover; other pages link here instead of repeating it.
- Only some formats have a reader.
The formats with a reader are EDF, BDF, BrainVision, NIRx, SNIRF, HDF5, EEGLAB
.set, Homer.nirs, MATLAB.matand ZIP archives, as listed under Formats the screen reads. Every other recording format is counted by format and never opened, and Formats with no reader lists them from the registry: among others.fif,.gdf,.nwb,.xdf, the EEGLAB.fdtsignal file, directory formats such as.ds,.mffand.zarr, and archives such as.tarand.7z. Inside a ZIP archive, an entry in one of those formats is counted too, and a ZIP inside a ZIP is screened by name only. Undersourcedata/, any raw file in a format the scanner does not recognize is counted the same way. A dataset with such recordings readsnot-screenedorpartially-screened, or carries those as extra conditions beside another verdict, and is neverclean. - Images, video and documents are not read.
Images and documents are flagged by file extension only, for a person to look at.
The screen cannot tell whether a face is visible or whether a screenshot shows a name, and it has no rule for video or audio files outside
sourcedata/. NIfTI volumes are counted as unscreened formats and never opened. - Only some tables and JSON files are read, and only in part.
The participants table is read for its column names and participant labels, and scans tables for their
acq_timevalues. Events, channels, electrodes and sessions tables are not read. JSON files are read by key and never by value, so a name under an ordinary key is not found. Standard BIDS sidecars are not read, and neither are the contents of tables and sidecars in earlier commits. The words the screen prints for that areNot read: the contents of sidecars and tables in earlier commits. - Signal samples are never read. In every format the readers read headers, metadata and text, and skip the recording’s data by size: the records of an EDF file and the time series of a SNIRF file. In an EEGLAB, Homer or MATLAB file, the readers read character arrays and numeric arrays of at most 64 elements under identifying field names, and never a recording’s sample data. EDF+ annotation text, signal-header fields, reserved bytes and anything inside a recording, such as audio or video, are not read either.
- Names are recognized by rule. The scanner cannot judge free text it does not recognize as a name or a date.
- Dates in other places are not found.
The date warning covers EDF and BDF headers, SNIRF, BrainVision and NIRx files, and
_scans.tsv. Its absence is not evidence that no date exists in EEGLAB, MATLAB or FIF files, in sessions tables or in sidecars. The rule that sets dates on new data changes fewer places than the warning covers. - A size limit leaves part of a file unread. A JSON or text file over 2 MiB is reported as unread and makes the scan incomplete. The part of a scans table past its first 2 MiB is not read, and that is not reported, so dates there go uncounted.
- The upload preflight is narrower than the publication screen.
It does not read git history, it does not cover the web upload, raw
git-annexor later pushes, and it does not read the text a symbolic link points to. Files the upload writes after the final screen (the.nemarmetadata and the continuous integration workflow) are not screened by it. - A published dataset can still change. A new version of a dataset that is already public does not pass through a publication request, so only the scheduled re-screen looks at it, and a re-screen reports a finding without repairing it. Two administrator tools can also make a dataset public without the screen.
- A clean result is not a certificate. A screen that finds nothing is not a finding that nothing is there.
A false positive on a direct identifier blocks an upload or a request until the scanner is fixed, which is done once for every dataset. There is no override. If you think a result is wrong, open an issue on the nemar-cli repository or write to support@nemar.org. Describe the kind and count the output gave; never paste a value or a file name from your data.
Every statement the screen makes
Section titled “Every statement the screen makes”The sections below are generated from the one module that words the screen (shared/identifier-screen-copy.ts in nemarOrg/nemar-cli) and from its reader registry, so a sentence here is the sentence the command line, the report and the mails print.
Each entry says what was found, what the scanner read to say it, what to do about it, and how to reproduce it.
Entries are sorted by name, and each carries the anchor that links in the screen’s output point to.
The screen also says what it does not read, in these words: Not read: the contents of sidecars and tables in earlier commits.
The rest of what it does not cover is under Honest limits.
See also: Verdict words, which says what each verdict means and what happens next.
Formats the screen reads
Section titled “Formats the screen reads”A format is read when a reader is registered for its extension. A reader reads headers and metadata, and a signal is skipped by size and never read.
| Reader | Extensions |
|---|---|
| EDF/BDF | .edf, .bdf |
| BrainVision | .vhdr, .vmrk |
| NIRx | .hdr, .inf |
| SNIRF | .snirf |
| HDF5 | .h5, .hdf5 |
| EEGLAB | .set |
| Homer .nirs | .nirs |
| MATLAB | .mat |
| ZIP | .zip |
Formats with no reader
Section titled “Formats with no reader”A recording in one of these formats is counted by format and never opened.
A dataset that holds one is not clean; its state says that recordings were not screened.
The EEGLAB .fdt file is listed because it is never read: it holds a recording’s signal, and its .set file is read.
.7z, .bdf.gz, .cdt, .cnt, .con, .dat, .ds/, .edf.gz, .fdt, .fif, .fif.gz, .gdf, .lay, .mefd/, .mff/, .nev, .nii, .nii.gz, .npy, .ns1, .ns2, .ns3, .ns4, .ns5, .ns6, .nwb, .parquet, .rar, .rec, .smr, .sqd, .tar, .tar.gz, .tgz, .trc, .xdf, .zarr/
Screen states, one by one
Section titled “Screen states, one by one”Every state a screen can end in, with the words each surface prints for it. A state is a verdict, or a request-time state that is not one.
clean
Every recording was read completely and nothing was found.
Printed as: clean.
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: Nothing to do.
- Reproduce:
nemar dataset screen --committed
clean-edf-only-others-unscreened
The EDF/BDF headers are clean, but other recordings are in formats the scanner cannot read.
Printed as: EDF/BDF clean, other recordings NOT screened.
- What was read: every EDF/BDF header, and the dataset’s paths.
- Remedy: Check the recordings it could not read by hand, then acknowledge.
- Reproduce:
nemar dataset screen --committed
dates-only
Every recording was read completely; the only findings are acquisition dates.
Printed as: clean (acquisition dates only).
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: Nothing is required; see the date warning.
- Reproduce:
nemar dataset screen --committed
direct-identifiers
The scanner found a direct identifier.
Printed as: FOUND IDENTIFIERS.
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: Remove it from the files and run the screen again; there is no override.
- Reproduce:
nemar dataset screen --committed
error
The screen produced no verdict.
Printed as: DID NOT RUN.
- What was read: nothing.
- Remedy: Run the screen again.
- Reproduce:
nemar dataset screen --committed
no-recordings
The dataset holds no recording file, and nothing else was found.
Printed as: clean (no recordings).
- What was read: the dataset’s paths, tables and sidecars.
- Remedy: Nothing to do.
- Reproduce:
nemar dataset screen --committed
not-screened
Some recordings are in formats the scanner cannot read, so their headers were not checked.
Printed as: recordings NOT screened.
- What was read: the dataset’s paths.
- Remedy: Check those recordings by hand, then acknowledge.
- Reproduce:
nemar dataset screen --committed
partially-screened
The recordings the scanner can read are clean, but other recordings are in formats it cannot read.
Printed as: partially screened, other recordings NOT screened.
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: Check the recordings it could not read by hand, then acknowledge.
- Reproduce:
nemar dataset screen --committed
pending
The screen is running.
Printed as: running.
- What was read: nothing yet.
- Remedy: Wait for the verdict.
- Reproduce:
nemar dataset screen --committed
review
The scanner found something a person should look at.
Printed as: needs review.
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: Look at the kinds listed and fix what identifies someone.
- Reproduce:
nemar dataset screen --committed
unchecked
The scanner could not read everything it should have.
Printed as: INCOMPLETE.
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: See why below; fix what it names, or acknowledge the gap.
- Reproduce:
nemar dataset screen --committed
unreported
No report arrived from the screen.
Printed as: DID NOT REPORT.
- What was read: nothing.
- Remedy: Run the screen again.
- Reproduce:
nemar dataset screen --committed
Finding kinds, one by one
Section titled “Finding kinds, one by one”Every kind of finding the scanner reports. A report names kinds and counts, never a value, a file name or a path.
acq-time-dated
A scans table holds an acquisition date finer than year and month.
- What was read: the
acq_timecolumn of the scans tables. - Remedy: Remove or coarsen the date if it could identify someone.
- Reproduce:
nemar dataset screen --committed
brainvision-comment-name
The [Comment] section of a BrainVision header holds a word that may be a name.
- What was read: the text of BrainVision header (.vhdr) files, up to 1 MiB, and marker (.vmrk) files, up to 16 MiB.
- Remedy: Check the
[Comment]section of the .vhdr file; remove any name and upload again. - Reproduce:
nemar dataset screen --committed
brainvision-marker-text
A marker description in a BrainVision marker file, or text in a BrainVision file the reader could not place, holds an email address or a phone number.
- What was read: the text of BrainVision header (.vhdr) files, up to 1 MiB, and marker (.vmrk) files, up to 16 MiB.
- Remedy: Remove the contact details from the marker descriptions of the .vmrk file and upload again.
- Reproduce:
nemar dataset screen --committed
brainvision-segment-date
A New Segment marker of a BrainVision marker file holds an acquisition date finer than year and month.
- What was read: the text of BrainVision header (.vhdr) files, up to 1 MiB, and marker (.vmrk) files, up to 16 MiB.
- Remedy: Remove or coarsen the date if it could identify someone.
- Reproduce:
nemar dataset screen --committed
edf-patient-age
The patient field of an EDF/BDF header gives an age over 89.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-patient-birthdate
The patient field of an EDF/BDF header holds a birth date finer than the year.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Replace the birth date with its year only (1 January), or blank it, and upload again.
- Reproduce:
nemar dataset screen --committed
edf-patient-code
The patient code of an EDF/BDF header looks like a name or a record number.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-patient-freetext
The patient field of an EDF/BDF header holds free text that may name someone.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-patient-name
The patient field of an EDF/BDF header holds a name.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-patient-nonascii
The patient field of an EDF/BDF header holds characters outside ASCII, which no rule can read.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-patient-recordnumber
The patient field of an EDF/BDF header holds a record number.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-recording-freetext
The recording field of an EDF/BDF header holds free text that may name someone.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-recording-nonascii
The recording field of an EDF/BDF header holds characters outside ASCII.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-recording-startdate
The recording field of an EDF/BDF header holds an acquisition date finer than year and month.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Remove or coarsen the date if it could identify someone.
- Reproduce:
nemar dataset screen --committed
edf-recording-technician
The recording field of an EDF/BDF header names a technician.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Blank the field or replace it with a code (for EDF/BDF, the patient and recording fields of the header) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-startdate
The start date of an EDF/BDF header is an acquisition date finer than year and month.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Remove or coarsen the date if it could identify someone.
- Reproduce:
nemar dataset screen --committed
edf-startdate-unparsed
The start date of an EDF/BDF header holds text that is not a date.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Write the start date as the EDF specification gives it (dd.mm.yy) and upload again.
- Reproduce:
nemar dataset screen --committed
edf-unreadable
An EDF/BDF header did not parse, so its identification fields were not checked.
- What was read: the identification fields of the EDF/BDF header (its first 256 bytes).
- Remedy: Check that the file is a valid EDF, EDF+ or BDF file and upload it again.
- Reproduce:
nemar dataset screen --committed
eeglab-event-name
An event type of an EEGLAB .set file looks like a person’s name.
- What was read: the text fields of EEGLAB .set files (classic MAT-files and v7.3), never the signal data and never the .fdt file.
- Remedy: Check the event types (EEG.event and EEG.urevent); rename any that names a person and upload again.
- Reproduce:
nemar dataset screen --committed
eeglab-history-name
The processing history of an EEGLAB .set file holds what looks like a person’s name.
- What was read: the text fields of EEGLAB .set files (classic MAT-files and v7.3), never the signal data and never the .fdt file.
- Remedy: Check EEG.history; remove any name from it, save the dataset and upload again.
- Reproduce:
nemar dataset screen --committed
eeglab-setname-name
The set name of an EEGLAB .set file holds what looks like a person’s name.
- What was read: the text fields of EEGLAB .set files (classic MAT-files and v7.3), never the signal data and never the .fdt file.
- Remedy: Check EEG.setname; replace any name with the BIDS subject label, save the dataset and upload again.
- Reproduce:
nemar dataset screen --committed
eeglab-subject-freetext
The subject field of an EEGLAB .set file holds text that is neither the BIDS subject label nor a short code.
- What was read: the text fields of EEGLAB .set files (classic MAT-files and v7.3), never the signal data and never the .fdt file.
- Remedy: Check that it names nobody; replace EEG.subject with the BIDS subject label if in doubt.
- Reproduce:
nemar dataset screen --committed
eeglab-subject-name
The subject field of an EEGLAB .set file holds a name.
- What was read: the text fields of EEGLAB .set files (classic MAT-files and v7.3), never the signal data and never the .fdt file.
- Remedy: Replace EEG.subject with the BIDS subject label or another code, save the dataset and upload again.
- Reproduce:
nemar dataset screen --committed
hdf5-freetext
A text value in an HDF5 or SNIRF file holds a path into someone’s home directory, or text that may name someone.
- What was read: every string attribute and string dataset of the file that the HDF5 reader returns (signal data is never read).
- Remedy: Blank the value or replace it with a code in the file (h5py or MATLAB can edit it in place) and upload again.
- Reproduce:
nemar dataset screen --committed
hdf5-freetext-name
A text value in an HDF5 or SNIRF file, in a field meant for a person (a name, a subject, a patient, an operator or an experimenter), holds a name.
- What was read: every string attribute and string dataset of the file that the HDF5 reader returns (signal data is never read).
- Remedy: Blank the value or replace it with a code in the file (h5py or MATLAB can edit it in place) and upload again.
- Reproduce:
nemar dataset screen --committed
hdf5-identifier-field
An HDF5 or SNIRF file has a field named for an identifier (a name, a birth date, a record number or a contact) that holds a value.
- What was read: every string attribute and string dataset of the file that the HDF5 reader returns (signal data is never read).
- Remedy: Scrub the field (blank it, or for a birth date keep the year only) in every file that has it, and resubmit.
- Reproduce:
nemar dataset screen --committed
image-or-document-file
An image or a document is in the dataset outside the BIDS photo convention.
- What was read: the dataset’s file paths.
- Remedy: Check that it shows no person and no name, or remove it.
- Reproduce:
nemar dataset screen --committed
json-identifier-key
A JSON file has a key that holds identifiers (a name, a birth date, a contact).
- What was read: the keys of JSON files that are not BIDS sidecars.
- Remedy: Remove the key or its value and upload again.
- Reproduce:
nemar dataset screen --committed
local-user-path
A code, text or recording header file holds a path into someone’s home directory, or a header names its companion by an absolute path.
- What was read: small code and text files under code/ and sourcedata/, the companion file names in BrainVision headers, BrainVision marker descriptions, and NIRx contact and notes fields.
- Remedy: Replace the path with a relative one (for a BrainVision header, the companion’s file name alone) and upload again.
- Reproduce:
nemar dataset screen --committed
mat-freetext
A text value in a MATLAB file holds a path into someone’s home directory, contact details, or text in a person’s field that may name someone.
- What was read: every character array of a MATLAB file (EEGLAB .set, Homer .nirs or .mat), walking its structs and cells; numeric arrays only under an identifier-key name, and signal data never.
- Remedy: Blank the value or replace it with a code in the file (in MATLAB, load it, edit the field and save it again) and upload again.
- Reproduce:
nemar dataset screen --committed
mat-freetext-name
A text value in a MATLAB file, in a field meant for a person (a name, a subject, a patient, an operator or an experimenter), holds a name.
- What was read: every character array of a MATLAB file (EEGLAB .set, Homer .nirs or .mat), walking its structs and cells; numeric arrays only under an identifier-key name, and signal data never.
- Remedy: Blank the value or replace it with a code in the file (in MATLAB, load it, edit the field and save it again) and upload again.
- Reproduce:
nemar dataset screen --committed
mat-identifier-field
A MATLAB file has a field named for an identifier (a name, a birth date, a record number or a contact) that holds a value.
- What was read: every character array of a MATLAB file (EEGLAB .set, Homer .nirs or .mat), walking its structs and cells; numeric arrays only under an identifier-key name, and signal data never.
- Remedy: Scrub the field (blank it, or for a birth date keep the year only) in every file that has it, and resubmit.
- Reproduce:
nemar dataset screen --committed
nirx-demographics
The demographics of a NIRx file hold a birth date: to the day it is an identifier; as a year or a year and month it is for review.
- What was read: the text of NIRx header (.hdr) and information (.inf) files, up to 1 MiB each.
- Remedy: Blank the birth date in the .inf file (or the NIRSport2 header’s experiment notes) and upload again; a year is enough if one is needed.
- Reproduce:
nemar dataset screen --committed
nirx-freetext
A contact or notes field of a NIRx file, or text in a NIRx file the reader could not place, holds an email address or a phone number.
- What was read: the text of NIRx header (.hdr) and information (.inf) files, up to 1 MiB each.
- Remedy: Remove the contact details from the .inf file (or the header’s notes) and upload again.
- Reproduce:
nemar dataset screen --committed
nirx-header-date
The header of a NIRx recording holds an acquisition date finer than year and month.
- What was read: the text of NIRx header (.hdr) and information (.inf) files, up to 1 MiB each.
- Remedy: Remove or coarsen the date if it could identify someone.
- Reproduce:
nemar dataset screen --committed
nirx-subject-freetext
The subject’s Name in a NIRx .inf holds text that is neither the BIDS subject label nor a short code, and may name someone.
- What was read: the text of NIRx header (.hdr) and information (.inf) files, up to 1 MiB each.
- Remedy: Check that it names nobody; replace it with the BIDS subject label if in doubt.
- Reproduce:
nemar dataset screen --committed
nirx-subject-name
A person field of a NIRx file (the subject’s Name, or an operator or experimenter) holds a name rather than a code.
- What was read: the text of NIRx header (.hdr) and information (.inf) files, up to 1 MiB each.
- Remedy: Blank the field or replace it with the subject’s code (for the subject, the BIDS subject label), and upload again.
- Reproduce:
nemar dataset screen --committed
participants-identifier-column
participants.tsv has a column that holds identifiers, or a participant label that looks like a name.
- What was read: the header row and the participant labels of participants.tsv.
- Remedy: Remove the column, or replace the labels with codes, and upload again.
- Reproduce:
nemar dataset screen --committed
path-subject-label
A subject label in a file name looks like a name rather than a code.
- What was read: the dataset’s file paths.
- Remedy: Rename the subject to a code (sub-01, sub-02, …) and upload again.
- Reproduce:
nemar dataset screen --committed
snirf-measurement-date
The MeasurementDate tag of a SNIRF file is an acquisition date finer than year and month.
- What was read: the metaDataTags group of every nirs group in a SNIRF file.
- Remedy: Remove or coarsen the date if it could identify someone.
- Reproduce:
nemar dataset screen --committed
snirf-subject-freetext
The SubjectID tag of a SNIRF file holds text that is neither the BIDS subject label nor a short code.
- What was read: the metaDataTags group of every nirs group in a SNIRF file.
- Remedy: Check that it names nobody; replace it with the BIDS subject label if in doubt.
- Reproduce:
nemar dataset screen --committed
snirf-subject-name
The SubjectID tag of a SNIRF file holds a name.
- What was read: the metaDataTags group of every nirs group in a SNIRF file.
- Remedy: Replace the SubjectID with the BIDS subject label or another code and upload again.
- Reproduce:
nemar dataset screen --committed
tooling-debris
Editor or interpreter files are in the dataset; they can carry local user names.
- What was read: the dataset’s file paths.
- Remedy: Remove them (.idea, .vscode,
__pycache__,.DS_Storeand the like) and upload again. - Reproduce:
nemar dataset screen --committed
Why a screen is incomplete
Section titled “Why a screen is incomplete”Every reason a screen can fall short of reading everything it should have. An incomplete screen is never clean.
companion-missing
A recording’s header needs a companion file that is not beside it under the header’s own base name.
- What was read: the dataset’s paths.
- Remedy: Add the missing companion file next to its header, named with the header’s base name, and upload again.
- Reproduce:
nemar dataset screen --committed
content-absent
A recording’s content was not there to read (missing from storage, or not on this machine when the screen runs here), so the recording was not read.
- What was read: where the content is kept: its storage object, or this machine’s copy for a local run.
- Remedy: On this machine, fetch the file’s content (nemar dataset get) and run the screen again; for a deposit, upload the file’s content again.
- Reproduce:
nemar dataset screen --committed
corrupt
A recording’s structure is damaged, so it was read only in part.
- What was read: the file’s structure.
- Remedy: Check that the file is intact and upload it again.
- Reproduce:
nemar dataset screen --committed
credentials-missing
The screen had no storage credentials, so it could not read headers.
- What was read: nothing in storage.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
deadline
The screen ran out of time before it finished reading.
- What was read: what it reached before the deadline.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
edf-headers-oversize
Some EDF/BDF headers were too large to read.
- What was read: EDF/BDF headers.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
edf-headers-sampled
Only a sample of the EDF/BDF headers was read.
- What was read: a sample of EDF/BDF headers.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
edf-headers-unread
Some EDF/BDF headers could not be read.
- What was read: EDF/BDF headers.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
encrypted
A recording or archive is encrypted, so its content could not be read.
- What was read: the file’s header.
- Remedy: Upload it unencrypted, or check it by hand.
- Reproduce:
nemar dataset screen --committed
external-link
A recording points to content in another file, which was not followed.
- What was read: the file’s structure.
- Remedy: Include the linked content in the file, or check it by hand.
- Reproduce:
nemar dataset screen --committed
history-unread
The repository’s history could not be read in full, so earlier versions of files were not checked.
- What was read: the repository’s history.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
json-oversize
Some JSON files were too large to read.
- What was read: JSON files.
- Remedy: Make them smaller, or check them by hand.
- Reproduce:
nemar dataset screen --committed
json-sampled
Only a sample of the JSON files was read.
- What was read: a sample of JSON files.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
json-unread
Some JSON files could not be read.
- What was read: JSON files.
- Remedy: Check that they are valid JSON.
- Reproduce:
nemar dataset screen --committed
limit
A recording needed more reading than the scanner allows for one file, so it was read only in part.
- What was read: a recording, up to its reader’s byte and read limits.
- Remedy: Check that recording by hand, or report it so the limit can be reviewed.
- Reproduce:
nemar dataset screen --committed
manifest-shape
The dataset’s file list could not be read.
- What was read: the dataset’s manifest.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
no-latest-version
The dataset has no published version to screen.
- What was read: the dataset’s versions.
- Remedy: Publish a version first.
- Reproduce:
nemar dataset screen --committed
participants-truncated
participants.tsv was read only in part.
- What was read: the first bytes of participants.tsv.
- Remedy: Check the rest of the table by hand.
- Reproduce:
nemar dataset screen --committed
participants-unread
participants.tsv could not be read.
- What was read: participants.tsv.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
recordings-unread
Some recordings in a format the scanner reads could not be read.
- What was read: every recording header a registered reader parses, and the dataset’s paths.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
scans-unread
Some scans tables could not be read.
- What was read: scans tables.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
submodule-unread
The dataset holds a git submodule, whose content was not read.
- What was read: the repository tree.
- Remedy: Move the submodule’s files into the dataset, or check them by hand.
- Reproduce:
nemar dataset screen --committed
text-oversize
Some code or text files were too large to read.
- What was read: code and text files.
- Remedy: Check them by hand.
- Reproduce:
nemar dataset screen --committed
text-sampled
Only a sample of the code and text files was read.
- What was read: a sample of code and text files.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
text-unread
Some code or text files could not be read.
- What was read: code and text files.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
time
A recording, or the rest of the dataset, ran out of reading time, so it was read only in part.
- What was read: a recording, up to the time limit.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
tree-truncated
Some directories could not be listed, so their files were not seen.
- What was read: the dataset’s directory tree.
- Remedy: Check the directory permissions and run it again.
- Reproduce:
nemar dataset screen --committed
unsupported-datatype
A recording holds a data type the scanner does not read.
- What was read: the file’s structure.
- Remedy: Check it by hand, or report it so the reader is extended.
- Reproduce:
nemar dataset screen --committed
unsupported-filter
A recording uses a compression filter the scanner does not read.
- What was read: the file’s structure.
- Remedy: Check it by hand, or report it so the reader is extended.
- Reproduce:
nemar dataset screen --committed
unsupported-version
A recording is in a version of its format the scanner does not read.
- What was read: the file’s header.
- Remedy: Check it by hand, or report it so the reader is extended.
- Reproduce:
nemar dataset screen --committed
Why a read failed
Section titled “Why a read failed”Every class of read failure. A file that failed to read is unread, and an unread file makes the screen incomplete.
blob-closed
The repository reader stopped before this file was read.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
blob-missing
A file’s content is missing from the repository clone.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
credentials-missing
The screen had no storage credentials for this file.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
deadline
The screen’s deadline passed before this file was read.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
error-aborterror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-error
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-evalerror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-rangeerror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-referenceerror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-syntaxerror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-timeouterror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-typeerror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
error-urierror
The scanner’s own code failed while reading a file, so that file was not read.
- What was read: the file, until the error.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
header-truncated
A table’s header row was longer than the bytes the scanner reads.
- What was read: the first bytes of the table.
- Remedy: Shorten the header row, or check the table by hand.
- Reproduce:
nemar dataset screen --committed
http
The storage server refused a read or failed (an HTTP error status).
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
internal
A read failed in a way the scanner has no word for.
- What was read: nothing from that file.
- Remedy: Report it, so the scanner is fixed; then run the screen again.
- Reproduce:
nemar dataset screen --committed
json-parse
A JSON file is not valid JSON.
- What was read: the file’s text.
- Remedy: Fix the file so it parses and upload it again.
- Reproduce:
nemar dataset screen --committed
limit
A read went past the reader’s limits.
- What was read: the file, up to its reader’s limits.
- Remedy: Check that recording by hand, or report it so the limit can be reviewed.
- Reproduce:
nemar dataset screen --committed
network
A read lost its connection.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
no-body
The storage server answered with no content.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
range-ignored
The storage server ignored a request for part of a file and sent the whole file, so that part was not read.
- What was read: nothing from that file past its first bytes.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
short-body
A file was shorter than its format’s header, or than the storage server said.
- What was read: what the file held.
- Remedy: Check that the file is complete and upload it again.
- Reproduce:
nemar dataset screen --committed
superseded-absent
A recording from an earlier commit is gone from storage; it leaks nothing and is not counted.
- What was read: nothing; the store has no such object.
- Remedy: Nothing to do.
- Reproduce:
nemar dataset screen --committed
timeout
A read timed out.
- What was read: nothing from that file.
- Remedy: Run the screen again; if it repeats, report it.
- Reproduce:
nemar dataset screen --committed
unreadable-entry
A file could not be opened (a broken link, a special file, or no permission).
- What was read: nothing from that file.
- Remedy: Fix the file or its permissions and run it again.
- Reproduce:
nemar dataset screen --committed
Reader notes
Section titled “Reader notes”Notes a reader makes that are neither findings nor gaps. They are counted and printed with a remedy, and never change a verdict.
companion-name-mismatch
A recording’s header names its data or marker file by a name other than the header’s own BIDS base name. The header was read in full; this does not change the verdict.
- What was read: the DataFile and MarkerFile entries of BrainVision headers and marker files, and the FileName of NIRStar headers.
- Remedy: Correct the DataFile or MarkerFile entry (or NIRx FileName) to the BIDS file name of its companion, and upload again.
- Reproduce:
nemar dataset screen --committed
Reproducing a screen on your own machine
nemar dataset screen runs the same scan on a dataset directory on your machine and prints the same report.
It sends nothing, needs no login and changes no file.
--committed reads the tree of the last commit, which is what the publication screen reads.
Its first line says which tree was read, and a second line says what kind of scanner id the run carries:
- Local identifier screen of the committed tree (HEAD); commit
<commit>. Nothing was sent and nothing was changed (nemar-cli<version>). - Local identifier screen of the working tree, as the files are now; commit
<commit>. Nothing was sent and nothing was changed (nemar-cli<version>). - Scanner id
<id>is the git revision of the nemar-cli checkout this ran from, the same kind of id the server’s screen carries. - Scanner id
<id>is the release tag of this nemar-cli build, which names an exact commit; the server’s screen carries a git revision instead.
What a local run says about itself:
- the committed tree. This run read the committed tree (HEAD); a change that is not committed was not read.
- What was read: the tree of the HEAD commit.
- Remedy: Commit the change, or run without
--committedto read the files as they are now.
- the working tree. This run read the working tree; the server reads the committed tree, so a change that is not committed is read here and not there.
- What was read: the files in this directory as they are now.
- Remedy: Run with
--committedto read what the server reads.
- a directory with no history. Earlier commits were not read: this directory is not the top level of a readable git repository, so there is no history here, and the server screens every earlier path and recording.
- What was read: nothing of earlier commits.
- Remedy: Run the command at the top level of the dataset’s repository to read its history too.
- earlier recordings with no content here. 2 recordings from earlier commits have no content on this machine, so they were not read and the screen is incomplete (content-absent); the server reads them from storage.
- What was read: the paths of earlier commits only.
- Remedy: Fetch the old content (git annex get
--all) and run the screen again, or leave it to the server’s screen.
- the server’s own copy. Not read here: the server’s copy of the dataset (its stored files, its version manifest and the branches pushed there), so the screen run on the server can differ from this one.
- What was read: this machine’s files and git history only.
- Remedy: Request publication, or run
nemar dataset publish status <id>, to see the server’s own screen.
When no screen can be made, the command says why:
not-a-directory: The path is not a directory.not-a-repository:--committedneeds the top level of a git repository, and this is not one.no-commit:--committedneeds a commit, and this repository has none yet.git-failed: git could not be read here (a fixed word naming the failure), so no screen was made: a screen without git’s history would say less than the server’s. If this is a repository, check that git runs in it (git status) and that you own the directory.report-refused: The scan did not fit the report contract, so no verdict was made. Please report this: https://github.com/nemarOrg/nemar-cli/issues
Reproduce: nemar dataset screen --committed, or nemar dataset screen to read the files as they are now.
Related
Section titled “Related”- Uploading datasets: the preflight, its prompt and its flag.
- Publishing datasets: what happens after a request, and how to read
nemar dataset publish status. - Privacy corrections: what NEMAR does when an identifier is found in a dataset that is already on NEMAR, and the public ledger that records it.
- Dataset Submission Standards and the Takedown Procedure.
- For administrators: Identifier screening operations (gated).
- The decisions behind this page, as ADRs in
nemarOrg/nemar-cli: ADR 0085 (corrections), ADR 0086 (the publication screen), ADR 0087 (the upload preflight), ADR 0088 (the scheduled re-screen), ADR 0089 (imports) and ADR 0090 (acquisition dates) and ADR 0091 (setting dates on new data).