Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LHCbDIRAC
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Alexey Zhelezov
LHCbDIRAC
Commits
89c844d2
Commit
89c844d2
authored
3 years ago
by
Christophe Haen
Browse files
Options
Downloads
Patches
Plain Diff
Explicitly depend on awkward for uproot
parent
03e280fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
setup.cfg
+2
-0
2 additions, 0 deletions
setup.cfg
src/LHCbDIRAC/Core/Utilities/File.py
+2
-2
2 additions, 2 deletions
src/LHCbDIRAC/Core/Utilities/File.py
with
4 additions
and
2 deletions
setup.cfg
+
2
−
0
View file @
89c844d2
...
...
@@ -31,6 +31,8 @@ install_requires =
requests
six
uproot
#
needed to extract guid with uproot
awkward
xmltodict
zip_safe
= False
include_package_data
= True
...
...
This diff is collapsed.
Click to expand it.
src/LHCbDIRAC/Core/Utilities/File.py
+
2
−
2
View file @
89c844d2
...
...
@@ -45,8 +45,8 @@ def getRootFileGUID(fileName):
if
item
.
startswith
(
'
FID=
'
):
return
S_OK
(
item
.
split
(
'
=
'
)[
1
])
return
S_ERROR
(
'
GUID not found
'
)
except
Exception
:
errorMsg
=
'
Error extracting GUID
'
except
Exception
as
e
:
errorMsg
=
'
Error extracting GUID
: %s
'
%
e
return
S_ERROR
(
errorMsg
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment