def convert_action_to_gym(self, action):
    if (len(action) == 1):
        return action[0]
    else:
        return list(action)
    if (((not self.combine_actions) or (len(self.orig_act_dims) == 1)) and ((len(self.act_dims) == 1) or (self.discretize_actions and (len(self._act_dims) == 1)))):
        return action[0]
    else:
        return list(action)
def convert_action_to_gym(self, action):
    if (len(action) == 1):
        return action[0]
    else:
        return list(action)
    if (((not self.combine_actions) or (len(self.orig_act_dims) == 1)) and ((len(self.act_dims) == 1) or (self.discretize_actions and (len(self._act_dims) == 1)))):
        return action[0]
    else:
        return list(action)