Skip to content

Commit 9a87e7c

Browse files
committed
update to latest numpy version (1.26.2)
Closes #37 Fix bug with numpy > 1.21.6
1 parent b475ee8 commit 9a87e7c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CIMtools/datasets/reactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _load(file_name, caller_name, return_X_y=False, as_frame=False):
3030
for r in f:
3131
r.thiele() # aromatizes benzene rings
3232
data.append(r)
33-
data = array(data)
33+
data = array(data, dtype=object)
3434
target = array([float(x.meta['logK']) for x in data])
3535
feature_names = [file_name + ' reactions', ]
3636
target_names = ['logK', ]

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ dependencies:
1414
- nbsphinx
1515
- pip:
1616
- CGRtools
17+
- StructureFingerprint
1718
- .

setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def finalize_options(self):
5454

5555
setup(
5656
name='CIMtools',
57-
version='4.0.13',
57+
version='4.0.14',
5858
packages=find_packages(),
5959
url='https://github.com/cimm-kzn/CIMtools',
6060
license='GPLv3',
@@ -63,7 +63,7 @@ def finalize_options(self):
6363
python_requires='>=3.6.1',
6464
cmdclass=cmd_class,
6565
install_requires=['CGRtools>=4.0,<4.2', 'pandas>=0.22', 'scikit-learn>=0.24',
66-
'pyparsing>=2.2', 'pyjnius>=1.3.0'],
66+
'pyparsing>=2.2', 'pyjnius>=1.3.0', 'StructureFingerprint'],
6767
extras_require={'gnnfp': ['tensorflow>=2.2.0']},
6868
package_data={'CIMtools.preprocessing.graph_encoder': ['weights.h5'],
6969
'CIMtools.datasets': ['data/*.rdf', 'data/tautomer_database_release_3a.xlsx']},
@@ -79,13 +79,17 @@ def finalize_options(self):
7979
'Programming Language :: Python :: 3.6',
8080
'Programming Language :: Python :: 3.7',
8181
'Programming Language :: Python :: 3.8',
82+
'Programming Language :: Python :: 3.9',
83+
'Programming Language :: Python :: 3.10',
84+
'Programming Language :: Python :: 3.11',
85+
'Programming Language :: Python :: 3.12',
8286
'Topic :: Scientific/Engineering',
8387
'Topic :: Scientific/Engineering :: Chemistry',
8488
'Topic :: Scientific/Engineering :: Information Analysis',
8589
'Topic :: Software Development',
8690
'Topic :: Software Development :: Libraries',
8791
'Topic :: Software Development :: Libraries :: Python Modules'],
8892
command_options={'build_sphinx': {'source_dir': ('setup.py', 'doc'),
89-
'build_dir': ('setup.py', 'build/doc'),
93+
'build_dir': ('setup.py', 'build/doc'),
9094
'all_files': ('setup.py', True)}}
9195
)

0 commit comments

Comments
 (0)