#1262: simfactory doesn't know how to handle 'old' simulations -------------------------+-------------------------------------------------- Reporter: knarf | Owner: eschnett Type: defect | Status: review Priority: major | Milestone: ET_2013_05 Component: SimFactory | Version: development version Resolution: | Keywords: -------------------------+-------------------------------------------------- Changes (by knarf):
* status: new => review
Comment:
I could restart using the following change, but I am not sure if this would be the correct way to patch it: {{{ Index: lib/simlib.py =================================================================== --- lib/simlib.py (revision 1990) +++ lib/simlib.py (working copy) @@ -830,7 +830,7 @@ suggested_num_smt = int(GetMachineOption('num-smt')) num_smt = simenv.OptionsManager.GetOption('num-smt') if num_smt == None: - if existingProperties != None: + if existingProperties != None and existingProperties.numsmt != None: num_smt = existingProperties.numsmt else: num_smt = GetMachineOption('num-smt') }}}