Commit af7cd43a393298cfd989c670fbeb0982c709d455
1 parent
e31ba994
Add run ids to XML file on output (bug #1092)
Showing
1 changed file
with
1 additions
and
0 deletions
inst/cta/src/GCTAModelBackground.cpp
| @@ -846,6 +846,7 @@ void GCTAModelBackground::write(GXmlElement& xml) const | @@ -846,6 +846,7 @@ void GCTAModelBackground::write(GXmlElement& xml) const | ||
| 846 | // Set model type, name and optionally instruments | 846 | // Set model type, name and optionally instruments |
| 847 | src->attribute("name", name()); | 847 | src->attribute("name", name()); |
| 848 | src->attribute("type", type()); | 848 | src->attribute("type", type()); |
| 849 | + src->attribute("ids",ids()); | ||
| 849 | if (instruments().length() > 0) { | 850 | if (instruments().length() > 0) { |
| 850 | src->attribute("instrument", instruments()); | 851 | src->attribute("instrument", instruments()); |
| 851 | } | 852 | } |