Scénario de test & Cas d'usage
Processing and analysis of biomedical images (e.g., DICOM).
Discover all actions of bioMedImageCreation of a malformed dataset with missing binary data.
| 1 | |
| 2 | DATA casuser.corrupted_scan; |
| 3 | LENGTH _id_ $32 _image_ binary; |
| 4 | _id_='corrupt_01'; |
| 5 | call missing(_image_); |
| 6 | /* Missing binary blob */ |
| 7 | RUN; |
| 8 |
| 1 | |
| 2 | PROC CAS; |
| 3 | bioMedImage.buildSurface / images={TABLE={name='corrupted_scan', caslib='casuser'}} outputFaces={name='err_faces', replace=true} outputVertices={name='err_vertices', replace=true} thresholds={{low=2000, high=500}}; |
| 4 | |
| 5 | RUN; |
| 6 |
| 1 | /* Manual verification of the log for specific error codes regarding invalid range or empty image |
| 2 | data */ |
The action should fail gracefully. It should return an error message indicating either that the image data is missing/invalid or that the threshold range is illogical (Low 2000 > High 500), without terminating the server process.