Skip to content

Commit

Permalink
fix for bad code in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jimboid committed May 27, 2016
1 parent f7f2589 commit 08d326f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@

os.mkdir(os.path.expanduser('~/.Longbow'))

hostfile = open(os.path.expanduser('~/.Longbow/hosts.conf', 'w+'))
hostfile = open(os.path.expanduser('~/.Longbow/hosts.conf'), 'w+')

hostfile.write('[QuickStart]')
hostfile.write('host = login.hpc.ac.uk')
hostfile.write('user = myusername')
hostfile.write('corespernode = 24')
hostfile.write('cores = 24')
hostfile.write('remoteworkdir = /work/myusername/')
hostfile.write('account = myaccount')
hostfile.write('modules = mymodules')
hostfile.write('[QuickStart]\n')
hostfile.write('host = login.hpc.ac.uk\n')
hostfile.write('user = myusername\n')
hostfile.write('corespernode = 24\n')
hostfile.write('cores = 24\n')
hostfile.write('remoteworkdir = /work/myusername/\n')
hostfile.write('account = myaccount\n')
hostfile.write('modules = mymodules\n')

hostfile.close()

Expand Down

0 comments on commit 08d326f

Please sign in to comment.