EnsEMBL::Web::Command::Healthcheck MultiSave
Included librariesPackage variablesGeneral documentationMethods
Toolbar
WebCvsRaw content
Package variables
No package variables defined.
Included modules
Class::Std
EnsEMBL::Web::Data::HcAnnotation
EnsEMBL::Web::RegObj
Inherit
EnsEMBL::Web::Command
Synopsis
No synopsis!
Description
No description!
Methods
process
No description
Code
Methods description
None available.
Methods code
processdescriptionprevnextTop
sub process {
  my $self = shift;
  my $object = $self->object;

  my @report_ids = $object->param('report_id');
  foreach my $id (@report_ids) {
    ## Check if this report is already annotated
my $annotation = EnsEMBL::Web::Data::HcAnnotation->find('report_id' => $id); unless ($annotation) { EnsEMBL::Web::Data::HcAnnotation->new(); $annotation->report_id = $id; } $annotation->action = $object->param('action'); $annotation->comment = $object->param('comment'); $annotation->save; } $object->redirect('/'.$object->species.'/Healthcheck/Details'); } } 1;
}
General documentation
No general documentation available.