diff --git a/tests/test10/HSP2results/pytest10.py b/tests/test10/HSP2results/pytest10.py deleted file mode 100644 index 0fe9ffbd..00000000 --- a/tests/test10/HSP2results/pytest10.py +++ /dev/null @@ -1,37 +0,0 @@ -# if testing manually you may need to os.chdir('./tests/test10specl/HSP2results') -import pytest -import os -import pandas as pd -from pandas.io.pytables import read_hdf -import HSP2.utilities -import HSP2IO -from HSP2IO.hdf import HDF5 - -def test_h5_file_exists(): - assert os.path.exists('test10.h5') - -# uncomment if you want to see how to break the test -#def test_that_should_fail(): -# assert os.path.exists('test100000.h5') - - -# uncomment if you want to see how to break the test -#def test_that_should_fail(): -# Code to evaluate difference between runs with and without specl -# not formatted in pytest friendly fashion yet, and would require oth h5 files to exist -""" -# running from root of HSP2 install -fpath = "./tests/test10/HSP2results/test10.h5" -dstore = pd.HDFStore(fpath) -sedtrn_r005 = read_hdf(dstore, '/RESULTS/RCHRES_R005/SEDTRN/table') -print(sedtrn_r005['RSED4'].mean(), sedtrn_r005['RSED5'].mean(), sedtrn_r005['RSED6'].mean()) -dstore.close() - -# Grab the other -fpath = "./tests/test10specl/HSP2results/test10specl.h5" -specl_dstore = pd.HDFStore(fpath) -specl_sedtrn_r005 = read_hdf(specl_dstore, '/RESULTS/RCHRES_R005/SEDTRN/table') -print(specl_sedtrn_r005['RSED4'].mean(), specl_sedtrn_r005['RSED5'].mean(), specl_sedtrn_r005['RSED6'].mean()) -specl_dstore.close() - -""" \ No newline at end of file