Skip to content

store/verification#

sampleKey()#

function sampleKey(project, sampleId): string;

Parameters#

Parameter Type
project string
sampleId string

Returns#

string


setVerificationActive#

const setVerificationActive: any;

setVerificationHover#

const setVerificationHover: any;

setVerificationShowOnPlot#

const setVerificationShowOnPlot: any;

verification#

const verification: any;

verificationFailed#

const verificationFailed: any;

verificationProgressed#

const verificationProgressed: any;

verificationReceived#

const verificationReceived: any;

verificationStarted#

const verificationStarted: any;

VerificationEntry#

One sample's verification as the panel last received it.

Properties#

alternative#

alternative: boolean;

The result verifies structures a user typed in, not the sample's own.

decisions#

decisions: VerificationDecision[];

error#

error: string;

Locale key under components/verification:errors, or a transport message.

progress#

progress: 
  | VerificationProgress
  | null;

The running verification's last reported stage; null before the first report.

result#

result: SampleVerification | null;

running#

running: boolean;

structures#

structures: StructureCandidate[];

The structures an alternative result verified, as entered; empty for the sample's own.


VerificationState#

Properties#

activeKey#

activeKey: string | null;

The sample whose verification panel is open; plots tint its signals while it is.

bySample#

bySample: Record<string, VerificationEntry>;

hover#

hover: VerificationHover | null;

showOnPlot#

showOnPlot: boolean;

VerificationHover#

type VerificationHover = 
  | {
  atom: number;
  component: number;
  key: string;
  kind: "atom";
}
  | {
  key: string;
  kind: "signal";
  signalId: string;
};

What the pointer is on, in the panel or on a plot. Every plot showing one of the sample's experiments highlights from this, and the structure drawing reads it back.