Skip to content

Commit

Permalink
more python3 fixes and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tyarkoni committed Sep 1, 2015
1 parent 8e849b3 commit a221783
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 456 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Expand Up @@ -6,4 +6,7 @@ dist
dist/*
.ipynb_checkpoints
docs/_*/*
neurosynth.egg-info
neurosynth.egg-info
neurosynth/base/lextab.py
neurosynth/base/parser.out
neurosynth/base/parsetab.py
3 changes: 1 addition & 2 deletions neurosynth/analysis/decode.py
Expand Up @@ -163,8 +163,7 @@ def _load_features_from_dataset(self, features=None, image_type=None,
"""
self.feature_names = self.dataset.feature_table.feature_names
if features is not None:
self.feature_names = filter(
lambda x: x in self.feature_names, features)
self.feature_names = [f for f in features if f in self.feature_names]
from neurosynth.analysis import meta
self.feature_images = meta.analyze_features(
self.dataset, self.feature_names, image_type=image_type,
Expand Down
10 changes: 0 additions & 10 deletions neurosynth/base/lextab.py

This file was deleted.

0 comments on commit a221783

Please sign in to comment.