Skip to content

Commit

Permalink
removed BioPerl hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Aug 5, 2024
1 parent 448f0ab commit 4b37ea2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,16 +647,6 @@ def post_sanitycheck_hook(self, *args, **kwargs):
POST_SANITYCHECK_HOOKS[self.name](self, *args, **kwargs)


def post_sanitycheck_bioperl(self, *args, **kwargs):
"""
Allow the copy of easyblock perlmodule.py to /tmp/eb... after sanity check by changing directory permissions
"""
if self.name == 'BioPerl':
print_msg("Adding user write permission for EasyBuild directories under /tmp/eb*...")
bioperlcmd = "chmod u+w -R /tmp/eb*"
run_cmd(bioperlcmd)


def post_sanitycheck_cuda(self, *args, **kwargs):
"""
Remove files from CUDA installation that we are not allowed to ship,
Expand Down Expand Up @@ -801,6 +791,5 @@ def inject_gpu_property(ec):
}

POST_SANITYCHECK_HOOKS = {
'BioPerl': post_sanitycheck_bioperl,
'CUDA': post_sanitycheck_cuda,
}

0 comments on commit 4b37ea2

Please sign in to comment.