cellInstanceVersion.EdaConnection.PortNumber
gitignore CA1862 and GetWeekOfYear for WritePDSF Removed Open Insight API IFX Directory from Save editorconfig v2_52_0-Tests net8.0
This commit is contained in:
@ -6,7 +6,6 @@ using Adaptation.Shared.Methods;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace Adaptation.FileHandlers.txt;
|
||||
@ -118,7 +117,7 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
string sequenceDirectoryName = Path.Combine(directoryName, _Logistics.Sequence.ToString());
|
||||
string originalDataBioRad = Path.Combine(directoryName, $"{_OriginalDataBioRad}{_Logistics.Sequence}.txt");
|
||||
IProcessData iProcessData = new ProcessData(this, _Logistics, _TickOffset.Value, results.Item4, _OriginalDataBioRad);
|
||||
if (_IsEAFHosted && iProcessData.Details.Any())
|
||||
if (_IsEAFHosted && iProcessData.Details.Count != 0)
|
||||
{
|
||||
if (!Directory.Exists(sequenceDirectoryName))
|
||||
_ = Directory.CreateDirectory(sequenceDirectoryName);
|
||||
|
@ -103,7 +103,7 @@ public partial class ProcessData : IProcessData
|
||||
}
|
||||
else
|
||||
cassetteIDAndDataSets = GetCassetteIDAndDataSets(reportFullPathlines);
|
||||
if (cassetteIDAndDataSets.Any())
|
||||
if (cassetteIDAndDataSets.Count != 0)
|
||||
{
|
||||
int wafer;
|
||||
string user;
|
||||
@ -226,7 +226,7 @@ public partial class ProcessData : IProcessData
|
||||
{
|
||||
processData = new Stratus.ProcessData(fileRead, logistics, fileInfoCollection, originalDataBioRad, dataText: dataText);
|
||||
iProcessData = processData;
|
||||
if (!iProcessData.Details.Any())
|
||||
if (iProcessData.Details.Count == 0)
|
||||
_Log.Warn("No Details!");
|
||||
else
|
||||
{
|
||||
@ -371,7 +371,7 @@ public partial class ProcessData : IProcessData
|
||||
// Detected a new cassette data scan. Extract the cassette ID.
|
||||
// Example: "Cassette 47-241330-4238 started."
|
||||
segments = line.Substring(9).Split(new string[] { "started" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
if (segments.Any())
|
||||
if (segments.Length != 0)
|
||||
// Remove illegal characters \/:*?"<>| found in the Cassette.
|
||||
cassetteID = Regex.Replace(segments[0].Trim(), @"[\\,\/,\:,\*,\?,\"",\<,\>,\|]", "_").Split('\r')[0].Split('\n')[0];
|
||||
}
|
||||
|
Reference in New Issue
Block a user