961fae7ae896e820eb8c0cff6d222e7d30812cfb,deepchem/molnet/load_function/material_datasets/load_mp_formation_energy.py,,load_mp_formation_energy,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,41
Before Change
// Load .tar.gz file
if featurizer.__class__.__name__ in supported_featurizers:
dataset_file = os.path.join(data_dir, "mp_formation_energy.tar.gz")
deepchem.utils.untargz_file(dataset_file, dest_dir=data_dir)
dataset_file = os.path.join(data_dir, "mp_formation_energy.json")
if not os.path.exists(dataset_file):
deepchem.utils.download_url(url=MPFORME_URL, dest_dir=data_dir)
deepchem.utils.untargz_file(
os.path.join(data_dir, "mp_formation_energy.tar.gz"), data_dir)
// Changer loader to match featurizer and data file type
After Change
dataset_file = os.path.join(data_dir, "mp_formation_energy.json")
if not os.path.exists(dataset_file):
targz_file = os.path.join(data_dir, "mp_formation_energy.tar.gz")
if not os.path.exists(targz_file):
deepchem.utils.download_url(url=MPFORME_URL, dest_dir=data_dir)
deepchem.utils.untargz_file(
os.path.join(data_dir, "mp_formation_energy.tar.gz"), data_dir)
// Changer loader to match featurizer and data file type
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances
Project Name: deepchem/deepchem
Commit Name: 961fae7ae896e820eb8c0cff6d222e7d30812cfb
Time: 2020-08-17
Author: nfrey213@gmail.com
File Name: deepchem/molnet/load_function/material_datasets/load_mp_formation_energy.py
Class Name:
Method Name: load_mp_formation_energy
Project Name: deepchem/deepchem
Commit Name: 961fae7ae896e820eb8c0cff6d222e7d30812cfb
Time: 2020-08-17
Author: nfrey213@gmail.com
File Name: deepchem/molnet/load_function/material_datasets/load_mp_metallicity.py
Class Name:
Method Name: load_mp_metallicity
Project Name: deepchem/deepchem
Commit Name: 796c846c1cbb8b373a8e93086f53387ba24cdd21
Time: 2020-08-11
Author: nd.12021218@gmail.com
File Name: deepchem/molnet/load_function/material_datasets/load_bandgap.py
Class Name:
Method Name: load_bandgap
Project Name: deepchem/deepchem
Commit Name: 796c846c1cbb8b373a8e93086f53387ba24cdd21
Time: 2020-08-11
Author: nd.12021218@gmail.com
File Name: deepchem/molnet/load_function/material_datasets/load_perovskite.py
Class Name:
Method Name: load_perovskite