From c89bdad0c265f66fe4aa16efe152089a93f08bcf Mon Sep 17 00:00:00 2001 From: lugrazet <Luke.Grazette@CERN.CH> Date: Tue, 17 Oct 2023 10:47:42 +0100 Subject: [PATCH] Copyright Fixed formatting patch generated by https://gitlab.cern.ch/lhcb/Moore/-/jobs/33183364 pylint --- .../tests/options/bandwidth/hlt1_bandwidth_input.py | 11 ++++++++++- .../bandwidth/hlt1_bandwidth_streamless_streams.py | 9 ++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_input.py b/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_input.py index a9309dc7bbf..7c0536f8fe9 100644 --- a/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_input.py +++ b/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_input.py @@ -1,3 +1,13 @@ +############################################################################### +# (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 @@ -9,7 +19,6 @@ If updating, please also update hlt1_bandwidth.yaml ''' from Moore import options -from RecoConf.calorimeter_reconstruction import make_digits options.set_input_and_conds_from_testfiledb( 'MiniBrunel_2018_MinBias_FTv4_DIGI') diff --git a/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_streamless_streams.py b/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_streamless_streams.py index f0351c7b4da..a909dfd2cea 100644 --- a/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_streamless_streams.py +++ b/Hlt/Hlt1Conf/tests/options/bandwidth/hlt1_bandwidth_streamless_streams.py @@ -20,10 +20,6 @@ To launch it in Moore, run with from Moore import run_moore 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 Hlt1Conf.settings import all_lines_functions import json @@ -45,8 +41,11 @@ def make_lines(): with open( fname_helper.stream_config_json_path(stream_config="streamless"), '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()] + options.scheduler_legacy_mode = False run_moore(options, make_lines) -- GitLab