Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed deprecated mod_exists_regex_template options in ModulesTool.exist #4279

Merged
merged 1 commit into from
Sep 6, 2023
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
6 changes: 1 addition & 5 deletions easybuild/tools/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,18 +548,14 @@ def module_wrapper_exists(self, mod_name, modulerc_fn='.modulerc', mod_wrapper_r

return wrapped_mod

def exist(self, mod_names, mod_exists_regex_template=None, skip_avail=False, maybe_partial=True):
def exist(self, mod_names, skip_avail=False, maybe_partial=True):
"""
Check if modules with specified names exists.

:param mod_names: list of module names
:param mod_exists_regex_template: DEPRECATED and unused
:param skip_avail: skip checking through 'module avail', only check via 'module show'
:param maybe_partial: indicates if the module name may be a partial module name
"""
if mod_exists_regex_template is not None:
self.log.deprecated('mod_exists_regex_template is no longer used', '5.0')

def mod_exists_via_show(mod_name):
"""
Helper function to check whether specified module name exists through 'module show'.
Expand Down