Skip to content

Commit

Permalink
Merge branch 'main' into 100-extend-to-chemprop-205
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w-feldmann authored Jan 7, 2025
2 parents 285db5d + 0092718 commit 9075b41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_elements/test_error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_dummy_fill_physchem_record_molpipeline(self) -> None:
out = pipeline.transform(TEST_SMILES)
out2 = pipeline2.fit_transform(TEST_SMILES)
self.assertEqual(out.shape, out2.shape)
self.assertEqual(out.shape, (3, 208))
self.assertEqual(out.shape, (3, 215))
self.assertTrue(np.nanmax(np.abs(out - out2)) < 0.000001)

def test_replace_mixed_datatypes(self) -> None:
Expand Down
7 changes: 7 additions & 0 deletions tests/test_elements/test_mol2any/test_mol2rdkit_phys_chem.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ def test_descriptor_list(self) -> None:
"fr_thiophene",
"fr_unbrch_alkane",
"fr_urea",
"NumUnspecifiedAtomStereoCenters",
"NumBridgeheadAtoms",
"NumAmideBonds",
"NumHeterocycles",
"NumAtomStereoCenters",
"Phi",
"NumSpiroAtoms",
}
self.assertSetEqual(expected_descriptors, set(DEFAULT_DESCRIPTORS))

Expand Down

0 comments on commit 9075b41

Please sign in to comment.