d1dc4e10fb6edeafe36429b672448b87bb8a795a,deepchem/models/autoencoder_models/autoencoder.py,TensorflowMoleculeEncoder,zinc_encoder,#,55
Before Change
if not os.path.exists(weights_file):
wget_command = "wget -nv -c http://karlleswing.com/misc/keras-molecule/model.h5"
call(wget_command.split())
mv_cmd = "mv model.h5 %s" % weights_file
call(mv_cmd.split())
return TensorflowMoleculeEncoder(
model_dir=current_dir, weights_file=weights_filename)
After Change
weights_file = os.path.join(current_dir, weights_filename)
if not os.path.exists(weights_file):
download_url("http://karlleswing.com/misc/keras-molecule/model.h5",
current_dir)
mv_cmd = "mv model.h5 %s" % weights_file
call(mv_cmd.split())
return TensorflowMoleculeEncoder(
model_dir=current_dir, weights_file=weights_filename)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: deepchem/deepchem
Commit Name: d1dc4e10fb6edeafe36429b672448b87bb8a795a
Time: 2017-08-28
Author: peastman@stanford.edu
File Name: deepchem/models/autoencoder_models/autoencoder.py
Class Name: TensorflowMoleculeEncoder
Method Name: zinc_encoder
Project Name: deepchem/deepchem
Commit Name: f0c50a26e3fb0d5f2acd54245e0476dae6c411c4
Time: 2017-10-25
Author: lilleswing@gmail.com
File Name: deepchem/dock/tests/test_pose_scoring.py
Class Name: TestPoseScoring
Method Name: setUp
Project Name: deepchem/deepchem
Commit Name: d1dc4e10fb6edeafe36429b672448b87bb8a795a
Time: 2017-08-28
Author: peastman@stanford.edu
File Name: deepchem/models/autoencoder_models/autoencoder.py
Class Name: TensorflowMoleculeDecoder
Method Name: zinc_decoder