24b605e8ec48b9b67e507ca959eaed4ff4afc6a6,reframe/core/modules.py,ModulesSystem,load_module,#ModulesSystem#Any#Any#,95
Before Change
unloading first any conflicting modules currently loaded.
Returns the list of unloaded modules as strings.
module = Module(name)
loaded_modules = self._backend.loaded_modules()
if module in loaded_modules:
// Do not try to load the module if it is already present
return []
After Change
Returns the list of unloaded modules as strings.
ret = []
for m in self.resolve_module(name):
ret += self._load_module(m, force)
return ret
def _load_module(self, name, force=False):
module = Module(name)
loaded_modules = self._backend.loaded_modules()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: eth-cscs/reframe
Commit Name: 24b605e8ec48b9b67e507ca959eaed4ff4afc6a6
Time: 2018-02-14
Author: karakasis@cscs.ch
File Name: reframe/core/modules.py
Class Name: ModulesSystem
Method Name: load_module
Project Name: eth-cscs/reframe
Commit Name: 24b605e8ec48b9b67e507ca959eaed4ff4afc6a6
Time: 2018-02-14
Author: karakasis@cscs.ch
File Name: reframe/core/modules.py
Class Name: ModulesSystem
Method Name: conflicted_modules
Project Name: eth-cscs/reframe
Commit Name: 24b605e8ec48b9b67e507ca959eaed4ff4afc6a6
Time: 2018-02-14
Author: karakasis@cscs.ch
File Name: reframe/core/modules.py
Class Name: ModulesSystem
Method Name: is_module_loaded