Opened 14 years ago

Closed 14 years ago

#2 closed defect (fixed)

error handling when no Qsas is found

Reported by: prjemian Owned by: prjemian
Priority: major Version:
Keywords: Cc:


cansasXML.ipf does not pass the error back up to the caller when there is no Qsas, Isas, Qdev, or Idev data in the chosen SASdata. This is not allowed by the cansas1d/1.0 standard and should be reported as an error.

Suggest printing a remark in the IgorPro? command history and passing a non-zero return code to the caller who should handle accordingly (by removing the data folder for the SASdata).

Change History (2)

comment:1 Changed 14 years ago by prjemian

  • Status changed from new to assigned

comment:2 Changed 14 years ago by prjemian

  • Resolution set to fixed
  • Status changed from assigned to closed

resolved in changeset [10]
Check for all required elements in <IData>
Also check for same number of points.
Check for optional fields and compare number of points when present.

Flag these as errors but do not stop processing. Just continue to next SASdata or SASentry, as it exists.

Note: See TracTickets for help on using tickets.