Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(980)

Unified Diff: write_html.py

Issue 1620043002: Add scripts for distillability modelling (Closed) Base URL: git@github.com:chromium/dom-distiller.git@master
Patch Set: set upstream patchset, identical to patch set 2 Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « write_features_csv.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: write_html.py
diff --git a/write_html.py b/write_html.py
deleted file mode 100755
index 4a515fb7b7ae6b4967863df44acb2d0c836daf05..0000000000000000000000000000000000000000
--- a/write_html.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import argparse
-import json
-import os
-import shutil
-import sys
-import time
-import urllib
-
-def main(argv):
- parser = argparse.ArgumentParser()
- parser.add_argument('--out', required=True)
- options = parser.parse_args(argv)
-
- outdir = options.out
-
- with open('%s/index' % outdir) as idx:
- index = json.load(idx)
-
-
- for e in index:
- print e
-
-
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv[1:]))
-
« no previous file with comments | « write_features_csv.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698