Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
woutgg committed Dec 11, 2014
1 parent 440908c commit 481cce3
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions pacman.py
Expand Up @@ -719,32 +719,8 @@ def runPacman(index, args):
parPath = os.path.join(os.getcwd(), 'data', 'par')

filename = os.path.join(parPath, 'par' + str(index) + '.' + fileExt)
logger.debug(' using parameter file with index %i' % index)
papa.cont = index


# cont = 0
# while True:
# try:
# # FIXME: move this away from here, is it possible to keep the engine free from deps on the ML main project?
# filename = os.path.join(parPath, 'par' + str(cont) + '.' + fileExt)
# # logger.debug('considering parameter file: %s' % filename)
# file = open(filename, 'r')
# a = file.read().rstrip(' \t\n')
# file.close()
#
# if a[-1] != 'k':
# break
#
# cont += 1
#
# except:
# logger.debug(' no parameter file with index %i' % cont)
# time.sleep(0.2)
#
# logger.debug(' using parameter file with index %i' % cont)
# papa.cont = cont

readParameters(filename)

obj.MyClass().setValue(papa.parC, papa.parG, papa.StartC, papa.StartG,
Expand Down

0 comments on commit 481cce3

Please sign in to comment.