File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ def compute_morgan_fingerprints(
2222 sparse : bool = True ,
2323 count : bool = True ,
2424 radius : int = 9 ,
25+ n_bits : int = 4096 ,
2526 progress_bar : bool = True ,
2627 ) -> np .ndarray :
2728 """
@@ -39,10 +40,12 @@ def compute_morgan_fingerprints(
3940 If True, compute count-based fingerprint; else binary fingerprint.
4041 radius : int
4142 Radius for Morgan fingerprint. Default 9.
43+ n_bits : int
44+ Number of bits for the fingerprint. Default 4096.
4245 progress_bar : bool
4346 Whether to show a progress bar during computation. Default True.
4447 """
45- fpgen = rdFingerprintGenerator .GetMorganGenerator (radius = radius , fpSize = 4096 )
48+ fpgen = rdFingerprintGenerator .GetMorganGenerator (radius = radius , fpSize = n_bits )
4649
4750 if inchis and not smiles :
4851 # convert inchis to smiles
You can’t perform that action at this time.
0 commit comments