Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion easybuild/easyblocks/f/freesurfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

import os

from distutils.version import LooseVersion

from easybuild.easyblocks.generic.tarball import Tarball
from easybuild.framework.easyconfig import MANDATORY
from easybuild.tools.filetools import write_file
Expand Down Expand Up @@ -92,4 +94,8 @@ def sanity_check_step(self):
'dirs': ['bin', 'lib', 'mni'],
}

super(EB_FreeSurfer, self).sanity_check_step(custom_paths=custom_paths)
custom_commands = []
if LooseVersion(self.version) >= LooseVersion("7.2"):
custom_commands.append('checkMCR.sh')

super(EB_FreeSurfer, self).sanity_check_step(custom_paths=custom_paths, custom_commands=custom_commands)