<commit_before> # -*- coding: utf-8 -*-
 
import wx
from screen import Screen

from ..ui_utils import AddLabel, MedFont
from ..controls.autowrapped_static_text import AutowrappedStaticText
from ..controls.edit_name_panel import EditNamePanel
from ..controls.edit_bike_panel import EditBikePanel

class NewPersonDialog(wx.Dialog):
	def __init__(self, controller,  firstName = "", lastName = ""):
		wx.Dialog.__init__(self, None, title = "New Person Information")
		self.controller = controller
		
		outerSizer = wx.BoxSizer(wx.VERTICAL)
		self.SetSizer(outerSizer)

		AddLabel(self, outerSizer, MedFont(), \
			"Since you haven't used this system before, "
			"please tell us your name and bike innformation.",
			type = AutowrappedStaticText)
		
		staticBox = wx.StaticBox(self, wx.ID_ANY, u"Your Name")
		nameEntrySizer = wx.StaticBoxSizer(staticBox, wx.VERTICAL)
		AddLabel(self, nameEntrySizer, MedFont(), u"Type Your Name:")
		self.editNamePanel = EditNamePanel(self, controller)<commit_msg>* Minor code cleanup - Removed one more stale file<commit_after> # -*- coding: utf-8 -*-
 
import wx

from ..ui_utils import AddLabel, MedFont
from ..controls.autowrapped_static_text import AutowrappedStaticText
from ..controls.edit_name_panel import EditNamePanel
from ..controls.edit_bike_panel import EditBikePanel

class NewPersonDialog(wx.Dialog):
	def __init__(self, controller,  firstName = "", lastName = ""):
		wx.Dialog.__init__(self, None, title = "New Person Information")
		self.controller = controller
		
		outerSizer = wx.BoxSizer(wx.VERTICAL)
		self.SetSizer(outerSizer)

		AddLabel(self, outerSizer, MedFont(), \
			"Since you haven't used this system before, "
			"please tell us your name and bike innformation.",
			type = AutowrappedStaticText)
		
		staticBox = wx.StaticBox(self, wx.ID_ANY, u"Your Name")
		nameEntrySizer = wx.StaticBoxSizer(staticBox, wx.VERTICAL)
		AddLabel(self, nameEntrySizer, MedFont(), u"Type Your Name:")
		self.editNamePanel = EditNamePanel(self, controller)
{'fraction_non_alphanumeric': 0.10694652673663169, 'fraction_numerical': 0.0009995002498750624, 'mean_word_length': 4.905604719764011, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4791633', 'n_tokens_mistral': 675, 'n_tokens_neox': 614, 'n_words': 165}