Commit 46676acb authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Yet another fix in TJAlienCollection::ExportXML()

parent 7e70db42
......@@ -410,11 +410,12 @@ Bool_t TJAlienCollection::ExportXML(TFile * exportfile, Bool_t selected, Bool_t
tagval =
(TObjString *) ((TMap *) nextgroup->GetValue(attributes->GetName()))->GetValue(tagname);
if (TString(tagname->GetName()) != "evlist") {
snprintf(outline,4096, "%s=\"%s\" ", tagname->GetName(), tagval->GetName());
// NOTE: (nhardi) dirty hack - see find command json output and compare TGridResult with alien
if(TString(tagname->GetName()) == "lfn") {
snprintf(outline, 4096, "turl=\"alien://%s\" ", tagval->GetName());
if(TString(tagname->GetName()) != "lfn") {
snprintf(outline,4096, "%s=\"%s\" ", tagname->GetName(), tagval->GetName());
} else {
snprintf(outline, 4096, "lfn=\"%s\" turl=\"alien://%s\" ", tagval->GetName(), tagval->GetName());
}
} else {
// the eventlist has to be converted from TEventList to a string list with komma separation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment