Skip to content

Commit c098087

Browse files
authored
Modules generation (#16)
* Fixed bug with multiple components with the same class name when auto-generating modules.json * simplified call
1 parent 2b65ccf commit c098087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngcsimlib/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def make_modules(self):
458458
modules = {}
459459
jComponents = self._json_objects['components']
460460
for c_path, c in jComponents.items():
461-
module = load_module(c["module"], absolute_path=True).__name__
461+
module = c["module"]
462462
klass = c["class"]
463463

464464
if module not in modules.keys():

0 commit comments

Comments
 (0)