diff --git a/dream/simulation/LineGenerationJSON.py b/dream/simulation/LineGenerationJSON.py index d6c26edf43cb6bb3b80fcc5418e138bdd49e0eea..7c708eea29f0412e2e9ec0ae6c9a93eb33abf502 100644 --- a/dream/simulation/LineGenerationJSON.py +++ b/dream/simulation/LineGenerationJSON.py @@ -172,15 +172,6 @@ def createObjects(): G.MachineManagedJobList=[] G.QueueManagedJobList=[] G.ModelResourceList=[] - - # test that we can instanciate everything. - obj_list = [] - for (element_id, element) in nodes.iteritems(): - element['id'] = element_id - resourceClass = Globals.getClassFromName(element['_class']) - resource = resourceClass(**element) - resource.nextIds = getSuccessorList(element['id']) - obj_list.append(resource) # ----------------------------------------------------------------------- # loop through all the model resources