Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn-ROOT
Commits
e7865159
Commit
e7865159
authored
Aug 22, 2018
by
Nikola Hardi
Browse files
Fix TJAlienCollection according to TAlienCollection
parent
dd11c464
Changes
1
Hide whitespace changes
Inline
Side-by-side
TJAlienCollection.cxx
View file @
e7865159
...
...
@@ -780,9 +780,6 @@ const char *TJAlienCollection::GetTURL(const char *filename)
if
(
obj
)
{
if
(
obj
->
GetValue
(
"turl"
))
{
TString
result
=
TString
(((
TObjString
*
)
obj
->
GetValue
(
"turl"
))
->
GetName
());
// we are in JAliEn and collection can be created by Alien, so we change plugin in turl
if
(
result
.
BeginsWith
(
"alien://"
))
SetTag
(
"turl"
,(
TString
(
TString
(
"j"
)
+
result
)).
Data
(),
obj
);
Info
(
"GetTUrl"
,
"%s"
,
((
TObjString
*
)
obj
->
GetValue
(
"turl"
))
->
GetName
());
return
((
TObjString
*
)
obj
->
GetValue
(
"turl"
))
->
GetName
();
}
...
...
@@ -1120,7 +1117,7 @@ void TJAlienCollection::ParseXML(UInt_t maxentries)
if
(
!
xfile
)
continue
;
//
Bool_t firstfile = kTRUE;
Bool_t
firstfile
=
kTRUE
;
do
{
// here we have an event file
// get the attributes;
...
...
@@ -1176,13 +1173,13 @@ void TJAlienCollection::ParseXML(UInt_t maxentries)
fExportUrl
=
ossexporturl
->
GetName
();
}
files
->
Add
(
new
TObjString
(
xml
.
GetAttr
(
xfile
,
"name"
)),
attributes
);
// we add the first file always as a file without name to the map
/*
if (firstfile) {
// we add the first file always as a file without name to the map
if
(
firstfile
)
{
files
->
Add
(
new
TObjString
(
""
),
attributes
);
firstfile
=
kFALSE
;
} else*/
files
->
Add
(
new
TObjString
(
xml
.
GetAttr
(
xfile
,
"name"
)),
attributes
);
}
else
if
(
fNofGroups
==
1
)
fNofGroupfiles
++
;
}
while
((
xfile
=
xml
.
GetNext
(
xfile
)));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment