MAINT: Rebuild example data.

This commit is contained in:
Scott Sanderson
2016-07-29 07:26:48 -04:00
parent d9282ef7e0
commit ccd94e6e64
61 changed files with 9 additions and 28 deletions
+3
View File
@@ -55,6 +55,9 @@ nosetests.xml
# Built documentation
docs/_build/*
# Un-tarred example data input. We should only commit the tarball.
tests/resources/example_data/*
# database of vbench
benchmarks.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
{"names": ["open", "high", "low", "close", "volume", "day", "id"]}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
@@ -1 +0,0 @@
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
@@ -1 +0,0 @@
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
File diff suppressed because one or more lines are too long
+6 -4
View File
@@ -164,13 +164,15 @@ def main(ctx, rebuild_input):
)
# move the new results to the expected path
# note that new_perf_path will be cleaned up dataframe_cache on
# exit.
shutil.rmtree(expected_perf_path)
shutil.copytree(new_perf_path, expected_perf_path)
with tarfile.open(example_path, 'w|gz') as tar:
tar.add(d.getpath('example_data'), 'example_data')
# Clear out all the temporary new perf so it doesn't get added to the
# tarball.
shutil.rmtree(d.getpath('example_data/new_perf/'))
with tarfile.open(example_path, 'w|gz') as tar:
tar.add(d.getpath('example_data'), 'example_data')
if __name__ == '__main__':