# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
# Author: Ravi Tripathi
# Email: ravi89@uab.edu

easyblock = "Tarball"

name = 'ASHS'
version = 'rev103_20140612'

homepage = 'https://sites.google.com/site/hipposubfields/home'
description = """ Automatic Segmentation of Hippocampal Subfields (ASHS) """

toolchain = {'name': 'dummy', 'version': 'dummy'}

#You need to create an account to download the source
#from https://www.nitrc.org/frs/?group_id=370
sources = ['ashs_Linux64_%(version)s.tgz']

checksums= ["07fea2883b856af8797b200212b72e71"]

modextravars = {'ASHS_ROOT': '%(installdir)s'}

sanity_check_paths = {
    'files': ["bin/ashs_main.sh", "bin/ashs_template_qsub.sh", "bin/ashs_train.sh", 
             "bin/ashs_util_makepdf.sh"],
    'dirs': ["ext"]
}

moduleclass = 'bio'
