MET08RESIMAPCDE - v2.43.4 - CDE2 Title bug fix
This commit is contained in:
@ -269,7 +269,7 @@ public class ProcessData : IProcessData
|
||||
else
|
||||
{
|
||||
// Remove illegal characters \/:*?"<>| found in the run.
|
||||
title = Regex.Replace(text.Trim(), @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
||||
title = Regex.Replace(text, @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
||||
if (title.StartsWith("1T") || title.StartsWith("1t"))
|
||||
title = title.Substring(2);
|
||||
run = title;
|
||||
@ -343,6 +343,10 @@ public class ProcessData : IProcessData
|
||||
ScanPast("DEVICE:");
|
||||
recipe = GetBefore("RESISTIVITY SPEC:");
|
||||
}
|
||||
title = title.Trim();
|
||||
if (title[0] != '[' && title[title.Length - 1] != ']')
|
||||
throw new Exception("Lot summary data is invalid or missing.");
|
||||
title = title.Substring(1, title.Length - 2);
|
||||
Descriptor descriptor = GetDescriptor(title);
|
||||
psn = descriptor.PSN;
|
||||
rds = descriptor.RDS;
|
||||
|
Reference in New Issue
Block a user