Skip to content
Snippets Groups Projects
Commit 1265fead authored by Marko Petric's avatar Marko Petric
Browse files

Create empty dictionary if TGeoUnits do not exist

parent 1c1cc16c
No related branches found
No related tags found
No related merge requests found
......@@ -254,5 +254,6 @@ try:
return len(items)
except:
print 'WARNING: No units from TGeoUnit can be imported. This is normal for ROOT < 6.12.0'
TGeoUnits = {}
def import_units():
return 0
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