Commit 2efa7e3d authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Bug Fix:

gnu compilers should now pass checks for featur space size
Corrected where phi.txt is outputted to
parent 4a3570e4
......@@ -53,7 +53,7 @@ def test_feature_space():
inputs.calc_type = "regression"
inputs.max_rung = 2
inputs.n_sis_select = 10
inputs.phi_out_file = "feature_space/phi.txt"
inputs.phi_out_file = str(parent / "feature_space" / "phi.txt")
try:
inputs.n_rung_generate = 2
......@@ -138,12 +138,12 @@ def test_feature_space():
inputs.n_sis_select,
inputs.cross_cor_max,
)
assert feat_space.n_feat == feat_space_2.n_feat
feat_space_2.sis(inputs.prop_train)
assert feat_space.phi_selected[0].expr == feat_space_2.phi_selected[0].expr
shutil.rmtree(f"{parent}/feature_space/")
shutil.rmtree("feature_space/")
......
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