Opened 17 months ago

Last modified 17 months ago

#42 closed defect

Change is_inorganic() method to default to None if no molecular formula — at Initial Version

Reported by: Mike Dewhirst Owned by:
Priority: medium Version: 1.x
Keywords: pbt inorganic formula Cc:

Description

Until now, the auto-note created when figuring out which studies/test results are needed for asserting a chemical is not PBT relied upon is_inorganic() as the first "gate" to prove the assertion. If is_inorganic() returns True by default it gets used.

When testing a chemical with no molecular formula detected and none entered, returning True is incorrect.

This ticket adjust the return value to None if there is no formula and thereby passes the buck to subsequent tests.

The success test is seeing the following (aqueous solubility) "gate" or subsequent gates being triggered for PBT assertions.

Change History (0)

Note: See TracTickets for help on using tickets.