Skip to content

Commit eedca2b

Browse files
authored
add build for osx py37
1 parent dd2942a commit eedca2b

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ matrix:
44
include:
55
- os: osx
66
env: CONDA=3.6
7-
# - os: osx
8-
# env: CONDA=3.7
7+
- os: osx
8+
env: CONDA=3.7
99
- os: linux
1010
env: CONDA=3.6
1111
- os: linux
@@ -27,8 +27,6 @@ install:
2727
- conda update -q conda
2828
# Useful for debugging any issues with conda
2929
- conda info -a
30-
31-
# Replace dep1 dep2 ... with your dependencies
3230
- conda create -q -n test-environment python=$CONDA cython pytables pytest rdkit sqlalchemy
3331
- source activate test-environment
3432
- python setup.py install

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Use a conda environment to install it. Builds available for:
2424
- Python 3.7
2525
- mac:
2626
- Python 3.6
27-
28-
Python 3.7 for mac build will also be available once [RDKit #2207 issue](https://github.com/rdkit/rdkit/issues/2207) is solved
27+
- Python 3.7
2928

3029
```
3130
conda install fpsim2 -c efelix -c conda-forge
@@ -94,7 +93,7 @@ query = 'CC(=O)Oc1ccccc1C(=O)O'
9493

9594
fpe = FPSim2Engine(fp_filename)
9695

97-
results = fpe.similarity(aspirin, 0.7, n_workers=1)
96+
results = fpe.similarity(query, 0.7, n_workers=1)
9897
```
9998

10099
As GIL is most of the time released, searches can be speeded up using multiple threads. This is specially useful when dealing with huge datasets and demanding real time results. Performance will vary depending on the population count distribution of the dataset, the query molecule, the threshold, the number of results and the number of threads used.
@@ -111,7 +110,7 @@ query = 'CC(=O)Oc1ccccc1C(=O)O'
111110

112111
fpe = FPSim2Engine(fp_filename, in_memory_fps=False)
113112

114-
results = fpe.on_disk_similarity(aspirin, 0.7, chunk_size=250000, n_workers=1)
113+
results = fpe.on_disk_similarity(query, 0.7, chunk_size=250000, n_workers=1)
115114
```
116115

117116
In the on disk search variant, parallelisation is achieved with processes. Performance will vary depending on the population count distribution of the dataset, the query molecule, the threshold, the number of results, the chunk size and the number of processes used.

conda_recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package:
22
name: fpsim2
3-
version: "0.0.2"
3+
version: "0.0.3"
44

55
source:
6-
git_rev: v0.0.2
6+
git_rev: v0.0.3
77
git_url: https://github.com/chembl/FPSim2
88

99
requirements:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='FPSim2',
7-
version='0.0.2',
7+
version='0.0.3',
88
author='Eloy Félix',
99
author_email='eloyfelix@gmail.com',
1010
description='Simple package for fast molecular similarity searching',

0 commit comments

Comments
 (0)