Skip to content

Commit

Permalink
LIMS-1463: Always display Mesh3D data collections as grid scans (#845)
Browse files Browse the repository at this point in the history
* LIMS-1463: Always display Mesh3d data collections as grid scans

* LIMS-1463: Combine if clauses

---------

Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams authored Nov 12, 2024
1 parent 9317745 commit 4452872
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/src/Page/DC.php
Original file line number Diff line number Diff line change
Expand Up @@ -993,9 +993,10 @@ function _data_collections($single = null)
$dc['DCT'] = 'Data Collection';
}

if ($dc['DCT'] == 'Mesh')
if ($dc['DCT'] == 'Mesh' || $dc['DCT'] == 'Mesh3D' ||
($dc['DCT'] != 'Serial Fixed' && $dc['DCT'] != 'Serial Jet' && $dc['AXISRANGE'] == 0 && $dc['NI'] > 1)
) {
$dc['DCT'] = 'Grid Scan';
if ($dc['DCT'] != 'Serial Fixed' && $dc['DCT'] != 'Serial Jet' && $dc['AXISRANGE'] == 0 && $dc['NI'] > 1) {
$dc['TYPE'] = 'grid';
}
//$this->profile('dc');
Expand Down

0 comments on commit 4452872

Please sign in to comment.