easybuild-framework icon indicating copy to clipboard operation
easybuild-framework copied to clipboard

Don't use priority for module use

Open Flamefire opened this issue 4 years ago • 2 comments

See https://github.com/easybuilders/easybuild-framework/pull/3557, especially:

We have a function prepend_module_path with an optional priority. Hence if we don't pass a priority then this function will not "prepend" the path

Especially for LMod we should not use the priority at all. Instead we can simply implement use, unuse and prepend by modifying MODULEPATH as is done for use in #3557

Note: As a side-effect from #3557 prepend_module_path without a priority is already working as it should now.

Flamefire avatar Apr 06 '21 06:04 Flamefire

@Flamefire Is this fixed with the changes in #3636? If so, can you add a fixes #3631 in the PR description there?

boegel avatar Sep 01 '21 12:09 boegel

Yes and done

Flamefire avatar Sep 01 '21 13:09 Flamefire