Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

replaced all 'migs' with 'mixs' #307

Merged
merged 1 commit into from

1 participant

@teharrison
Owner

No description provided.

@teharrison teharrison merged commit 73eaa3a into MG-RAST:develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 3, 2013
  1. replaced all 'migs' with 'mixs'

    Travis Harrison authored
This page is out of date. Refresh to see the latest.
Showing with 17 additions and 17 deletions.
  1. +17 −17 src/MGRAST/lib/resources2/metagenome.pm
View
34 src/MGRAST/lib/resources2/metagenome.pm
@@ -208,11 +208,11 @@ sub prepare_data {
$obj->{created} = $job->{created_on};
if ($self->cgi->param('verbosity')) {
- if (($self->cgi->param('verbosity') eq 'migs') || ($self->cgi->param('verbosity') eq 'full')) {
- my $migs = {};
- $migs->{project} = '-';
+ if (($self->cgi->param('verbosity') eq 'mixs') || ($self->cgi->param('verbosity') eq 'full')) {
+ my $mixs = {};
+ $mixs->{project} = '-';
eval {
- $migs->{project} = $job->primary_project->{name};
+ $mixs->{project} = $job->primary_project->{name};
};
my $lat_lon = $job->lat_lon;
my $country = $job->country;
@@ -224,22 +224,22 @@ sub prepare_data {
my $package = $job->env_package_type;
my $seq_type = $job->seq_type;
my $seq_method = $job->seq_method;
- $migs->{latitude} = (@$lat_lon > 1) ? $lat_lon->[0] : "-";
- $migs->{longitude} = (@$lat_lon > 1) ? $lat_lon->[1] : "-";
- $migs->{country} = $country ? $country : "-";
- $migs->{location} = $location ? $location : "-";
- $migs->{collection_date} = $col_date ? $col_date : "-";
- $migs->{biome} = $biome ? $biome : "-";
- $migs->{feature} = $feature ? $feature : "-";
- $migs->{material} = $material ? $material : "-";
- $migs->{package} = $package ? $package : "-";
- $migs->{seq_method} = $seq_method ? $seq_method : "-";
- $migs->{sequence_type} = $seq_type ? $seq_type : "-";
+ $mixs->{latitude} = (@$lat_lon > 1) ? $lat_lon->[0] : "-";
+ $mixs->{longitude} = (@$lat_lon > 1) ? $lat_lon->[1] : "-";
+ $mixs->{country} = $country ? $country : "-";
+ $mixs->{location} = $location ? $location : "-";
+ $mixs->{collection_date} = $col_date ? $col_date : "-";
+ $mixs->{biome} = $biome ? $biome : "-";
+ $mixs->{feature} = $feature ? $feature : "-";
+ $mixs->{material} = $material ? $material : "-";
+ $mixs->{package} = $package ? $package : "-";
+ $mixs->{seq_method} = $seq_method ? $seq_method : "-";
+ $mixs->{sequence_type} = $seq_type ? $seq_type : "-";
if ($self->cgi->param('verbosity') eq 'full') {
$obj->{metadata} = $jobdata->{$job->{metagenome_id}};
- $obj->{migs} = $migs;
+ $obj->{mixs} = $mixs;
} else {
- @$obj{ keys %$migs } = values %$migs;
+ @$obj{ keys %$mixs } = values %$mixs;
}
}
if (($self->cgi->param('verbosity') eq 'verbose') || ($self->cgi->param('verbosity') eq 'full')) {
Something went wrong with that request. Please try again.