d52ed986c4bd1454c1d1bfabb6e47031c56712b4,deepchem/molnet/load_function/zinc15_datasets.py,,load_zinc15,#,40
Before Change
my_tasks = ["mwt", "logp", "reactive"] // machine learning targets
// Get params specific to ZINC15
dataset_size = zinc15_kwargs.get("dataset_size", "250K")
dataset_dimension = zinc15_kwargs.get("dataset_dimension", "2D")
// Raise warnings and list other available options
if dataset_size not in ["250K", "1M", "10M"]:
After Change
if dataset_size == "270M":
answer = ""
while answer not in ["y", "n"]:
answer = input(You"re about to download 270M SMILES strings.
This dataset is 23GB. Are you sure you want to continue? (Y/N)
).lower()
if answer == "n":
raise ValueError("Choose a smaller dataset_size.")
dataset_filename = "zinc15_" + dataset_size + "_" + dataset_dimension + ".tar.gz"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: deepchem/deepchem
Commit Name: d52ed986c4bd1454c1d1bfabb6e47031c56712b4
Time: 2020-09-18
Author: nfrey213@gmail.com
File Name: deepchem/molnet/load_function/zinc15_datasets.py
Class Name:
Method Name: load_zinc15
Project Name: developmentseed/label-maker
Commit Name: f4d4d575203f952dd003a6b2398cd01e02669fc1
Time: 2018-02-25
Author: drew@developmentseed.org
File Name: label_maker/images.py
Class Name:
Method Name: download_images
Project Name: commonsense/conceptnet5
Commit Name: 9582b206c63f01ca3f6990f50b0cd7754e2fe65b
Time: 2013-05-24
Author: rob@luminoso.com
File Name: conceptnet5/nodes.py
Class Name:
Method Name: make_concept_uri