Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analysis
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
Analysis
Merge requests
!814
There is no print() method in FunctorCollection
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
There is no print() method in FunctorCollection
pkoppenb-master-patch-58211
into
master
Overview
2
Commits
1
Pipelines
1
Changes
1
Merged
Patrick Koppenburg
requested to merge
pkoppenb-master-patch-58211
into
master
3 years ago
Overview
2
Commits
1
Pipelines
1
Changes
1
Expand
Instead there is
str
, so I changed the documentation.
Edited
3 years ago
by
Patrick Koppenburg
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ef4c0480
1 commit,
3 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Phys/FunTuple/python/FunTuple/FunctorCollection.py
+
1
−
1
Options
@@ -24,7 +24,7 @@ class FunctorCollection():
__getitem__: Dictionary like get item
update : extends a given dictionary of functors to the collection, throwing a warning about overwriting an entry if it already exists.
pop : given a name or list of names it removes the functors from the collection, raising an error if the entry(ies) does(do) not exist.
print :
print
s
the co
ntent of FunctorCo
llection
.
__str__ : helper to
print the collection
add operator (+) : adds two FunctorCollection, for common entries warns the user about picking the entry from
"
base
"
FunctorCollection instance.
sub operator (-) : returns a FunctorCollection that contains unique entries between two FunctorCollections.
get_loki_functors(self): returns dictionary of loki functors
Loading