MCPcopy Create free account
hub / github.com/Atrovast/THGS / write

Method write

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

Source from the content-addressed store, hash-verified

116 self.silent = silent
117
118 def write(self, x):
119 if not self.silent:
120 if x.endswith("\n"):
121 old_f.write(x.replace("\n", " [{}]\n".format(str(datetime.now().strftime("%d/%m %H:%M:%S")))))
122 else:
123 old_f.write(x)
124
125 def flush(self):
126 old_f.flush()

Callers 11

save_plyMethod · 0.80
__init__Method · 0.80
readColmapCamerasFunction · 0.80
storePlyFunction · 0.80
export_idsFunction · 0.80
save_label_plyFunction · 0.80
generate_videoFunction · 0.80
save_fileFunction · 0.80
download_urlFunction · 0.80
showFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected