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

Context config debugged #114

Merged
merged 4 commits into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/reprox-start-jobs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if __name__ == '__main__':
ram=int(args.ram),
cpus_per_task=int(args.cpu),
container=f'xenonnt-{args.tag}.simg',
include_config=args.context_config_kwargs,
context_config_kwargs=args.context_kwargs,
include_config=args.context_kwargs,
context_config_kwargs=args.context_config_kwargs,
))
core.log.info('Job submission done done, bye bye')
2 changes: 2 additions & 0 deletions reprox/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def get_context(package=config['context']['package'],
config_kwargs: typing.Union[None, dict] = None,
minimum_run_number=config['context']['minimum_run_number'],
maximum_run_number=config['context']['maximum_run_number'],
**kwargs,
):
module = importlib.import_module(f'{package}.contexts')

Expand Down Expand Up @@ -113,6 +114,7 @@ def get_context(package=config['context']['package'],
minimum_run_number=minimum_run_number,
maximum_run_number=maximum_run_number,
),
**kwargs,
)
if config_kwargs is not None:
log.warning(f'Updating the context with the following config {config_kwargs}')
Expand Down
1 change: 0 additions & 1 deletion reprox/find_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def determine_data_to_reprocess(
run_mode = None
else:
run_mode = run_mode.split(',')

# In case select_runs failed due to weird reasons, try again
try:
runs = st.select_runs(exclude_tags=('messy', 'bad', 'abandoned'),
Expand Down
2 changes: 1 addition & 1 deletion reprox/reprocessing.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ max_jobs = 100
logging_level = INFO
# 0 means submit everything
submit_only = 0
ram = 5000
ram = 20000
cpus_per_job = 2
job_timeout_hours = 8
container_tag=2023.05.2