Complex sentence: Those samples are measured for aflatoxin contamination, and if within standards the bag is shipped.
Split into simpler sentences: Those samples are measured for aflatoxin contamination. If within standards the bag is shipped.