Skip to content
Snippets Groups Projects
Commit c89bdad0 authored by Luke Grazette's avatar Luke Grazette
Browse files

Copyright

Fixed formatting

patch generated by https://gitlab.cern.ch/lhcb/Moore/-/jobs/33183364

pylint
parent bce9c9b6
No related branches found
No related tags found
Loading
Pipeline #6349471 passed
This commit is part of merge request !2528. Comments created here will be created in the context of that merge request.
###############################################################################
# (c) Copyright 2023 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
''' '''
Configure input files for the Hlt1 bandwidth tests Configure input files for the Hlt1 bandwidth tests
...@@ -9,7 +19,6 @@ If updating, please also update hlt1_bandwidth.yaml ...@@ -9,7 +19,6 @@ If updating, please also update hlt1_bandwidth.yaml
''' '''
from Moore import options from Moore import options
from RecoConf.calorimeter_reconstruction import make_digits
options.set_input_and_conds_from_testfiledb( options.set_input_and_conds_from_testfiledb(
'MiniBrunel_2018_MinBias_FTv4_DIGI') 'MiniBrunel_2018_MinBias_FTv4_DIGI')
......
...@@ -20,10 +20,6 @@ To launch it in Moore, run with ...@@ -20,10 +20,6 @@ To launch it in Moore, run with
from Moore import run_moore from Moore import run_moore
from Moore.options import options from Moore.options import options
from Moore.config import allen_control_flow
from RecoConf.hlt1_allen import call_allen_decision_logger
from PyConf.application import configure_input, configure
from PyConf.control_flow import CompositeNode, NodeLogic
from PRConfig.bandwidth_helpers import FileNameHelper from PRConfig.bandwidth_helpers import FileNameHelper
from Hlt1Conf.settings import all_lines_functions from Hlt1Conf.settings import all_lines_functions
import json import json
...@@ -45,8 +41,11 @@ def make_lines(): ...@@ -45,8 +41,11 @@ def make_lines():
with open( with open(
fname_helper.stream_config_json_path(stream_config="streamless"), fname_helper.stream_config_json_path(stream_config="streamless"),
'w') as f: 'w') as f:
json.dump({"streamless": [name(line) for line in all_lines_functions()]}, f) json.dump({
"streamless": [name(line) for line in all_lines_functions()]
}, f)
return [line() for line in all_lines_functions()] return [line() for line in all_lines_functions()]
options.scheduler_legacy_mode = False options.scheduler_legacy_mode = False
run_moore(options, make_lines) run_moore(options, make_lines)
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