Right now we are deciding whether a row is empty or contains an input by looking to see if the SMILES property is there. This makes it easy for the transformer to quietly skip rows that are missing the SMILES string.
We need to use other criteria and then signal an exception if the SMILES string is missing.
Approach
Convert - in measured mass or volume to None
The test for an empty row is if not Name and not SMILES and not mass and not volume
If the row is not considered empty then raise an exception if SMILES or name is missing
Right now we are deciding whether a row is empty or contains an input by looking to see if the SMILES property is there. This makes it easy for the transformer to quietly skip rows that are missing the SMILES string.
We need to use other criteria and then signal an exception if the SMILES string is missing.
Approach
-
in measured mass or volume toNone