mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
Refactor FeatFinderCLI and add unittests (#1299)
* 1194: Review assignments of range in Python code Task-Url: https://github.com/rdkit/rdkit/issues/1194 Either wrapped the range expression into a list or made sure that the code is working with a range object. * Refactored FeatFinderCLI script * Add unit test file for CLI apps in rdkit.Chem Add tests for FeatFinderCLI * Renamed the unit test file * Slight improvement to test coverage * Address comments from review * Add script to Scripts folder #1305
This commit is contained in:
9
Scripts/FeatFinderCLI.py
Normal file
9
Scripts/FeatFinderCLI.py
Normal file
@@ -0,0 +1,9 @@
|
||||
#!python
|
||||
'''
|
||||
FeatFinderCLI reads molecules as SMILES from the first column of a tab, comma or space
|
||||
separated file and annotates the atoms of the molecules with their pharmacophore property.
|
||||
|
||||
Use 'FeatFinderCLI.py --help' for further information
|
||||
'''
|
||||
from rdkit.Chem import FeatFinderCLI
|
||||
FeatFinderCLI.main()
|
||||
7
Scripts/README.md
Normal file
7
Scripts/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# RDKit scripts
|
||||
This folder contains a number of scripts that make use of RDKit functionality.
|
||||
|
||||
## Pharmacophores
|
||||
### FeatFinderCLI
|
||||
`FeatFinderCLI` reads molecules as SMILES from the first column of a tab, comma or space
|
||||
separated file and annotates the atoms of the molecules with their pharmacophore property.
|
||||
Reference in New Issue
Block a user