MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / close

Method close

datasets/utils/tsv/tsv_io.py:54–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 return tsv_info
53
54 def close(self):
55 if self._fp is not None:
56 self._fp.close()
57 del self._fp
58 del self._lineidx
59
60 self._fp = None
61 self._lineidx = None
62
63 def _ensure_lineidx_loaded(self):
64 if not op.isfile(self.lineidx) and not op.islink(self.lineidx):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected