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

Vanilla universe #169

Merged
merged 13 commits into from
Mar 19, 2024
6 changes: 5 additions & 1 deletion hveto/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@
'this will launch automatically to condor, '
'requires the gwdetchar package'),
)
parser.add_argument('--no-submit', action='store_true',
help='When omega scans are requested, do not submit DAG. Used when hveto is run in condor '
'vanilla universe')
areeda marked this conversation as resolved.
Show resolved Hide resolved

# output options
pout = parser.add_argument_group('Output options')
Expand Down Expand Up @@ -924,10 +927,11 @@
timeout=4,
extra_commands=["request_disk=1G"],
gps=start)
do_submit = True if args.no_submit else False

Check warning on line 930 in hveto/__main__.py

View check run for this annotation

Codecov / codecov/patch

hveto/__main__.py#L930

Added line #L930 was not covered by tests
areeda marked this conversation as resolved.
Show resolved Hide resolved
batch.generate_dag(
newtimes,
flags=flags,
submit=True,
submit=do_submit,
outdir=omegadir,
condor_commands=condorcmds)
LOGGER.info('Launched {} omega scans to condor'.format(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test = [
# sphinx documentation
docs = [
"numpydoc",
"Sphinx >=1.8",
"Sphinx",
"sphinx_bootstrap_theme",
"sphinxcontrib-programoutput",
]
Expand Down
Loading