@@ -167,10 +167,10 @@ def _get_mantid_sample(self):
167167
168168 pixels_s2 = '''
169169<component type="MonNDtype-IDX_MONITOR-pix-IDX_PIXEL">
170- <location x="x_cp" y="y_cp" z="0 " />
170+ <location x="x_cp" y="y_cp" z="z_cp " />
171171</component>'''
172172
173- # ['IDX_PIXEL', '0', 'NUM_PIXELS', '4', 'x_cp' , 'y_cp' , '0 ', '-COORD_X' , 'y_1' , '0', '-COORD_X' , 'y_2' , '0', 'COORD_X' , 'y_3' , '0', 'COORD_X' , 'y_4' , '0']
173+ # ['IDX_PIXEL', '0', 'NUM_PIXELS', '4', 'x_cp' , 'y_cp' , 'z_cp ', '-COORD_X' , 'y_1' , '0', '-COORD_X' , 'y_2' , '0', 'COORD_X' , 'y_3' , '0', 'COORD_X' , 'y_4' , '0']
174174 # ['1009' , '0', '1009' , '4', '0.301485', '0.111419', '0', '-0.00148515', '-0.0139429', '0', '-0.00148515', '0.0128452', '0', '0.00148515', '0.0140756', '0', '0.00148515', '-0.0129778', '0']
175175
176176 def _get_mantid_pixels_monitors (self ):
@@ -250,6 +250,7 @@ def wrap_join_s2_block(s2_s, monitor_name, idx_monitor):
250250 s2 = s2 .replace ('IDX_MONITOR' , idx_monitor )
251251 s2 = s2 .replace ('x_cp' , str (pix .p_cp .x ))
252252 s2 = s2 .replace ('y_cp' , str (pix .p_cp .y ))
253+ s2 = s2 .replace ('z_cp' , str (pix .p_cp .z ))
253254 s2_s .append (s2 )
254255
255256 mon_txt_blocks .append ('\n \n ' .join (
0 commit comments