Commit d8e2b58f authored by André Anjos's avatar André Anjos 💬
Browse files

Merge branch 'hdf5-h5' into 'master'

Makes sure we can load/save files with arbitrary extensions

See merge request !8
parents 8cbe67e3 e3b77675
Pipeline #18311 passed with stages
in 59 minutes and 32 seconds
...@@ -101,10 +101,10 @@ def test_can_save(): ...@@ -101,10 +101,10 @@ def test_can_save():
os.unlink(tmp) os.unlink(tmp)
def test_can_save_hdf5(): def run_for_extension(ext):
machine = Machine(HEART_MACHINE) machine = Machine(HEART_MACHINE)
tmp = tempname('.hdf5') tmp = tempname(ext), 'w')), 'w'))
del machine del machine
...@@ -123,6 +123,15 @@ def test_can_save_hdf5(): ...@@ -123,6 +123,15 @@ def test_can_save_hdf5():
os.unlink(tmp) os.unlink(tmp)
def test_can_save_arbitrary():
def test_can_save_h5():
def test_can_save_hdf5():
def test_data_loading(): def test_data_loading():
#tests if I can load data in libsvm format using SVMFile #tests if I can load data in libsvm format using SVMFile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment