Skip to content
Snippets Groups Projects
Commit 7fe13271 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fix minor bugs from merge

parent 99288391
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ class Input(object):
try:
cert_path = os.environ[cert_alias]
new_cert_path = os.path.join(
self.outdir, os.path.basename(cert_path))
self.outdir, '.' + os.path.basename(cert_path))
shutil.copyfile(cert_path, new_cert_path)
self._x509userproxy = new_cert_path
except KeyError:
......
......@@ -60,8 +60,6 @@ def create_default_parser():
parser.add(
'--time-marginalization', action='store_true', default=True,
help='If true, use a time-marginalized likelihood')
parser.add('--outdir', default='outdir', help='Output directory')
parser.add('--label', default='outdir', help='Output label')
parser.add('--sampler', default=None)
parser.add('--sampler-kwargs', default=None)
parser.add('--outdir', default='outdir', help='Output directory')
......
......@@ -36,7 +36,7 @@ class TestDag(unittest.TestCase):
expected_jobs = [dict(detectors=['H1', 'L1'], sampler='nestle'),
dict(detectors=['H1'], sampler='nestle'),
dict(detectors=['L1'], sampler='nestle')]
self.assertEqual(dag.jobs, expected_jobs)
self.assertEqual(dag.jobs_inputs, expected_jobs)
# def test_build_submit(self):
# test_args = copy.copy(self.test_args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment