MCPcopy
hub / github.com/yerfor/GeneFacePlusPlus / to

Method to

data_gen/utils/path_converter.py:21–22  ·  view source on GitHub ↗
(self, path: str, old_pattern: str, new_pattern: str)

Source from the content-addressed store, hash-verified

19 }
20
21 def to(self, path: str, old_pattern: str, new_pattern: str):
22 return path.replace(self.prefixs[old_pattern], self.prefixs[new_pattern], 1)
23
24pc = PathConverter()

Callers 15

sample_pdfFunction · 0.45
mark_untrained_gridMethod · 0.45
update_extra_stateMethod · 0.45
cal_cond_featMethod · 0.45
cal_cond_featMethod · 0.45
update_extra_stateMethod · 0.45
update_extra_stateMethod · 0.45
forwardMethod · 0.45
backwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
initializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected