Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
DaVinci
Merge requests
!435
Add support for Python 3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add support for Python 3
fix-py3
into
master
Overview
6
Commits
4
Pipelines
3
Changes
11
All threads resolved!
Hide all comments
Merged
Marco Clemencic
requested to merge
fix-py3
into
master
4 years ago
Overview
6
Commits
4
Pipelines
3
Changes
11
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
master
version 2
52dae1f3
4 years ago
version 1
1955185e
4 years ago
master (base)
and
latest version
latest version
04e43ba9
4 commits,
4 years ago
version 2
52dae1f3
3 commits,
4 years ago
version 1
1955185e
2 commits,
4 years ago
11 files
+
87
−
78
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
DaVinciTests/tests/options/CommonParticles/DVTestStandardIntermediate.py
+
4
−
3
Options
###############################################################################
# (c) Copyright 2000-20
18
CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2000-20
20
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". #
@@ -16,6 +16,7 @@
# Author: Patrick Koppenburg <patrick.koppenburg@cern.ch>
#
##############################################################################
from
__future__
import
print_function
from
DaVinci.Configuration
import
DaVinci
from
Gaudi.Configuration
import
*
##############################################################################
@@ -24,8 +25,8 @@ from CommonParticles import StandardBasic
from
CommonParticles
import
StandardIntermediate
Locations
=
[]
for
a
,
b
in
StandardIntermediate
.
locations
.
iter
items
():
print
"
DVTestCommonParticles adding location
"
,
a
for
a
,
b
in
StandardIntermediate
.
locations
.
items
():
print
(
"
DVTestCommonParticles adding location
"
,
a
)
Locations
.
append
(
a
)
from
Configurables
import
CountParticles
Loading