def _cleaning(clusL, path):
backup = op.join(path, "<STR_LIT>")<EOL>if not op.exists(backup):<EOL><INDENT>clus_obj = reduceloci(clusL, path)<EOL>with open(backup, '<STR_LIT:wb>') as output:<EOL><INDENT>pickle.dump(clus_obj, output, pickle.HIGHEST_PROTOCOL)<EOL><DEDENT>return clus_obj<EOL><DEDENT>else:<EOL><INDENT>logger.info("<STR_LIT>")<EOL>with open(backup, '<STR_LIT:rb>') as in_handle:<EOL><INDENT>clus_obj = pickle.load(in_handle)<EOL><DEDENT>return clus_obj<EOL><DEDENT>
Load saved cluster and jump to next step