Group
Extension

Matches 3

App-Mimosa ( L/LE/LETO/App-Mimosa-0.02.tar.gz, LETO, 2011; MetaCPAN )
App-Mimosa/lib/App/Mimosa/Controller/JSON.pm ( view source; MetaCPAN )
package App::Mimosa::Controller::JSON;
use Moose;
use Bio::Chado::Schema;
use File::Spec::Functions;
use Set::Scalar;
use Digest::SHA1 'sha1_hex';
use App::Mimosa::Util qw/slurp/;

use namespace::auto
json',
    stash_key => 'rest',
    'map' => {
        # Work around an ExtJS bug that sends the wrong content-type
        'text/html'        => 'JSON',
    }

);

sub grid_json :Path("/api/grid/json
.json") :ActionClass('REST') :Local { }

# Answer GET requests to the above Path
sub grid_json_GET {
    my ( $self, $c ) = @_;

    my $data = _grid_json_data($c);
    # Return a 200 OK, with the dat
App-Mimosa ( L/LE/LETO/App-Mimosa-0.02.tar.gz, LETO, 2011; MetaCPAN )
App-Mimosa/lib/App/Mimosa/Controller/Sequence.pm ( view source; MetaCPAN )
nce;
use Moose;
use Bio::Chado::Schema;
use File::Spec::Functions;
use App::Mimosa::Database;
use JSON::Any;
use Data::Dumper;
use namespace::autoclean;

BEGIN { extends 'Catalyst::Controller' };

sub
$mimosa_sequence_set_id, $name ) = @_;
    my $bcs = $c->model('BCS');

    my $return_json = ( $name =~ m/\.json$/ );

    $name =~ s/\.txt$//g;
    $name =~ s/\.fasta$//g;

    # Mimosa resultsets
 
App-Mimosa ( L/LE/LETO/App-Mimosa-0.02.tar.gz, LETO, 2011; MetaCPAN )
App-Mimosa/lib/App/Mimosa/View/SeqIO.pm ( view source; MetaCPAN )
qIO;
use Moose;
use Bio::Chado::Schema;
use File::Spec::Functions;
use App::Mimosa::Database;
use JSON::Any;

use namespace::autoclean;

BEGIN { extends 'Catalyst::View::Bio::SeqIO' };

__PACKAGE__->c

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.