Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CastorScript
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
atlas-tdaq-software
CastorScript
Commits
4564458d
Commit
4564458d
authored
14 years ago
by
Wainer Vandelli
Browse files
Options
Downloads
Patches
Plain Diff
Use new style classes. Standard data members are not part of the base class
parent
84b1d5ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Script/BaseFileNameParser.py
+18
-9
18 additions, 9 deletions
Script/BaseFileNameParser.py
with
18 additions
and
9 deletions
Script/BaseFileNameParser.py
+
18
−
9
View file @
4564458d
__version__
=
'
$Revision$
'
__version__
=
'
$Revision$
'
# $Source$
# $Source$
class
BaseFileNameParser
:
class
BaseFileNameParser
(
object
)
:
def
__init__
(
self
,
filename
):
def
__init__
(
self
,
filename
):
self
.
filename
=
filename
self
.
filename
=
filename
self
.
runnr
=
''
self
.
lbnr
=
''
self
.
filenr
=
''
self
.
streamtype
=
''
self
.
streamname
=
''
self
.
filetag
=
''
self
.
appid
=
''
self
.
projecttag
=
''
def
RunNr
(
self
):
def
RunNr
(
self
):
return
''
return
self
.
runnr
def
LBNr
(
self
):
def
LBNr
(
self
):
return
''
return
self
.
lbnr
def
FileNr
(
self
):
def
FileNr
(
self
):
return
''
return
self
.
filenr
def
StreamType
(
self
):
def
StreamType
(
self
):
return
''
return
self
.
streamtype
def
StreamName
(
self
):
def
StreamName
(
self
):
return
''
return
self
.
streamname
def
FileTag
(
self
):
def
FileTag
(
self
):
return
''
return
self
.
filetag
def
AppId
(
self
):
def
AppId
(
self
):
return
''
return
self
.
appid
def
ProjectTag
(
self
):
def
ProjectTag
(
self
):
return
''
return
self
.
projecttag
def
Directory
(
self
):
def
Directory
(
self
):
return
''
return
''
...
...
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