MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / write

Method write

benchmark/models/mapanything/utils/misc.py:35–43  ·  view source on GitHub ↗

Write the buffer content to the logger. Parameters: - buf: The string buffer to write

(self, buf)

Source from the content-addressed store, hash-verified

33 self.linebuf = ""
34
35 def write(self, buf):
36 """
37 Write the buffer content to the logger.
38
39 Parameters:
40 - buf: The string buffer to write
41 """
42 for line in buf.rstrip().splitlines():
43 self.logger.log(self.log_level, line.rstrip())
44
45 def flush(self):
46 """

Callers 15

get_scene_pcdFunction · 0.45
get_scene_camerasFunction · 0.45
write_plyFunction · 0.45
download_file_from_urlFunction · 0.45
_log_kv_statsFunction · 0.45
export_plyFunction · 0.45
export_to_colmapFunction · 0.45
write_log_statsFunction · 0.45
export_plyFunction · 0.45
write_next_bytesFunction · 0.45
write_cameras_textFunction · 0.45
write_images_textFunction · 0.45

Calls 1

logMethod · 0.45

Tested by

no test coverage detected