[ensembl-dev] VEP script Warnings

Will McLaren wm2 at ebi.ac.uk
Thu Dec 12 10:29:14 GMT 2013


Hi Duarte,

These are not typos; Eclipse warns because VEP is setting a
package-specific variable and Eclipse can't see that it is used within the
relevant package - it only sees within the current open file. I have the
same warnings in my IDE.

Thanks

Will


On 12 December 2013 09:57, Duarte Molha <duartemolha at gmail.com> wrote:

> Dear Developers,
>
> I believe this is more a question for Will but feel free to educate me if
> what I am saying makes no sense :-)
>
> I read and develop my analysis scripts in Eclipse and it seems there are 2
> lines on the VEP script that trigger warnings in eclipse:
>
>         # copy to Slice for offline sequence fetching
>         $Bio::EnsEMBL::Slice::config = $config;
>
>
> and
>
>     # cluck and display executed SQL?
>     $Bio::EnsEMBL::DBSQL::StatementHandle::cluck = 1 if
> defined($config->{cluck});
>
> Warnings:
>
> Name "Bio::EnsEMBL::Slice::config" used only once: possible typo
>
> and
>
> Name "Bio::EnsEMBL::DBSQL::StatementHandle::cluck" used only once:
> possible typo
>
>
> Are these statements really required if there are not used anywhere else
> in the script?
>
> Best regards
>
> Duarte
>
>
> =========================
>      Duarte Miguel Paulo Molha
>          http://about.me/duarte
> =========================
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info:
> http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20131212/24510a4c/attachment.html>


More information about the Dev mailing list