-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #610 from wtsi-npg/devel
pull from devel to master to create release 91.12.0
- Loading branch information
Showing
19 changed files
with
113 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,23 @@ | ||
<!-- begin $Id: instrument_format_list.tt2 6141 2009-08-13 09:19:17Z dj3 $ --> | ||
|
||
[% PROCESS instrument_formats_menu.tt2 | ||
%] | ||
|
||
|
||
<table id="instrument_formats" class="sortable zebra"> | ||
<thead> | ||
<tr> | ||
<th>Instrument Manufacturer</th> | ||
<th>Instrument Model</th> | ||
<th>Is Current</th> | ||
<th>Instrument Count</th> | ||
<th>Current Instrument Count</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
[% FOREACH instrument_format = model.instrument_formats %] | ||
<tr> | ||
<td><a href="[% SCRIPT_NAME %]/manufacturer/[% instrument_format.id_manufacturer %]">[% instrument_format.manufacturer.name %]</a></td> | ||
<td><a href="[% SCRIPT_NAME %]/instrument_format/[% instrument_format.id_instrument_format %]">[% instrument_format.model %]</a></td> | ||
<td>[% IF instrument_format.iscurrent %]<img src="/icons/silk/tick.png" alt="tick.png" title="yes" />[% ELSE %]<img src="/icons/silk/cross.png" alt="cross.png" title="no" />[% END %]</td> | ||
<td>[% instrument_format.instrument_count %]</td> | ||
</tr> | ||
[% IF instrument_format.iscurrent %] | ||
<tr> | ||
<td>[% instrument_format.manufacturer_name %]</td> | ||
<td><a href="[% SCRIPT_NAME %]/instrument_format/[% instrument_format.id_instrument_format %]">[% instrument_format.model %]</a></td> | ||
<td>[% instrument_format.current_instruments_count %]</td> | ||
</tr> | ||
[% END %] | ||
[% END %] | ||
</tbody> | ||
</table> | ||
<!-- end $Id: instrument_format_list.tt2 6141 2009-08-13 09:19:17Z dj3 $ --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
<!-- begin $Id: instrument_format_read.tt2 2662 2008-08-06 12:23:37Z rmp $ --> | ||
<table id="instruments" class="sortable zebra"> | ||
<caption>Instruments for format [% model.manufacturer.name %] [% model.model %]</caption> | ||
<caption>Instruments for format [% model.manufacturer_name %] [% model.model %]</caption> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Model</th> | ||
<th>External Name</th> | ||
<th>Serial #</th> | ||
<th>Is Current</th> | ||
</tr> | ||
</thead> | ||
<tbody>[% FOREACH instrument = model.instruments %] | ||
<tbody>[% FOREACH instrument = model.instruments; IF instrument.iscurrent %] | ||
<tr> | ||
<td><a href="[% SCRIPT_NAME %]/instrument/[% instrument.id_instrument %]">[% instrument.name %]</a></td> | ||
<td>[% instrument.model %]</td> | ||
<td>[% instrument.external_name %]</td> | ||
<td>[% instrument.serial %]</td> | ||
<td>[% IF instrument.iscurrent %]<img src="/icons/silk/tick.png" alt="tick.png" title="yes" />[% ELSE %]<img src="/icons/silk/cross.png" alt="cross.png" title="no" />[% END %]</td> | ||
</tr>[% END %] | ||
</tr>[% END; END %] | ||
</tbody> | ||
</table> | ||
<!-- end $Id: instrument_format_read.tt2 2662 2008-08-06 12:23:37Z rmp $ --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
######### | ||
# Author: rmp | ||
# Created: 2006-10-31 | ||
# | ||
package npg::model::instrument; | ||
|
||
use strict; | ||
use warnings; | ||
use base qw(npg::model); | ||
|
@@ -178,14 +175,9 @@ sub model { | |
return $self->instrument_format->model(); | ||
} | ||
|
||
sub id_manufacturer { | ||
my $self = shift; | ||
return $self->instrument_format->id_manufacturer(); | ||
} | ||
|
||
sub manufacturer { | ||
sub manufacturer_name { | ||
my $self = shift; | ||
return $self->instrument_format->manufacturer(); | ||
return $self->instrument_format->manufacturer_name(); | ||
} | ||
|
||
sub runs { | ||
|
@@ -666,13 +658,9 @@ Has a side-effect of updating an instrument's current instrument_status to 'wash | |
my $sModel = $oInstrument->model(); | ||
=head2 id_manufacturer - id_manufacturer of this machine, via its instrument_format | ||
my $iIdManufacturer = $oInstrument->id_manufacturer(); | ||
=head2 manufacturer - npg::model::manufacturer of this machine, via its instrument_format | ||
=head2 manufacturer_name - the name of the manufacturer of this instrument | ||
my $oManufacturer = $oInstrument->manufacturer(); | ||
my $oManufacturer = $oInstrument->manufacturer_name(); | ||
=head2 instrument_statuses - arrayref of npg::model::instrument_statuses for this instrument | ||
|
@@ -776,11 +764,17 @@ returns true if the instrument is a MiSeq, false otherwise | |
=head1 AUTHOR | ||
Roger Pettett, E<lt>[email protected]E<gt> | ||
=over | ||
=item Roger Pettett, E<lt>[email protected]E<gt> | ||
=item Marina Gourtovaia | ||
=back | ||
=head1 LICENSE AND COPYRIGHT | ||
Copyright (C) 2008 GRL, by Roger Pettett | ||
Copyright (C) 2006,2008,2013,2014,2016,2018,2021 Genome Research Ltd. | ||
This file is part of NPG. | ||
|
Oops, something went wrong.