Skip to content
Snippets Groups Projects
Commit 260e68c3 authored by Colm Talbot's avatar Colm Talbot
Browse files

Merge branch '612-module-name-fix' into 'master'

Apply patch from https://git.ligo.org/lscsoft/bilby/-/issues/612

Closes #612

See merge request lscsoft/bilby!1052
parents b8b4a781 68222fcf
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,6 @@ def loaded_modules_dict():
module_names = list(sys.modules.keys())
vdict = {}
for key in module_names:
if "." not in key:
if "." not in str(key):
vdict[key] = str(getattr(sys.modules[key], "__version__", "N/A"))
return vdict
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment