Skip to content

Commit

Permalink
yapf upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
leswing authored and leswing committed Nov 9, 2017
1 parent 401d669 commit 81e802d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install:
- conda config --add channels http://conda.binstar.org/omnia
- bash scripts/install_deepchem_conda.sh deepchem
- source activate deepchem
- pip install yapf==0.17.0
- pip install yapf==0.19.0
- pip install coveralls
- python setup.py install
script:
Expand Down
2 changes: 1 addition & 1 deletion deepchem/rl/ppo.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def __init__(self, ppo, index):
global_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES,
'global')
self.update_local_variables = tf.group(
* [tf.assign(v1, v2) for v1, v2 in zip(local_vars, global_vars)])
*[tf.assign(v1, v2) for v1, v2 in zip(local_vars, global_vars)])

def run(self):
rollouts = []
Expand Down

0 comments on commit 81e802d

Please sign in to comment.