You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* LIMS-1648: Only display auto proc program attachment files where deleted column is 0 (#921)
* LIMS-1400: Remove logon stats page (#916)
* LIMS-1702: Rename Archive button to Download Zip (#930)
* LIMS-1719: Fix data collection comments button (#931)
* LIMS-1694: Allow beamlines to disable user assignment of pucks (#925)
* LIMS-1687: Remove references to GridInfo.pixelsPerMicronX/Y (#926)
Copy file name to clipboardExpand all lines: api/docs/db/DataCollections.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,8 +89,8 @@ steps_x | int | Number of steps in x in the grid scan
89
89
steps_y | int | Number of steps in y in the grid scan
90
90
snapshot_offsetxpixel | int | Number of pixels from top left of the snapshot image in x to where the top left of the grid starts
91
91
snapshot_offsetypixel | int | Number of pixels from top left of the snapshot image in y to where the top left of the grid starts
92
-
pixelspermicronx | float | Confusingly, microns per pixel. Physical size of the pixel in x in microns
93
-
pixelspermicrony | float | Confusingly, microns per pixel. Physical size of the pixel in y in microns
92
+
micronsperpixelx | float | Physical size of the pixel in x in microns
93
+
micronsperpixely | float | Physical size of the pixel in y in microns
94
94
95
95
This allows the snapshot to be cropped to the correct location and the grid to be navigatable by click to show an resulting diffraction image. The results from Per Image Analysis are then merged on top as a heatmap.
Copy file name to clipboardExpand all lines: api/src/Page/DC.php
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -474,6 +474,7 @@ function _data_collections($single = null)
474
474
d.numberofpixelsx as detectornumberofpixelsx,
475
475
d.numberofpixelsy as detectornumberofpixelsy,
476
476
ses.archived,
477
+
ses.purgedProcessedData,
477
478
IFNULL(dc.rotationaxis, 'Omega') as rotationaxis,
478
479
dc.detector2theta";
479
480
$groupby = 'GROUP BY smp.name,
@@ -611,6 +612,7 @@ function _data_collections($single = null)
611
612
max(d.numberofpixelsx) as detectornumberofpixelsx,
612
613
max(d.numberofpixelsy) as detectornumberofpixelsy,
613
614
max(ses.archived) as archived,
615
+
max(ses.purgedProcessedData) as purgedProcessedData,
614
616
IFNULL(max(dc.rotationaxis), 'Omega') as rotationaxis,
615
617
dc.detector2theta";
616
618
$groupby = "GROUP BY dc.datacollectiongroupid";
@@ -771,6 +773,7 @@ function _data_collections($single = null)
771
773
'',
772
774
'',
773
775
ses.archived,
776
+
ses.purgedProcessedData,
774
777
'',
775
778
''
776
779
FROM energyscan es
@@ -867,6 +870,7 @@ function _data_collections($single = null)
867
870
'',
868
871
'',
869
872
ses.archived,
873
+
ses.purgedProcessedData,
870
874
'',
871
875
''
872
876
FROM xfefluorescencespectrum xrf
@@ -963,6 +967,7 @@ function _data_collections($single = null)
963
967
'',
964
968
'',
965
969
ses.archived,
970
+
ses.purgedProcessedData,
966
971
'',
967
972
''
968
973
FROM robotaction r
@@ -1461,7 +1466,7 @@ function _null_or($field, $conversion)
1461
1466
# Grid Scan Info
1462
1467
function_grid_info()
1463
1468
{
1464
-
$info = $this->db->pq("SELECT dc.datacollectiongroupid, dc.datacollectionid, dc.axisstart, p.posx as x, p.posy as y, p.posz as z, g.dx_mm, g.dy_mm, g.steps_x, g.steps_y, g2.steps_y as steps_z, IFNULL(g.micronsperpixelx,g.pixelspermicronx) as micronsperpixelx, IFNULL(g.micronsperpixely,g.pixelspermicrony) as micronsperpixely, g.snapshot_offsetxpixel, g.snapshot_offsetypixel, g.orientation, g.snaked, DATE_FORMAT(dc.starttime, '%Y%m%d') as startdate, xrc.status as xrcstatus, xrcr.xraycentringresultid
1469
+
$info = $this->db->pq("SELECT dc.datacollectiongroupid, dc.datacollectionid, dc.axisstart, p.posx as x, p.posy as y, p.posz as z, g.dx_mm, g.dy_mm, g.steps_x, g.steps_y, g2.steps_y as steps_z, g.micronsperpixelx, g.micronsperpixely, g.snapshot_offsetxpixel, g.snapshot_offsetypixel, g.orientation, g.snaked, DATE_FORMAT(dc.starttime, '%Y%m%d') as startdate, xrc.status as xrcstatus, xrcr.xraycentringresultid
1465
1470
FROM gridinfo g
1466
1471
INNER JOIN datacollection dc on (dc.datacollectionid = g.datacollectionid) or (dc.datacollectiongroupid = g.datacollectiongroupid)
1467
1472
LEFT OUTER JOIN position p ON dc.positionid = p.positionid
0 commit comments