MCPcopy
hub / github.com/richzhang/PerceptualSimilarity / save

Method save

util/html.py:47–51  ·  view source on GitHub ↗
(self,file='index')

Source from the content-addressed store, hash-verified

45 p(txt)
46
47 def save(self,file='index'):
48 html_file = '%s/%s.html' % (self.web_dir,file)
49 f = open(html_file, 'wt')
50 f.write(self.doc.render())
51 f.close()
52
53
54if __name__ == '__main__':

Callers 5

train.pyFile · 0.45
html.pyFile · 0.45
save_imageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected