Skip to content

Commit

Permalink
forgot to update dist name in modules
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranmraine committed Dec 10, 2014
1 parent 9f001f3 commit a8e3638
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Binary file modified docs.tar.gz
Binary file not shown.
14 changes: 7 additions & 7 deletions lib/Sanger/CGP/NgsQc/CompareGenotypes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ package Sanger::CGP::NgsQc::CompareGenotypes;

########## LICENCE ##########
# Copyright (c) 2014 Genome Research Ltd.
#
#
# Author: Keiran Raine <[email protected]>
#
#
# This file is part of cgpNgsQc.
#
#
# cgpNgsQc is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option) any
# later version.
#
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# 1. The usage of a range of years within a copyright statement contained within
# this distribution should be interpreted as being equivalent to a list of years
# including the first and last year specified and all consecutive years between
Expand Down Expand Up @@ -259,7 +259,7 @@ sub share_dir {
my $data_path = shift;
unless(defined $data_path && -e $data_path) {
$data_path = "$Bin/../share";
$data_path = dist_dir('cgpNgsQc') unless(-e "$data_path/genotype");
$data_path = dist_dir('Sanger-CGP-NgsQc') unless(-e "$data_path/genotype");
}
return $data_path;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Sanger/CGP/NgsQc/VerifyBamId.pm
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ sub default_snp_vcf {
# so try installed area
unless(defined $data_path && -e $data_path) {
$data_path = "$Bin/../share";
$data_path = dist_dir('cgpNgsQc') unless(-e "$data_path/SNP6");
$data_path = dist_dir('Sanger-CGP-NgsQc') unless(-e "$data_path/SNP6");
}
$data_path .= '/SNP6/GRCh37.vcf.gz';
return $data_path;
Expand Down

0 comments on commit a8e3638

Please sign in to comment.