Skip to content
Snippets Groups Projects

Draft: Update Rich/RichMirrorAlignmentOnline for use during Run 3 (RICH-51, RICH-60)

Closed Paras Naik requested to merge pnaik_Run3MirrOnline_202205 into master
Compare and Show latest version
1 file
+ 10
2
Compare changes
  • Side-by-side
  • Inline
@@ -289,8 +289,16 @@ class Plotter:
for i, alignment in enumerate(self.alignments):
self.AlignmentSelector(i, self.plot_type)
print(i, alignment, "is being compared to:", self.alignment_temp)
self.tiltmaker.setChange(
[self.files[self.alignment_temp][1], self.files[alignment][1]])
if '.yml' in self.files[self.alignment_temp][1] and '.yml' in self.files[alignment][1]:
self.tiltmaker.setchangeYAML(
[self.files[self.alignment_temp][1], self.files[alignment][1]])
elif '.xml' in self.files[self.alignment_temp][1] and '.xml' in self.files[alignment][1]:
self.tiltmaker.setChange(
[self.files[self.alignment_temp][1], self.files[alignment][1]])
else:
print("ERROR: Trying to compare XML to YAML or vice versa")
# self.tilts will be what it was for the previous "alignment in enumerate(self.alignments)" setChange
# if there was no previous setChange in this loop, then the next line will crash
self.tilts = self.tiltmaker.getChange()
markers_filled = [20, 21, 22, 23]
hollow_markers = [24, 25, 26, 32]
Loading