<commit_before>/* *****************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 **************************************************************************** */

//register all extensions in the registry following the given pattern
module.exports = function (registry) {
  //registry.push('extension-type', 'extension-id', function() { return System.import('./src/extension_impl'); }, {});
  // generator-phovea:begin
  registry.push('application', 'ordino', function () {
    return System.import('./src/');
  }, {
    'name': 'Target Discovery Platform'
  });

  registry.push('targidView', 'startMenu', function () {
    return System.import('./src/StartMenu');
  }, {
    'name': 'startMenu',
    'factory': 'create',
    'idtype': 'none',
    'selection': 'none'
  });

  registry.push('targidView', 'login_first', function () {
    return System.import('./src/LoginFirstView');
  }, {
    'name': 'Login First',
    'factory': 'create',
    'idtype': 'none',
    'selection': 'none'
  });

  registry.push('targidView', 'welcome', function () {
    return System.import('./src/WelcomeView');
  }, {
    'name': 'Welcome',
    'factory': 'create',
    'idtype': 'none',
    'selection': 'none'
  });

  registry.push('actionFactory', 'ordino', function () {
    return System.import('./src/Targid');
  }, {
    'factory': 'createCmd',
    'creates': '(targidCreateView|targidRemoveView|targidReplaceView)'
  });

  registry.push('actionFactory', 'ordino', function () {
    return System.import('./src/LineUpCommands');
  }, {
    'factory': 'createCmd',
    'creates': '(lineupAddRanking|lineupSetRankingSortCriteria|lineupSetColumn|lineupAddColumn)'
  });

  registry.push('actionCompressor', 'targidCreateRemoveCompressor', function () {
    return System.import('./src/Targid');
  }, {
    'factory': 'compressCreateRemove',
    'matches': '(targidCreateView|targidRemoveView|targidReplaceView)'
  });

  registry.push('actionFactory', 'ordino', function () {
    return System.import('./src/View');
  }, {
    'factory': 'createCmd',
    'creates': '(targidSetParameter|targidSetSelection)'
  });

  registry.push('actionCompressor', 'targidCompressSetParameter', function () {
    return System.import('./src/View');
  }, {
    'factory': 'compressSetParameter',
    'matches': '(targidSetParameter)'
  });

  registry.push('actionCompressor', 'targidCompressSetSelection', function () {
    return System.import('./src/View');
  }, {
    'factory': 'compressSetSelection',
    'matches': '(targidSetSelection)'
  });

  registry.push('targidStartMenuSection', 'targid_session_start', function () {
    return System.import('./src/SessionList');
  }, {
    'name': 'Sessions',
    'cssClass': 'targidSessionData',
    'factory': 'create',
    'priority': 100
  });

  registry.push('idTypeDetector', 'gene_idtype_detector', function () {
    return System.import('./src/GeneIDTypeDetector');
  }, {
    'name': 'IDTypeDetector',
    'factory': 'geneIDTypeDetector'
  });

  // generator-phovea:end
};
<commit_msg>added Ensembl IDType to detector<commit_after>/* *****************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 **************************************************************************** */

//register all extensions in the registry following the given pattern
module.exports = function (registry) {
  //registry.push('extension-type', 'extension-id', function() { return System.import('./src/extension_impl'); }, {});
  // generator-phovea:begin
  registry.push('application', 'ordino', function () {
    return System.import('./src/');
  }, {
    'name': 'Target Discovery Platform'
  });

  registry.push('targidView', 'startMenu', function () {
    return System.import('./src/StartMenu');
  }, {
    'name': 'startMenu',
    'factory': 'create',
    'idtype': 'none',
    'selection': 'none'
  });

  registry.push('targidView', 'login_first', function () {
    return System.import('./src/LoginFirstView');
  }, {
    'name': 'Login First',
    'factory': 'create',
    'idtype': 'none',
    'selection': 'none'
  });

  registry.push('targidView', 'welcome', function () {
    return System.import('./src/WelcomeView');
  }, {
    'name': 'Welcome',
    'factory': 'create',
    'idtype': 'none',
    'selection': 'none'
  });

  registry.push('actionFactory', 'ordino', function () {
    return System.import('./src/Targid');
  }, {
    'factory': 'createCmd',
    'creates': '(targidCreateView|targidRemoveView|targidReplaceView)'
  });

  registry.push('actionFactory', 'ordino', function () {
    return System.import('./src/LineUpCommands');
  }, {
    'factory': 'createCmd',
    'creates': '(lineupAddRanking|lineupSetRankingSortCriteria|lineupSetColumn|lineupAddColumn)'
  });

  registry.push('actionCompressor', 'targidCreateRemoveCompressor', function () {
    return System.import('./src/Targid');
  }, {
    'factory': 'compressCreateRemove',
    'matches': '(targidCreateView|targidRemoveView|targidReplaceView)'
  });

  registry.push('actionFactory', 'ordino', function () {
    return System.import('./src/View');
  }, {
    'factory': 'createCmd',
    'creates': '(targidSetParameter|targidSetSelection)'
  });

  registry.push('actionCompressor', 'targidCompressSetParameter', function () {
    return System.import('./src/View');
  }, {
    'factory': 'compressSetParameter',
    'matches': '(targidSetParameter)'
  });

  registry.push('actionCompressor', 'targidCompressSetSelection', function () {
    return System.import('./src/View');
  }, {
    'factory': 'compressSetSelection',
    'matches': '(targidSetSelection)'
  });

  registry.push('targidStartMenuSection', 'targid_session_start', function () {
    return System.import('./src/SessionList');
  }, {
    'name': 'Sessions',
    'cssClass': 'targidSessionData',
    'factory': 'create',
    'priority': 100
  });

  registry.push('idTypeDetector', 'gene_idtype_detector', function () {
    return System.import('./src/GeneIDTypeDetector');
  }, {
    'name': 'IDTypeDetector',
    'factory': 'geneIDTypeDetector',
    'idType': 'Ensembl'
  });

  // generator-phovea:end
};

{'fraction_non_alphanumeric': 0.2243648607284971, 'fraction_numerical': 0.0009182736455463728, 'mean_word_length': 4.369761709120789, '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': '2668894', 'n_tokens_mistral': 2033, 'n_tokens_neox': 1954, 'n_words': 344}