<commit_before>define([
           'dojo/_base/declare',
           'dojo/_base/Color',
           'JBrowse/View/FeatureGlyph/Segments'
       ],
       function(
           declare,
           Color,
           SegmentsGlyph
       ) {

return declare( SegmentsGlyph, {

_defaultConfig: function() {
    return this._mergeConfigs(
        this.inherited(arguments),
        {
            style: {
                connectorColor: '#333',
                connectorThickness: 1,
                borderColor: 'rgba( 0, 0, 0, 0.3 )'
            },
            itemRgb: true,
            height: 11,
            thinHeight: 5,
            subParts: () => false,    // UCSC BED-like features don't have formal subparts
            subSubParts: () => false, // UCSC BED-like features don't have formal subparts
        });
},

parseItemRgb(itemRgb) {
    const stringEncoding = /(\d+),(\d+),(\d+)/.exec(itemRgb)
    const hex2 = num => num.toString(16).padStart(2,'0')
    if (stringEncoding) {
        const r = Number(stringEncoding[1])
        const g = Number(stringEncoding[2])
        const b = Number(stringEncoding[3])<commit_msg>remove unnecessary dojo/Color<commit_after>define([
           'dojo/_base/declare',
           'JBrowse/View/FeatureGlyph/Segments',
       ],
       function(
           declare,
           SegmentsGlyph,
       ) {

return declare( SegmentsGlyph, {

_defaultConfig: function() {
    return this._mergeConfigs(
        this.inherited(arguments),
        {
            style: {
                connectorColor: '#333',
                connectorThickness: 1,
                borderColor: 'rgba( 0, 0, 0, 0.3 )'
            },
            itemRgb: true,
            height: 11,
            thinHeight: 5,
            subParts: () => false,    // UCSC BED-like features don't have formal subparts
            subSubParts: () => false, // UCSC BED-like features don't have formal subparts
        });
},

parseItemRgb(itemRgb) {
    const stringEncoding = /(\d+),(\d+),(\d+)/.exec(itemRgb)
    const hex2 = num => num.toString(16).padStart(2,'0')
    if (stringEncoding) {
        const r = Number(stringEncoding[1])
        const g = Number(stringEncoding[2])
        const b = Number(stringEncoding[3])
{'fraction_non_alphanumeric': 0.12864186463469296, 'fraction_numerical': 0.017929179740026894, 'mean_word_length': 1.8181818181818181, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '3820496', 'n_tokens_mistral': 705, 'n_tokens_neox': 658, 'n_words': 139}