mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 17:47:56 +08:00
MAINT: Rebuild example data.
This commit is contained in:
@@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-1
File diff suppressed because one or more lines are too long
-1
@@ -1 +0,0 @@
|
||||
{"names": ["open", "high", "low", "close", "volume", "day", "id"]}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{}
|
||||
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
||||
{"nbytes": 98584, "shape": [24646], "cbytes": 131072}
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"chunklen": 32768, "dtype": "uint32", "expectedlen": 24646, "dflt": 0, "cparams": {"shuffle": true, "clevel": 5}}
|
||||
-1
File diff suppressed because one or more lines are too long
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user