To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 2f52f3ff authored by Eva Bons's avatar Eva Bons

made getfitness_table a non-private function

parent 2f8608af
......@@ -224,7 +224,7 @@ class Simulation(object):
self.settings['parameters']['fn'] = 1 - (self.settings['parameters']['fl']+ \
self.settings['parameters']['fd']+ \
self.settings['parameters']['fb'])
self.fitness_table = self.__getfitness_table()
self.fitness_table = self.getfitness_table()
else:
self.fitness_table = self.settings['fitness_table']
......@@ -266,7 +266,7 @@ class Simulation(object):
return string
def __getfitness_table(self):
def getfitness_table(self):
'''creates a table with random fitness values according to model and
parameters par in settings'''
seq_len = self.sequence.len
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment