Closed ad12 closed 1 year ago
Format strings that are nested in lists
# load SOLVER.MAX_ITER as a tag cfg.DESCRIPTION.TAGS = ["tag1", f"{cfg.SOLVER.MAX_ITER}"]
Changes:
set_recursive
cfg.set_recursive("cfg.DESCRIPTION.TAGS[0]", "new_tag")
What doesnt work:
set_recursive("cfg.DESCRIPTION.TAGS[0][0]", "new_value")
Format strings that are nested in lists
Changes:
set_recursive
can be called with list indexingcfg.set_recursive("cfg.DESCRIPTION.TAGS[0]", "new_tag")
What doesnt work:
set_recursive("cfg.DESCRIPTION.TAGS[0][0]", "new_value")