Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix geometry comparison #1050

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -33,8 +33,9 @@ def __setitem__(self, key, value, dict_setitem=dict.__setitem__):
- `dict_item`: method which is used for finally setting the item
"""

if "__name__" in self and self["__name__"]=="validation" and key in self:
the_value = self[key]+self.getSep()+value
if "__name__" in self and self["__name__"]=="validation" \
and key in self and value!=self[key][0]:
the_value = [self[key][0]+self.getSep()+value[0]]
else:
the_value = value
dict_setitem(self, key, the_value)
Expand Down
Expand Up @@ -151,7 +151,7 @@ def createScript(self, path):
"fi\n")
repMap["runComparisonScripts"] += \
("rfcp .oO[CMSSW_BASE]Oo./src/Alignment"
"/OfflineValidation/scripts/makeArrowPlots "
"/OfflineValidation/scripts/makeArrowPlots.C "
"$CWD/TkAllInOneTool\n"
"root -b -q 'makeArrowPlots.C(\""
".oO[name]Oo..Comparison_common"+name
Expand Down