Skip to content

Commit

Permalink
Merge remote branch 'thelmuth/fix-cluster-launcher-directory'
Browse files Browse the repository at this point in the history
  • Loading branch information
lspector committed Oct 15, 2013
2 parents 8f5d76c fae6e4d commit 16565b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 31,8 @@
# You don't need to change anything below here

# Check to make sure directory doesn't exist; if not, create it
if output_directory[-1] != "/":
output_directory = "/"
if os.path.isdir(clojush_directory output_directory):
raise RuntimeError, "Output directory already exists"

Expand Down

0 comments on commit 16565b7

Please sign in to comment.