Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kyleniemeyer/PyTeCK
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleniemeyer committed Jul 12, 2016
2 parents d62e245 + 61cb678 commit 0da3153
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PyTeCK/eval_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ def evaluate_model(model_name, spec_keys_file, dataset_file,
Dictionary with all information about model evaluation results.
"""
# Create results_path if it doesn't exist
if not os.path.exists(results_path):
os.makedirs(results_path)

# Dict to translate species names into those used by models
with open(spec_keys_file, 'r') as f:
Expand Down

0 comments on commit 0da3153

Please sign in to comment.