File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -6503,7 +6503,8 @@ void SpecFile::set_detector_type_from_other_info()
6503
6503
6504
6504
6505
6505
// Lets try to figure out if we can fill out detector_type_
6506
- if ( iequals_ascii ( manufacturer_," ORTEC" ) )
6506
+ const bool manufacturer_is_ortec = icontains ( manufacturer_, " ORTEC" );
6507
+ if ( manufacturer_is_ortec || (manufacturer_.empty () && icontains (instrument_model_," Det" )) )
6507
6508
{
6508
6509
if ( iequals_ascii (instrument_model_," OSASP" ) )
6509
6510
detector_type_ = DetectorType::DetectiveEx200;
@@ -6527,8 +6528,14 @@ void SpecFile::set_detector_type_from_other_info()
6527
6528
detector_type_ = DetectorType::DetectiveX;
6528
6529
else if ( icontains (instrument_model_," Detective" ) )
6529
6530
detector_type_ = DetectorType::DetectiveUnknown;
6530
-
6531
- return ;
6531
+
6532
+ if ( manufacturer_is_ortec
6533
+ || ((detector_type_ != DetectorType::Unknown) && (detector_type_ != DetectorType::IdentiFinderUnknown)) )
6534
+ {
6535
+ if ( manufacturer_.empty () )
6536
+ manufacturer_ = " ORTEC" ;
6537
+ return ;
6538
+ }
6532
6539
}// if( iequals_ascii( manufacturer_,"ORTEC" ) )
6533
6540
6534
6541
You can’t perform that action at this time.
0 commit comments