<commit_before>
class Assembly2Workbench (Workbench): 
    import os
    from assembly2lib import __dir__
    Icon = os.path.join( __dir__ , 'workBenchIcon.svg' )
    MenuText = 'Assembly 2'
    def Initialize(self):
        from assembly2lib import __dir__
        import axialConstraint, assembly2solver, importPart, planeConstraint, circularEdgeConstraint, muxAssembly, angleConstraint, partsList, degreesOfFreedomAnimation
        commandslist = ['importPart', 'updateImportedPartsCommand', 'addCircularEdgeConstraint', 'addAngleConstraint', 'addPlaneConstraint', 'addAxialConstraint', 
                        'degreesOfFreedomAnimation', 'assembly2SolveConstraints','muxAssembly','addPartsList']
        self.appendToolbar('Assembly 2', commandslist)

Gui.addWorkbench(Assembly2Workbench())<commit_msg>workbench icon inserted into InitGui.py in xpm format<commit_after>
class Assembly2Workbench (Workbench): 
    MenuText = 'Assembly 2'
    def Initialize(self):
        from assembly2lib import __dir__
        import axialConstraint, assembly2solver, importPart, planeConstraint, circularEdgeConstraint, muxAssembly, angleConstraint, partsList, degreesOfFreedomAnimation
        commandslist = ['importPart', 'updateImportedPartsCommand', 'addCircularEdgeConstraint', 'addAngleConstraint', 'addPlaneConstraint', 'addAxialConstraint', 
                        'degreesOfFreedomAnimation', 'assembly2SolveConstraints','muxAssembly','addPartsList']
        self.appendToolbar('Assembly 2', commandslist)

    # Icon generated using by converting svg to xpm format using Gimp
    Icon = '''
/* XPM */
static char * workBenchIcon_xpm[] = {
"32 32 27 1",
"       c None",
".      c #000003",
"+      c #000000",
"@      c #000009",
"#      c #00066A",
"$      c #000BCE",
"%      c #000004",
"&      c #000883",
"*      c #000EFF",
"=      c #000005",
"-      c #000564",
";      c #000BC1",
">      c #000449",
",      c #000896",
"'      c #000006",
")      c #000442",
"!      c #00099F",
"~      c #000112",
"{      c #00087C",
"]      c #00010A",
"^      c #000669",
"/      c #00011C",
"(      c #000879",
"_      c #000EF8",
":      c #000563",
"<      c #000DEF",
"[      c #00011A",
".+++++++++++++++                ",
"@#$$$$$$$$$$$$$%                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@&*************=                ",
"@-;;;;;;;;;;;;;%                ",
".+++++++++++++++                ",
".==============.................",
"@>,,,,,,,,,,,,,'=)!!!!!!!!!!!!!~",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@{*************]=^*************/",
"@(_____________]=:<<<<<<<<<<<<<[",
"%+++++++++++++++.+++++++++++++++"};
'''


Gui.addWorkbench(Assembly2Workbench())
{'fraction_non_alphanumeric': 0.3361840165143026, 'fraction_numerical': 0.0468888233559422, 'mean_word_length': 3.076923076923077, 'pattern_counts': {'":': 1, '<': 17, '<?xml version=': 0, '>': 5, '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': '5843981', 'n_tokens_mistral': 1125, 'n_tokens_neox': 998, 'n_words': 162}