diff --git a/deepchem/__init__.py b/deepchem/__init__.py index 96186b21a2..04402ba3b1 100644 --- a/deepchem/__init__.py +++ b/deepchem/__init__.py @@ -1,9 +1,6 @@ """ Imports all submodules """ -from __future__ import division -from __future__ import unicode_literals - __version__ = '2.3.0' import deepchem.data diff --git a/deepchem/data/__init__.py b/deepchem/data/__init__.py index 0e1f885b37..d5213ac559 100644 --- a/deepchem/data/__init__.py +++ b/deepchem/data/__init__.py @@ -1,10 +1,6 @@ """ Gathers all datasets in one place for convenient imports """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - # TODO(rbharath): Get rid of * import from deepchem.data.datasets import pad_features from deepchem.data.datasets import pad_batch diff --git a/deepchem/data/data_loader.py b/deepchem/data/data_loader.py index 65f67f367d..336b20751b 100644 --- a/deepchem/data/data_loader.py +++ b/deepchem/data/data_loader.py @@ -1,8 +1,6 @@ """ Process an input dataset into a format suitable for machine learning. """ -from __future__ import division -from __future__ import unicode_literals import os import gzip import pandas as pd diff --git a/deepchem/data/datasets.py b/deepchem/data/datasets.py index 57b39476b0..0cc84023f0 100644 --- a/deepchem/data/datasets.py +++ b/deepchem/data/datasets.py @@ -1,8 +1,6 @@ """ Contains wrapper class for datasets. """ -from __future__ import division -from __future__ import unicode_literals import json import os import math diff --git a/deepchem/data/supports.py b/deepchem/data/supports.py index a274857c2a..74a696cec9 100644 --- a/deepchem/data/supports.py +++ b/deepchem/data/supports.py @@ -1,9 +1,6 @@ """ Sample supports from datasets. """ -from __future__ import division -from __future__ import unicode_literals - import logging import time import numpy as np diff --git a/deepchem/data/tests/__init__.py b/deepchem/data/tests/__init__.py index 4d7c92cf1f..dbc2309d6d 100644 --- a/deepchem/data/tests/__init__.py +++ b/deepchem/data/tests/__init__.py @@ -1,10 +1,6 @@ """ General API for testing dataset objects """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_data_loader.py b/deepchem/data/tests/test_data_loader.py index 47eb63a7f5..3fd7ac7fdb 100644 --- a/deepchem/data/tests/test_data_loader.py +++ b/deepchem/data/tests/test_data_loader.py @@ -1,9 +1,6 @@ """ Tests for FeaturizedSamples class """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_datasets.py b/deepchem/data/tests/test_datasets.py index a0d6b35871..ca052465c5 100644 --- a/deepchem/data/tests/test_datasets.py +++ b/deepchem/data/tests/test_datasets.py @@ -1,9 +1,6 @@ """ Tests for dataset creation """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_fasta_loader.py b/deepchem/data/tests/test_fasta_loader.py index b44a7183d1..6e4225dbe9 100644 --- a/deepchem/data/tests/test_fasta_loader.py +++ b/deepchem/data/tests/test_fasta_loader.py @@ -1,9 +1,6 @@ """ Tests that FASTA files can be loaded. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __license__ = "MIT" diff --git a/deepchem/data/tests/test_image_dataset.py b/deepchem/data/tests/test_image_dataset.py index 63f3ef2091..76d09cf8a8 100644 --- a/deepchem/data/tests/test_image_dataset.py +++ b/deepchem/data/tests/test_image_dataset.py @@ -1,9 +1,6 @@ """ Tests for ImageDataset class """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_image_loader.py b/deepchem/data/tests/test_image_loader.py index 24719eea21..1629e50703 100644 --- a/deepchem/data/tests/test_image_loader.py +++ b/deepchem/data/tests/test_image_loader.py @@ -1,9 +1,6 @@ """ Tests for ImageLoader. """ -from __future__ import division -from __future__ import unicode_literals - import os import unittest import tempfile diff --git a/deepchem/data/tests/test_load.py b/deepchem/data/tests/test_load.py index 0b0d8c366e..0e0d1546d7 100644 --- a/deepchem/data/tests/test_load.py +++ b/deepchem/data/tests/test_load.py @@ -1,9 +1,6 @@ """ Testing singletask/multitask data loading capabilities. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_merge.py b/deepchem/data/tests/test_merge.py index cdbb3d2184..7bc85a7fd8 100644 --- a/deepchem/data/tests/test_merge.py +++ b/deepchem/data/tests/test_merge.py @@ -1,9 +1,6 @@ """ Testing singletask/multitask dataset merging """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_reload.py b/deepchem/data/tests/test_reload.py index 447a9371d3..28f6236c0e 100644 --- a/deepchem/data/tests/test_reload.py +++ b/deepchem/data/tests/test_reload.py @@ -1,9 +1,6 @@ """ Testing reload. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_shuffle.py b/deepchem/data/tests/test_shuffle.py index dc40b80dcf..2e22e09e63 100644 --- a/deepchem/data/tests/test_shuffle.py +++ b/deepchem/data/tests/test_shuffle.py @@ -1,9 +1,6 @@ """ Testing singletask/multitask dataset shuffling """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/data/tests/test_support_generator.py b/deepchem/data/tests/test_support_generator.py index 9f2973df25..d510e12a78 100644 --- a/deepchem/data/tests/test_support_generator.py +++ b/deepchem/data/tests/test_support_generator.py @@ -1,9 +1,6 @@ """ Simple Tests for Support Generation """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Han Altae-Tran and Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/dock/__init__.py b/deepchem/dock/__init__.py index dff08f33b6..d08d58fac7 100644 --- a/deepchem/dock/__init__.py +++ b/deepchem/dock/__init__.py @@ -1,10 +1,6 @@ """ Imports all submodules """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - from deepchem.dock.pose_generation import PoseGenerator from deepchem.dock.pose_generation import VinaPoseGenerator from deepchem.dock.pose_scoring import PoseScorer diff --git a/deepchem/dock/binding_pocket.py b/deepchem/dock/binding_pocket.py index 480d03dd34..9000cc6c8d 100644 --- a/deepchem/dock/binding_pocket.py +++ b/deepchem/dock/binding_pocket.py @@ -1,9 +1,6 @@ """ Computes putative binding pockets on protein. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2017, Stanford University" __license__ = "MIT" diff --git a/deepchem/dock/docking.py b/deepchem/dock/docking.py index f91d0a3ba8..c34bd7f6e6 100644 --- a/deepchem/dock/docking.py +++ b/deepchem/dock/docking.py @@ -1,9 +1,6 @@ """ Docks protein-ligand pairs """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/dock/pose_generation.py b/deepchem/dock/pose_generation.py index 8b80f36b14..35c3ebf809 100644 --- a/deepchem/dock/pose_generation.py +++ b/deepchem/dock/pose_generation.py @@ -1,9 +1,6 @@ """ Generates protein-ligand docked poses using Autodock Vina. """ -from __future__ import division -from __future__ import unicode_literals - from deepchem.utils import mol_xyz_util __author__ = "Bharath Ramsundar" diff --git a/deepchem/dock/pose_scoring.py b/deepchem/dock/pose_scoring.py index 2fb23cbc49..5f92caefae 100644 --- a/deepchem/dock/pose_scoring.py +++ b/deepchem/dock/pose_scoring.py @@ -1,9 +1,6 @@ """ Scores protein-ligand poses using DeepChem. """ -from __future__ import division -from __future__ import unicode_literals - from deepchem.feat import RdkitGridFeaturizer __author__ = "Bharath Ramsundar" diff --git a/deepchem/dock/tests/test_binding_pocket.py b/deepchem/dock/tests/test_binding_pocket.py index 62ebd940c1..0672bfd247 100644 --- a/deepchem/dock/tests/test_binding_pocket.py +++ b/deepchem/dock/tests/test_binding_pocket.py @@ -1,9 +1,6 @@ """ Tests for binding pocket detection. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/dock/tests/test_docking.py b/deepchem/dock/tests/test_docking.py index 67da44389e..853b646e26 100644 --- a/deepchem/dock/tests/test_docking.py +++ b/deepchem/dock/tests/test_docking.py @@ -1,9 +1,6 @@ """ Tests for Docking """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/dock/tests/test_pose_generation.py b/deepchem/dock/tests/test_pose_generation.py index c40cc42af3..1f10d9576e 100644 --- a/deepchem/dock/tests/test_pose_generation.py +++ b/deepchem/dock/tests/test_pose_generation.py @@ -1,9 +1,6 @@ """ Tests for Pose Generation """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/dock/tests/test_pose_scoring.py b/deepchem/dock/tests/test_pose_scoring.py index 8cdca220d6..1ae39eca55 100644 --- a/deepchem/dock/tests/test_pose_scoring.py +++ b/deepchem/dock/tests/test_pose_scoring.py @@ -1,9 +1,6 @@ """ Tests for Pose Scoring """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/__init__.py b/deepchem/feat/__init__.py index 58823fb7bf..78ed0b6a8d 100644 --- a/deepchem/feat/__init__.py +++ b/deepchem/feat/__init__.py @@ -1,10 +1,6 @@ """ Making it easy to import in classes. """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/atomic_coordinates.py b/deepchem/feat/atomic_coordinates.py index 6b2a11807f..e2372bef47 100644 --- a/deepchem/feat/atomic_coordinates.py +++ b/deepchem/feat/atomic_coordinates.py @@ -1,9 +1,6 @@ """ Atomic coordinate featurizer. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Joseph Gomes and Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/basic.py b/deepchem/feat/basic.py index fb29ba0d20..7afea234da 100644 --- a/deepchem/feat/basic.py +++ b/deepchem/feat/basic.py @@ -1,9 +1,6 @@ """ Basic molecular features. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Steven Kearnes" __copyright__ = "Copyright 2014, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/binding_pocket_features.py b/deepchem/feat/binding_pocket_features.py index bf26d0e76a..2f98fbc61d 100644 --- a/deepchem/feat/binding_pocket_features.py +++ b/deepchem/feat/binding_pocket_features.py @@ -1,9 +1,6 @@ """ Featurizes proposed binding pockets. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2017, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/coulomb_matrices.py b/deepchem/feat/coulomb_matrices.py index 2a550a44fe..c913fc2150 100644 --- a/deepchem/feat/coulomb_matrices.py +++ b/deepchem/feat/coulomb_matrices.py @@ -3,9 +3,6 @@ See Montavon et al., _New Journal of Physics_ __15__ (2013) 095003. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Steven Kearnes" __copyright__ = "Copyright 2014, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/fingerprints.py b/deepchem/feat/fingerprints.py index e82a2f94f4..75b62c4ac5 100644 --- a/deepchem/feat/fingerprints.py +++ b/deepchem/feat/fingerprints.py @@ -1,9 +1,6 @@ """ Topological fingerprints. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Steven Kearnes" __copyright__ = "Copyright 2014, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/graph_features.py b/deepchem/feat/graph_features.py index 89d9ba91b9..1c06e7c2aa 100644 --- a/deepchem/feat/graph_features.py +++ b/deepchem/feat/graph_features.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - import numpy as np from rdkit import Chem diff --git a/deepchem/feat/mol_graphs.py b/deepchem/feat/mol_graphs.py index 12ac1801a1..12974c9c8c 100644 --- a/deepchem/feat/mol_graphs.py +++ b/deepchem/feat/mol_graphs.py @@ -1,9 +1,6 @@ """ Data Structures used to represented molecules for convolutions. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Han Altae-Tran and Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/nnscore_utils.py b/deepchem/feat/nnscore_utils.py index 656aeae025..6b58c04b71 100644 --- a/deepchem/feat/nnscore_utils.py +++ b/deepchem/feat/nnscore_utils.py @@ -1,9 +1,6 @@ """ Helper Classes and Functions for docking fingerprint computation. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar and Jacob Durrant" __license__ = "GNU General Public License" diff --git a/deepchem/feat/raw_featurizer.py b/deepchem/feat/raw_featurizer.py index ef1f053c7c..e0980e7113 100644 --- a/deepchem/feat/raw_featurizer.py +++ b/deepchem/feat/raw_featurizer.py @@ -1,8 +1,5 @@ #!/usr/bin/env python2 # -*- coding: utf-8 -*- -from __future__ import division -from __future__ import unicode_literals - from deepchem.feat import Featurizer diff --git a/deepchem/feat/rdkit_grid_featurizer.py b/deepchem/feat/rdkit_grid_featurizer.py index 707d7cac1c..4bd7faa6b6 100644 --- a/deepchem/feat/rdkit_grid_featurizer.py +++ b/deepchem/feat/rdkit_grid_featurizer.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar, Evan Feinberg, and Karl Leswing" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/smiles_featurizers.py b/deepchem/feat/smiles_featurizers.py index 40b5fd8b5d..86451ec8b9 100644 --- a/deepchem/feat/smiles_featurizers.py +++ b/deepchem/feat/smiles_featurizers.py @@ -4,9 +4,6 @@ SmilesToImage featurizer for ChemCeption models taken from https://arxiv.org/abs/1710.02238 """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Vignesh Ram Somnath" __license__ = "MIT" diff --git a/deepchem/feat/tests/test_graph_features.py b/deepchem/feat/tests/test_graph_features.py index 9d3b3d1753..7236aa7060 100644 --- a/deepchem/feat/tests/test_graph_features.py +++ b/deepchem/feat/tests/test_graph_features.py @@ -1,9 +1,6 @@ """ Tests for ConvMolFeaturizer. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Han Altae-Tran and Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/tests/test_mol_graphs.py b/deepchem/feat/tests/test_mol_graphs.py index 6bd66c3396..e8c96806b8 100644 --- a/deepchem/feat/tests/test_mol_graphs.py +++ b/deepchem/feat/tests/test_mol_graphs.py @@ -1,9 +1,6 @@ """ Tests for Molecular Graph data structures. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Han Altae-Tran and Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/feat/tests/test_sdf_reader.py b/deepchem/feat/tests/test_sdf_reader.py index 337d8d790f..cef516de90 100644 --- a/deepchem/feat/tests/test_sdf_reader.py +++ b/deepchem/feat/tests/test_sdf_reader.py @@ -1,9 +1,6 @@ """ Tests for importing .sdf files """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Joseph Gomes" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/hyper/gaussian_process.py b/deepchem/hyper/gaussian_process.py index a01b8a16c5..251869fb37 100644 --- a/deepchem/hyper/gaussian_process.py +++ b/deepchem/hyper/gaussian_process.py @@ -1,9 +1,6 @@ """ Contains class for gaussian process hyperparameter optimizations. """ -from __future__ import division -from __future__ import unicode_literals - import logging import numpy as np import tempfile diff --git a/deepchem/hyper/tests/test_hyperparam_opt.py b/deepchem/hyper/tests/test_hyperparam_opt.py index 56dba86c8b..41b4e2ac76 100644 --- a/deepchem/hyper/tests/test_hyperparam_opt.py +++ b/deepchem/hyper/tests/test_hyperparam_opt.py @@ -1,9 +1,6 @@ """ Integration tests for hyperparam optimization. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/metrics/tests/metrics_test.py b/deepchem/metrics/tests/metrics_test.py index 0d355fd8e4..e9587c2f65 100644 --- a/deepchem/metrics/tests/metrics_test.py +++ b/deepchem/metrics/tests/metrics_test.py @@ -1,9 +1,6 @@ """ Tests for metricsT. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/metrics/tests/test_genomics.py b/deepchem/metrics/tests/test_genomics.py index f00a0d1b5b..d5abf314c3 100644 --- a/deepchem/metrics/tests/test_genomics.py +++ b/deepchem/metrics/tests/test_genomics.py @@ -1,9 +1,6 @@ """ Test that genomic metrics work. """ -from __future__ import division -from __future__ import unicode_literals - import unittest import os diff --git a/deepchem/models/IRV.py b/deepchem/models/IRV.py index 6dc03129c1..efb40e9d71 100644 --- a/deepchem/models/IRV.py +++ b/deepchem/models/IRV.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - import logging import numpy as np import tensorflow as tf diff --git a/deepchem/models/__init__.py b/deepchem/models/__init__.py index 657e5d1c61..4d8f22c57e 100644 --- a/deepchem/models/__init__.py +++ b/deepchem/models/__init__.py @@ -1,9 +1,6 @@ """ Gathers all models in one place for convenient imports """ -from __future__ import division -from __future__ import unicode_literals - from deepchem.models.models import Model from deepchem.models.keras_model import KerasModel from deepchem.models.sklearn_models import SklearnModel diff --git a/deepchem/models/atomic_conv.py b/deepchem/models/atomic_conv.py index 342a7b75b3..31333e6c70 100644 --- a/deepchem/models/atomic_conv.py +++ b/deepchem/models/atomic_conv.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Joseph Gomes" __copyright__ = "Copyright 2017, Stanford University" __license__ = "MIT" diff --git a/deepchem/models/callbacks.py b/deepchem/models/callbacks.py index 0e026deecc..0ea0759dba 100644 --- a/deepchem/models/callbacks.py +++ b/deepchem/models/callbacks.py @@ -2,8 +2,6 @@ Callback functions that can be invoked while fitting a KerasModel. """ -from __future__ import print_function - import tensorflow as tf import sys diff --git a/deepchem/models/chemnet_layers.py b/deepchem/models/chemnet_layers.py index 0b2803309d..9439ea883c 100644 --- a/deepchem/models/chemnet_layers.py +++ b/deepchem/models/chemnet_layers.py @@ -2,9 +2,6 @@ Contains implementations of layers used in ChemCeption and Smiles2Vec models. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Vignesh Ram Somnath" __license__ = "MIT" diff --git a/deepchem/models/chemnet_models.py b/deepchem/models/chemnet_models.py index 3be88c9d13..c2a6019974 100644 --- a/deepchem/models/chemnet_models.py +++ b/deepchem/models/chemnet_models.py @@ -3,9 +3,6 @@ transfer learning protocol. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Vignesh Ram Somnath" __license__ = "MIT" diff --git a/deepchem/models/fcnet.py b/deepchem/models/fcnet.py index 4f7db9472a..640e426c28 100644 --- a/deepchem/models/fcnet.py +++ b/deepchem/models/fcnet.py @@ -1,8 +1,5 @@ """TensorFlow implementation of fully connected networks. """ -from __future__ import division -from __future__ import unicode_literals - import logging import warnings import time diff --git a/deepchem/models/models.py b/deepchem/models/models.py index a63e77c01c..993d915054 100644 --- a/deepchem/models/models.py +++ b/deepchem/models/models.py @@ -1,9 +1,6 @@ """ Contains an abstract base class that supports different ML models. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar and Joseph Gomes" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/models/multitask.py b/deepchem/models/multitask.py index d16c706859..c6f7438647 100644 --- a/deepchem/models/multitask.py +++ b/deepchem/models/multitask.py @@ -1,9 +1,6 @@ """ Convenience class that lets singletask models fit on multitask data. """ -from __future__ import division -from __future__ import unicode_literals - import os import sklearn import tempfile diff --git a/deepchem/models/progressive_multitask.py b/deepchem/models/progressive_multitask.py index 019d7e8829..b8c751ee8c 100644 --- a/deepchem/models/progressive_multitask.py +++ b/deepchem/models/progressive_multitask.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - import time import numpy as np import tensorflow as tf diff --git a/deepchem/models/robust_multitask.py b/deepchem/models/robust_multitask.py index 988f0006b3..f7bf16f5d2 100644 --- a/deepchem/models/robust_multitask.py +++ b/deepchem/models/robust_multitask.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - import numpy as np import tensorflow as tf import collections diff --git a/deepchem/models/tests/test_api.py b/deepchem/models/tests/test_api.py index 0d205aec50..1b090cbeca 100644 --- a/deepchem/models/tests/test_api.py +++ b/deepchem/models/tests/test_api.py @@ -1,9 +1,6 @@ """ Integration tests for singletask vector feature models. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/models/tests/test_atomic_conv.py b/deepchem/models/tests/test_atomic_conv.py index a5032bc359..14543550d7 100644 --- a/deepchem/models/tests/test_atomic_conv.py +++ b/deepchem/models/tests/test_atomic_conv.py @@ -1,9 +1,6 @@ """ Tests for Atomic Convolutions. """ -from __future__ import division -from __future__ import unicode_literals - from nose.plugins.attrib import attr import os diff --git a/deepchem/models/tests/test_generalize.py b/deepchem/models/tests/test_generalize.py index ead2fe41d5..85d7ac60f6 100644 --- a/deepchem/models/tests/test_generalize.py +++ b/deepchem/models/tests/test_generalize.py @@ -2,9 +2,6 @@ Tests to make sure deepchem models can fit models on easy datasets. """ -from __future__ import division -from __future__ import unicode_literals - from nose.plugins.attrib import attr __author__ = "Bharath Ramsundar" diff --git a/deepchem/models/tests/test_multitask.py b/deepchem/models/tests/test_multitask.py index 9cafba38f3..c1e51d6976 100644 --- a/deepchem/models/tests/test_multitask.py +++ b/deepchem/models/tests/test_multitask.py @@ -1,9 +1,6 @@ """ Integration tests for multitask datasets. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/models/tests/test_overfit.py b/deepchem/models/tests/test_overfit.py index ad5c60a43a..50ac82e227 100644 --- a/deepchem/models/tests/test_overfit.py +++ b/deepchem/models/tests/test_overfit.py @@ -1,9 +1,6 @@ """ Tests to make sure deepchem models can overfit on tiny datasets. """ -from __future__ import division -from __future__ import unicode_literals - from nose.plugins.attrib import attr __author__ = "Bharath Ramsundar" diff --git a/deepchem/models/tests/test_predict.py b/deepchem/models/tests/test_predict.py index 0993d20a77..f8d959720b 100644 --- a/deepchem/models/tests/test_predict.py +++ b/deepchem/models/tests/test_predict.py @@ -1,9 +1,6 @@ """ Tests that deepchem models make deterministic predictions. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/models/tests/test_reload.py b/deepchem/models/tests/test_reload.py index 165bfcc257..01a8fde382 100644 --- a/deepchem/models/tests/test_reload.py +++ b/deepchem/models/tests/test_reload.py @@ -1,9 +1,6 @@ """ Test reload for trained models. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/models/tests/test_singletask_to_multitask.py b/deepchem/models/tests/test_singletask_to_multitask.py index f127d8a3e2..14ff960bdb 100644 --- a/deepchem/models/tests/test_singletask_to_multitask.py +++ b/deepchem/models/tests/test_singletask_to_multitask.py @@ -1,9 +1,6 @@ """ Testing singletask-to-multitask. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/molnet/__init__.py b/deepchem/molnet/__init__.py index 7d896bc1af..6b83f8046b 100644 --- a/deepchem/molnet/__init__.py +++ b/deepchem/molnet/__init__.py @@ -1,6 +1,3 @@ -from __future__ import division -from __future__ import unicode_literals - from deepchem.molnet.load_function.bace_datasets import load_bace_classification, load_bace_regression from deepchem.molnet.load_function.bbbc_datasets import load_bbbc001, load_bbbc002 from deepchem.molnet.load_function.bbbp_datasets import load_bbbp diff --git a/deepchem/molnet/dnasim.py b/deepchem/molnet/dnasim.py index 8020e51f20..b1729133db 100644 --- a/deepchem/molnet/dnasim.py +++ b/deepchem/molnet/dnasim.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import, division, print_function from collections import OrderedDict import numpy as np diff --git a/deepchem/molnet/load_function/bace_datasets.py b/deepchem/molnet/load_function/bace_datasets.py index 44a57da586..e9700d397d 100644 --- a/deepchem/molnet/load_function/bace_datasets.py +++ b/deepchem/molnet/load_function/bace_datasets.py @@ -1,9 +1,6 @@ """ bace dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/bbbc_datasets.py b/deepchem/molnet/load_function/bbbc_datasets.py index 766cd769e6..a500d58223 100644 --- a/deepchem/molnet/load_function/bbbc_datasets.py +++ b/deepchem/molnet/load_function/bbbc_datasets.py @@ -3,10 +3,6 @@ This file contains image loaders for the BBBC dataset collection (https://data.broadinstitute.org/bbbc/image_sets.html). """ - -from __future__ import division -from __future__ import unicode_literals - import os import numpy as np import logging diff --git a/deepchem/molnet/load_function/bbbp_datasets.py b/deepchem/molnet/load_function/bbbp_datasets.py index 9ff25102f3..97241e803a 100644 --- a/deepchem/molnet/load_function/bbbp_datasets.py +++ b/deepchem/molnet/load_function/bbbp_datasets.py @@ -1,9 +1,6 @@ """ Blood-Brain Barrier Penetration dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/cell_counting_datasets.py b/deepchem/molnet/load_function/cell_counting_datasets.py index 718e2f2104..a92d70968b 100644 --- a/deepchem/molnet/load_function/cell_counting_datasets.py +++ b/deepchem/molnet/load_function/cell_counting_datasets.py @@ -5,9 +5,6 @@ http://www.robots.ox.ac.uk/~vgg/research/counting/index_org.html. Labels aren't available for this dataset, so only raw images are provided. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/chembl25_datasets.py b/deepchem/molnet/load_function/chembl25_datasets.py index 40eabac5c6..f908c83ded 100644 --- a/deepchem/molnet/load_function/chembl25_datasets.py +++ b/deepchem/molnet/load_function/chembl25_datasets.py @@ -1,10 +1,6 @@ """ ChEMBL dataset loader, for training ChemNet """ - -from __future__ import print_function -from __future__ import unicode_literals - import os import numpy as np import logging diff --git a/deepchem/molnet/load_function/chembl_datasets.py b/deepchem/molnet/load_function/chembl_datasets.py index 0e4a24eb4b..6fea5de6e1 100644 --- a/deepchem/molnet/load_function/chembl_datasets.py +++ b/deepchem/molnet/load_function/chembl_datasets.py @@ -1,9 +1,6 @@ """ ChEMBL dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/clearance_datasets.py b/deepchem/molnet/load_function/clearance_datasets.py index f4e8217474..b7c34d10eb 100644 --- a/deepchem/molnet/load_function/clearance_datasets.py +++ b/deepchem/molnet/load_function/clearance_datasets.py @@ -1,9 +1,6 @@ """ clearance dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/clintox_datasets.py b/deepchem/molnet/load_function/clintox_datasets.py index 342b0d362e..55a007a7fe 100644 --- a/deepchem/molnet/load_function/clintox_datasets.py +++ b/deepchem/molnet/load_function/clintox_datasets.py @@ -2,10 +2,6 @@ Clinical Toxicity (clintox) dataset loader. @author Caleb Geniesse """ - -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/delaney_datasets.py b/deepchem/molnet/load_function/delaney_datasets.py index babecd5a02..0ea6ff65c6 100644 --- a/deepchem/molnet/load_function/delaney_datasets.py +++ b/deepchem/molnet/load_function/delaney_datasets.py @@ -1,9 +1,6 @@ """ Delaney dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/factors_datasets.py b/deepchem/molnet/load_function/factors_datasets.py index 1b6259064c..9fd216b409 100644 --- a/deepchem/molnet/load_function/factors_datasets.py +++ b/deepchem/molnet/load_function/factors_datasets.py @@ -1,10 +1,6 @@ """ FACTOR dataset loader """ - -from __future__ import division -from __future__ import unicode_literals - import os import logging import time diff --git a/deepchem/molnet/load_function/hiv_datasets.py b/deepchem/molnet/load_function/hiv_datasets.py index 9313a5afc2..91716be168 100644 --- a/deepchem/molnet/load_function/hiv_datasets.py +++ b/deepchem/molnet/load_function/hiv_datasets.py @@ -1,9 +1,6 @@ """ hiv dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/hopv_datasets.py b/deepchem/molnet/load_function/hopv_datasets.py index 96b5b927cb..a13f16aa55 100644 --- a/deepchem/molnet/load_function/hopv_datasets.py +++ b/deepchem/molnet/load_function/hopv_datasets.py @@ -1,9 +1,6 @@ """ HOPV dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/hppb_datasets.py b/deepchem/molnet/load_function/hppb_datasets.py index 94868cd8ae..e886621982 100644 --- a/deepchem/molnet/load_function/hppb_datasets.py +++ b/deepchem/molnet/load_function/hppb_datasets.py @@ -1,10 +1,6 @@ """ HPPB Dataset Loader. """ - -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/kaggle_datasets.py b/deepchem/molnet/load_function/kaggle_datasets.py index 0d7fe3b2c6..6fc7baf042 100644 --- a/deepchem/molnet/load_function/kaggle_datasets.py +++ b/deepchem/molnet/load_function/kaggle_datasets.py @@ -1,9 +1,6 @@ """ KAGGLE dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import time diff --git a/deepchem/molnet/load_function/kinase_datasets.py b/deepchem/molnet/load_function/kinase_datasets.py index 6b8571b1f5..53055b55f0 100644 --- a/deepchem/molnet/load_function/kinase_datasets.py +++ b/deepchem/molnet/load_function/kinase_datasets.py @@ -1,10 +1,6 @@ """ KINASE dataset loader """ - -from __future__ import division -from __future__ import unicode_literals - import os import logging import time diff --git a/deepchem/molnet/load_function/lipo_datasets.py b/deepchem/molnet/load_function/lipo_datasets.py index 9446b311c2..d0f01b08a1 100644 --- a/deepchem/molnet/load_function/lipo_datasets.py +++ b/deepchem/molnet/load_function/lipo_datasets.py @@ -1,9 +1,6 @@ """ Lipophilicity dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/muv_datasets.py b/deepchem/molnet/load_function/muv_datasets.py index ded4811d1e..a79071ec53 100644 --- a/deepchem/molnet/load_function/muv_datasets.py +++ b/deepchem/molnet/load_function/muv_datasets.py @@ -1,9 +1,6 @@ """ MUV dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/nci_datasets.py b/deepchem/molnet/load_function/nci_datasets.py index 102f579be1..ee4110b142 100644 --- a/deepchem/molnet/load_function/nci_datasets.py +++ b/deepchem/molnet/load_function/nci_datasets.py @@ -3,9 +3,6 @@ Original Author - Bharath Ramsundar Author - Aneesh Pappu """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/pcba_datasets.py b/deepchem/molnet/load_function/pcba_datasets.py index 4ce600133f..428e6064c1 100644 --- a/deepchem/molnet/load_function/pcba_datasets.py +++ b/deepchem/molnet/load_function/pcba_datasets.py @@ -1,9 +1,6 @@ """ PCBA dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/pdbbind_datasets.py b/deepchem/molnet/load_function/pdbbind_datasets.py index 389bd4ae89..01a4007f81 100644 --- a/deepchem/molnet/load_function/pdbbind_datasets.py +++ b/deepchem/molnet/load_function/pdbbind_datasets.py @@ -1,10 +1,6 @@ """ PDBBind dataset loader. """ - -from __future__ import division -from __future__ import unicode_literals - import logging import multiprocessing import os diff --git a/deepchem/molnet/load_function/ppb_datasets.py b/deepchem/molnet/load_function/ppb_datasets.py index f4c26dd64f..38ae43a137 100644 --- a/deepchem/molnet/load_function/ppb_datasets.py +++ b/deepchem/molnet/load_function/ppb_datasets.py @@ -1,9 +1,6 @@ """ PPB dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/qm7_datasets.py b/deepchem/molnet/load_function/qm7_datasets.py index adb3151112..51951bd80e 100644 --- a/deepchem/molnet/load_function/qm7_datasets.py +++ b/deepchem/molnet/load_function/qm7_datasets.py @@ -1,9 +1,6 @@ """ qm7 dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import numpy as np import deepchem diff --git a/deepchem/molnet/load_function/qm8_datasets.py b/deepchem/molnet/load_function/qm8_datasets.py index cff3f057cc..b3baf17876 100644 --- a/deepchem/molnet/load_function/qm8_datasets.py +++ b/deepchem/molnet/load_function/qm8_datasets.py @@ -1,9 +1,6 @@ """ qm8 dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import deepchem import logging diff --git a/deepchem/molnet/load_function/qm9_datasets.py b/deepchem/molnet/load_function/qm9_datasets.py index e3c68debb9..71c5ca6846 100644 --- a/deepchem/molnet/load_function/qm9_datasets.py +++ b/deepchem/molnet/load_function/qm9_datasets.py @@ -1,9 +1,6 @@ """ qm9 dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/sampl_datasets.py b/deepchem/molnet/load_function/sampl_datasets.py index 0694188551..1b93848491 100644 --- a/deepchem/molnet/load_function/sampl_datasets.py +++ b/deepchem/molnet/load_function/sampl_datasets.py @@ -1,9 +1,6 @@ """ SAMPL dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/sider_datasets.py b/deepchem/molnet/load_function/sider_datasets.py index bffb59714a..3191c8c937 100644 --- a/deepchem/molnet/load_function/sider_datasets.py +++ b/deepchem/molnet/load_function/sider_datasets.py @@ -1,9 +1,6 @@ """ SIDER dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/sweetlead_datasets.py b/deepchem/molnet/load_function/sweetlead_datasets.py index 3b4ddc41b5..bdc9f75b51 100644 --- a/deepchem/molnet/load_function/sweetlead_datasets.py +++ b/deepchem/molnet/load_function/sweetlead_datasets.py @@ -1,10 +1,6 @@ """ SWEET dataset loader. """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - import os import numpy as np import shutil diff --git a/deepchem/molnet/load_function/thermosol_datasets.py b/deepchem/molnet/load_function/thermosol_datasets.py index 8115462523..cc2b022c70 100644 --- a/deepchem/molnet/load_function/thermosol_datasets.py +++ b/deepchem/molnet/load_function/thermosol_datasets.py @@ -1,10 +1,6 @@ """ Thermodynamic Solubility Dataset Loader """ - -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/tox21_datasets.py b/deepchem/molnet/load_function/tox21_datasets.py index 61b42ba618..08cab09b3c 100644 --- a/deepchem/molnet/load_function/tox21_datasets.py +++ b/deepchem/molnet/load_function/tox21_datasets.py @@ -1,9 +1,6 @@ """ Tox21 dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/toxcast_datasets.py b/deepchem/molnet/load_function/toxcast_datasets.py index 9fade31072..e79191eeae 100644 --- a/deepchem/molnet/load_function/toxcast_datasets.py +++ b/deepchem/molnet/load_function/toxcast_datasets.py @@ -1,9 +1,6 @@ """ TOXCAST dataset loader. """ -from __future__ import division -from __future__ import unicode_literals - import os import logging import deepchem diff --git a/deepchem/molnet/load_function/uspto_datasets.py b/deepchem/molnet/load_function/uspto_datasets.py index 83e6069933..a7cb78b22f 100644 --- a/deepchem/molnet/load_function/uspto_datasets.py +++ b/deepchem/molnet/load_function/uspto_datasets.py @@ -3,10 +3,6 @@ This file contains loaders for synthetic reaction datasets from the US Patenent Office. http://nextmovesoftware.com/blog/2014/02/27/unleashing-over-a-million-reactions-into-the-wild/. """ - -from __future__ import division -from __future__ import unicode_literals - import os import csv import logging diff --git a/deepchem/molnet/load_function/uv_datasets.py b/deepchem/molnet/load_function/uv_datasets.py index 967769f298..07e9654d2c 100644 --- a/deepchem/molnet/load_function/uv_datasets.py +++ b/deepchem/molnet/load_function/uv_datasets.py @@ -1,10 +1,6 @@ """ UV Dataset loader """ - -from __future__ import division -from __future__ import unicode_literals - import os import logging import time diff --git a/deepchem/molnet/run_benchmark.py b/deepchem/molnet/run_benchmark.py index c25a0906f4..c9cb3d7df8 100644 --- a/deepchem/molnet/run_benchmark.py +++ b/deepchem/molnet/run_benchmark.py @@ -4,9 +4,6 @@ @author: Zhenqin Wu """ -from __future__ import division -from __future__ import unicode_literals - import os import time import csv diff --git a/deepchem/molnet/run_benchmark_low_data.py b/deepchem/molnet/run_benchmark_low_data.py index 21ed2618b1..9eafdd041f 100644 --- a/deepchem/molnet/run_benchmark_low_data.py +++ b/deepchem/molnet/run_benchmark_low_data.py @@ -5,10 +5,6 @@ @author: Zhenqin Wu """ ''' -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - import os import time import csv diff --git a/deepchem/molnet/run_benchmark_models.py b/deepchem/molnet/run_benchmark_models.py index 17ee8887bf..37c80a0669 100644 --- a/deepchem/molnet/run_benchmark_models.py +++ b/deepchem/molnet/run_benchmark_models.py @@ -5,9 +5,6 @@ @author: zqwu """ -from __future__ import division -from __future__ import unicode_literals - import numpy as np import tensorflow as tf import deepchem diff --git a/deepchem/molnet/tests/test_molnet.py b/deepchem/molnet/tests/test_molnet.py index 4330ee65d9..56283215b0 100644 --- a/deepchem/molnet/tests/test_molnet.py +++ b/deepchem/molnet/tests/test_molnet.py @@ -1,9 +1,6 @@ """ Tests for molnet function """ -from __future__ import division -from __future__ import unicode_literals - import csv import tempfile import unittest diff --git a/deepchem/splits/__init__.py b/deepchem/splits/__init__.py index e3e4aa8a84..97088cc53d 100644 --- a/deepchem/splits/__init__.py +++ b/deepchem/splits/__init__.py @@ -1,9 +1,6 @@ """ Gathers all splitters in one place for convenient imports """ -from __future__ import division -from __future__ import unicode_literals - # TODO(rbharath): Get rid of * import from deepchem.splits.splitters import * from deepchem.splits.splitters import ScaffoldSplitter diff --git a/deepchem/splits/splitters.py b/deepchem/splits/splitters.py index db34d348d5..43e8ca40f3 100644 --- a/deepchem/splits/splitters.py +++ b/deepchem/splits/splitters.py @@ -1,9 +1,6 @@ """ Contains an abstract base class that supports chemically aware data splits. """ -from __future__ import division -from __future__ import unicode_literals - import random __author__ = "Bharath Ramsundar, Aneesh Pappu " diff --git a/deepchem/splits/task_splitter.py b/deepchem/splits/task_splitter.py index 0b83494ad6..6fe63ac6a2 100644 --- a/deepchem/splits/task_splitter.py +++ b/deepchem/splits/task_splitter.py @@ -1,9 +1,6 @@ """ Contains an abstract base class that supports chemically aware data splits. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/splits/tests/test_splitter.py b/deepchem/splits/tests/test_splitter.py index 6153638ee4..cef6c84b8e 100644 --- a/deepchem/splits/tests/test_splitter.py +++ b/deepchem/splits/tests/test_splitter.py @@ -1,9 +1,6 @@ """ Tests for splitter objects. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar, Aneesh Pappu" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/splits/tests/test_task_splitter.py b/deepchem/splits/tests/test_task_splitter.py index a365db7295..c975a4e8a7 100644 --- a/deepchem/splits/tests/test_task_splitter.py +++ b/deepchem/splits/tests/test_task_splitter.py @@ -1,9 +1,6 @@ """ Tests for splitter objects. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar, Aneesh Pappu" __copyright__ = "Copyright 2016, Stanford University" __license__ = "MIT" diff --git a/deepchem/trans/__init__.py b/deepchem/trans/__init__.py index 6a2017013c..2210420f67 100644 --- a/deepchem/trans/__init__.py +++ b/deepchem/trans/__init__.py @@ -1,9 +1,6 @@ """ Gathers all transformers in one place for convenient imports """ -from __future__ import division -from __future__ import unicode_literals - from deepchem.trans.transformers import undo_transforms from deepchem.trans.transformers import undo_grad_transforms from deepchem.trans.transformers import LogTransformer diff --git a/deepchem/trans/tests/test_transformers.py b/deepchem/trans/tests/test_transformers.py index 583739af0a..5391cc2522 100644 --- a/deepchem/trans/tests/test_transformers.py +++ b/deepchem/trans/tests/test_transformers.py @@ -1,9 +1,6 @@ """ Tests for transformer objects. """ -from __future__ import division -from __future__ import unicode_literals - from deepchem.molnet import load_delaney from deepchem.trans.transformers import FeaturizationTransformer from deepchem.trans.transformers import DataTransforms diff --git a/deepchem/trans/transformers.py b/deepchem/trans/transformers.py index 84b4d50e8b..6529b2836f 100644 --- a/deepchem/trans/transformers.py +++ b/deepchem/trans/transformers.py @@ -2,9 +2,6 @@ """ Contains an abstract base class that supports data transformations. """ -from __future__ import division -from __future__ import unicode_literals - import os import numpy as np diff --git a/deepchem/utils/evaluate.py b/deepchem/utils/evaluate.py index ddd991ac66..70649ddf7f 100644 --- a/deepchem/utils/evaluate.py +++ b/deepchem/utils/evaluate.py @@ -1,10 +1,6 @@ """ Utility functions to evaluate models on datasets. """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - import csv import numpy as np import warnings diff --git a/deepchem/utils/save.py b/deepchem/utils/save.py index 5e5a9aadb3..df378414b6 100644 --- a/deepchem/utils/save.py +++ b/deepchem/utils/save.py @@ -1,10 +1,6 @@ """ Simple utils to save and load from disk. """ -from __future__ import print_function -from __future__ import division -from __future__ import unicode_literals - import joblib import gzip import json diff --git a/deepchem/utils/test/test_seq.py b/deepchem/utils/test/test_seq.py index 972e61ed29..579d2dc586 100644 --- a/deepchem/utils/test/test_seq.py +++ b/deepchem/utils/test/test_seq.py @@ -1,9 +1,6 @@ """ Tests that sequence handling utilities work. """ -from __future__ import division -from __future__ import unicode_literals - __author__ = "Bharath Ramsundar" __license__ = "MIT"