def assure_obj_child_dict(obj, var):
  if not var in obj or type(obj[var]) != type({}):
    obj[var] = {}
  return obj
Assure the object has the specified child dict
dataset/ETHPy150Open nikcub/floyd/floyd/util/object.py/assure_obj_child_dict