MCPcopy Create free account
hub / github.com/OpenImagingLab/4DSloMo / write

Method write

utils/general_utils.py:153–158  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

151 self.silent = silent
152
153 def write(self, x):
154 if not self.silent:
155 if x.endswith("\n"):
156 old_f.write(x.replace("\n", " [{}]\n".format(str(datetime.now().strftime("%d/%m %H:%M:%S")))))
157 else:
158 old_f.write(x)
159
160 def flush(self):
161 old_f.flush()

Callers 6

create_videos_by_prefixFunction · 0.80
__init__Method · 0.80
readColmapCamerasFunction · 0.80
storePlyFunction · 0.80
n3v2blender.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected