docs: def remove_brackets(name):
      """Removes brackets form input
  
      :param name: path to fix
      :return: inputs with no brackets
      """
      name = re.sub(
          r"([(\[]).*?([)\]])",
          r"\g<1>\g<2>",
          name
      )  # remove anything in between brackets
      brackets = "()[]{}"  # list of brackets
      for bracket in brackets:
          name = name.replace(bracket, "")
      return name