[ensembl-dev] VEP script Warnings

John Marshall jm18 at sanger.ac.uk
Thu Dec 12 16:02:28 GMT 2013


On 12 Dec 2013, at 10:29, Will McLaren wrote:
> 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.

There's a number of possible workarounds, but perhaps the least obtuse would be to temporarily suppress this warning in these two places:

    {
	no warnings 'once';
	# copy to Slice for offline sequence fetching
	$Bio::EnsEMBL::Slice::config = $config;
    }

Cheers,

    John



More information about the Dev mailing list