Skip to content

Is this supported with a recent version of Miniconda3? #1

Description

@maaren

Using Miniconda3-py37_4.9.2-Linux-x86_64.sh on Linux I get when running the example in README.md:

(base) [maaren mlddec]$ python tessie.py
Loading models...
  0%|                                                    | 0/10 [00:00<?, ?it/s]/home/maaren/miniconda3/lib/python3.7/site-packages/sklearn/utils/deprecation.py:143: FutureWarning: The sklearn.tree.tree module is  deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.tree. Anything that cannot be imported from sklearn.tree is now part of the private API.
  warnings.warn(message, FutureWarning)
/home/maaren/miniconda3/lib/python3.7/site-packages/sklearn/base.py:334: UserWarning: Trying to unpickle estimator DecisionTreeRegressor from version 0.21.1 when using version 0.23.2. This might lead to breaking code or invalid results. Use at your own risk.
  UserWarning)
100%|███████████████████████████████████████████| 10/10 [00:17<00:00,  1.76s/it]
Checking through molecule dataset, stops when discrepencies are observed...
  0%|▏                                    | 164/40019 [01:06<3:59:17,  2.78it/s]No close match for ['O=c1[nH]cnc2c([C@]3(CO)NC[C@H](O)[C@@H]3O)c[nH]c12'
 'COC(=O)c1cc(OC)c2oc(=O)c(=O)[nH]c2c1'
 'COc1cc2c(cc1OC)C(=O)N1C=C(/C=C/C(N)=O)C[C@H]1C=N2' ...
 'O=[S+](O)(c1ccc(Br)cc1F)N1CCC(O)CC1'
 'C=C1C(=O)O[C@H]2C[C@@H](C)[C@@H]3C[C@@H](O)[C@H](O)[C@@]3(C)[C@H](O)[C@H]12'
 'COc1ccc2c(c1)c1c(n2C)C2(O)c3ccccc3C2CC1'], validation terminated.
  0%|▏                                    | 164/40019 [01:06<4:29:00,  2.47it/s]
/home/maaren/git/mlddec/mlddec/utils.py:101: UserWarning: Have you added hydrogens to the molecule?
  warnings.warn("Have you added hydrogens to the molecule?", UserWarning)
/home/maaren/git/mlddec/mlddec/utils.py:101: UserWarning: Have you added hydrogens to the molecule?
  warnings.warn("Have you added hydrogens to the molecule?", UserWarning)
Traceback (most recent call last):
  File "tessie.py", line 17, in <module>
    mlddec.add_charges_to_mol(mol, charges)
  File "/home/maaren/git/mlddec/mlddec/utils.py", line 154, in add_charges_to_mol
    charges = get_charges(mol, model_dict)
  File "/home/maaren/git/mlddec/mlddec/utils.py", line 127, in get_charges
    per_tree_pred = [tree.predict(arr.reshape(1,-1)) for tree in model_dict[element]]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions