Closed gatoravi closed 9 years ago
Fatal warnings turned-on?
On Feb 28, 2015, at 8:12 PM, Avinash Ramu notifications@github.com wrote:
Starting a ref-align build gives this error.
gmsuser@clia1 ~/gms (ubuntu-12.04-2015.02.22)> genome model build start hcc1395-normal-refalign-exome 'models' may require verification... Resolving parameter 'models' from command argument 'hcc1395-normal-refalign-exome'... found 1 Trying to start #1: hcc1395-normal-refalign-exome (2891377978)... Exception is Error while autoloading with 'use Genome::Model::Build::ReferenceAlignment': Error while autoloading with 'use Genome::Model::Build::RunsDV2': Use of qw(...) as parentheses is deprecated at /opt/gms/TB3QU62/sw/genome/lib/perl/Genome/Model/Build/RunsDV2.pm line 46. Compilation failed in require at (eval 2023) line 2. — Reply to this email directly or view it on GitHub.
this is a bit cryptic to me. perhaps someone from APIPE would know better. @mkiwala any ideas ? Were fatal warnings turned-on recently or is this something completely unrelated to the qw() warning.
This commit https://github.com/genome/genome/commit/f4c429d52584a3ad69f5a88b788865a7b68a3cc4 by @davidlmorton does turn fatal warnings on in lib/perl/Genome/Model/Build/RunsDV2.pm, why is this an issue on SGMS and not inside TGI ?
Looks like this is a warning starting with Perl 5.14 which is what SGMS is using. TGI is on an older Perl version
genome/genome#529 should fix this.
Ok then, any objections to changing this code to: for $x (qw(a b c)) { ... }
?
I believe this will be compatible with both old and new versions of Perl...
Looks like @tmooney has resolved this while we were thinking about it. ;). Thanks!
this change will need to be merged from master. are we planning on another merge to get these in ?
these awesome changes from master were merged into gms-pub-2015.03.04 , thanks Tom.
Starting a ref-align build gives this error.