Howdy Niek,

Try this:

1) add the line

options = {'modulename': 'vcf'}

2) remove your "sanity_check_commands" line.
    By default, the PythonPackage easyblock will
    try to import it (using the name above) during
    sanity checking

See Biopython (among others) for an example.

Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected]    http://sc.tamu.edu
SC Helpdesk: [email protected]

On 02/22/2016 03:53 PM, Niek de Klein wrote:
Hi alI,

I am trying to install PyVCF
(https://pypi.python.org/pypi/PyVCF/0.6.7) which is imported with

     import vcf

instead of

     import pyvcf

The problem I have is that when I use

    sanity_check_commands = [('python', '-c "import vcf"')]

the easyblock PythonPackage still uses

     python -c "import pyvcf"

as sanity command as well.

I could only find an open issue
(https://github.com/hpcugent/easybuild-easyconfigs/issues/1205)
regarding this, anyone know how I can work around this?

Cheers,
Niek

Reply via email to