From 452b87d4204ff1bdd51686f9a99d45ca47c1f24a Mon Sep 17 00:00:00 2001 From: Marina Gourtovaia Date: Fri, 29 Sep 2023 10:20:39 +0100 Subject: [PATCH] Use correct name instrument name pattern in docs. --- docs/instruments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/instruments.md b/docs/instruments.md index 64eee8ea..1533bb64 100644 --- a/docs/instruments.md +++ b/docs/instruments.md @@ -18,7 +18,7 @@ perl -le 'use strict; use npg_tracking::Schema; my $s=npg_tracking::Schema->conn NovaSeqX instrument: ``` -perl -le 'use strict; use npg_tracking::Schema; my $s=npg_tracking::Schema->connect(); $s->txn_do(sub{my $m=$s->resultset(q(Instrument))->find_or_create({name=>q[NVX1], instrument_format=>{model=>q(NovaSeqX)}}); $m->update({iscurrent=>1, external_name=>q(Pi1-9)}); $m->add_to_designations({description=>q(Accepted)}); print join",",$m->get_columns; print join",",$_->get_columns foreach $m->designations; print "current instrument status: ".$m->current_instrument_status;});' +perl -le 'use strict; use npg_tracking::Schema; my $s=npg_tracking::Schema->connect(); $s->txn_do(sub{my $m=$s->resultset(q(Instrument))->find_or_create({name=>q[NX1], instrument_format=>{model=>q(NovaSeqX)}}); $m->update({iscurrent=>1, external_name=>q(Pi1-9)}); $m->add_to_designations({description=>q(Accepted)}); print join",",$m->get_columns; print join",",$_->get_columns foreach $m->designations; print "current instrument status: ".$m->current_instrument_status;});' ``` ## Delete Instrument