Esempio n. 1
0
	def suggest(self, pets="rabbit_calif,rabbit_chinchilla,rabbit_nd_dwarf"):
		pethelper = self.getcur_pethelper()
		summary = SummaryData()
		suggest_list = summary.suggest(pets)
		chartplot = pethelper.reformat_chart()
		pet_list_sorted = pethelper.pet_list_sorted(len(pethelper.qg_list))
		return dict(over=1, suggest_list=suggest_list, PHASE_1_Q = PHASE_1_Q, chartplot = chartplot, pet_list_sorted = pet_list_sorted)
Esempio n. 2
0
	def details(self,pets=""):
		"""retrieves the list with all scores details"""
		pethelper = self.getcur_pethelper()
		summary = SummaryData()
		details = summary.details(pets)
		chartplot = pethelper.reformat_chart()
		pet_list_sorted = pethelper.pet_list_sorted(len(pethelper.qg_list))
		return dict(over=1, details=details, PHASE_1_Q = PHASE_1_Q, chartplot = chartplot, pet_list_sorted = pet_list_sorted)