diff --git a/PROMS/DataLoader/Procedures.cs b/PROMS/DataLoader/Procedures.cs index c4b21696..0ebf55e2 100644 --- a/PROMS/DataLoader/Procedures.cs +++ b/PROMS/DataLoader/Procedures.cs @@ -136,7 +136,9 @@ namespace DataLoader else { nm = sLine.Substring(0, indx); - vl = sLine.Substring(indx + 1, sLine.Length - indx - 1); + string tmpPsi = sLine.Substring(indx + 1, sLine.Length - indx - 1); + if (tmpPsi.Length > 0) tmpPsi=TextConvert.ConvertText(tmpPsi); + vl = tmpPsi; } ci.AddItem("PSI", nm, vl == null ? null : vl); }