Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamma reg collision test if different gamma is set correctly #847

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
19 changes: 19 additions & 0 deletions tests/test_composite_reg_cmd.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""
Test argparser functionality
"""
import os
from domainlab.arg_parser import mk_parser_main
from domainlab.exp.exp_main import Exp


def test_parse_yml_args():
"""Test argparser with yaml file"""
testdir = os.path.dirname(os.path.realpath(__file__))
rootdir = os.path.join(testdir, "..")
# rootdir = os.path.abspath(rootdir)
file_path = os.path.join(rootdir, "examples/conf/vlcs_diva_mldg_dial.yaml")
argsstr = "--config=" + file_path
parser = mk_parser_main()
margs = parser.parse_args(argsstr.split())
exp = Exp(margs)
exp.execute()
Loading