Manufacturing pharmaceuticals is essentially a series of chemical reactions. Take a typical antibiotic synthesis as an example: two raw materials react in a solvent to form the target molecule. However, when the reaction is complete, the vessel contains not only the target product but also a large a...