# IT4Innovations 2018

easyblock = "CmdCp"

name = 'MotionCor2'
version = '1.0.5'
versionsuffix = '-CUDA-8.0.44'

homepage = 'http://msg.ucsf.edu/em/software/motioncor2.html'
description = """This program corrects anisotropic image motion
 at the single pixel level across the whole frame, suitable for
 both single particle and tomographic images."""

toolchain = SYSTEM

sources = [SOURCE_TAR_GZ]

dependencies = [
    ('CUDA', '8.0.44'),
]


local_commands = "mv MotionCor2_Cuda8.0_v1.0.5 MotionCor2"

cmds_map = [('.*', local_commands)]

files_to_copy = [
    (['MotionCor2'], 'bin'),
]


sanity_check_paths = {
    'files': ['bin/MotionCor2'],
    'dirs': [],
}

moduleclass = 'phys'
