<commit_before>//Draw the ideogram
jviz.modules.ideogram.prototype.draw = function(chr)
{
  //Check the genomes
  if(this.hasGenome() === false){ return this; }

  //Set loading as true
  this.loading(true);

  //Check the chromosome
  if(typeof chr === 'undefined'){ var chr = this._chromosome.now; }

  //Reset the actual chromosome
  this._chromosome.now = chr;

  //Check the chromosome to draw
  (chr === -1) ? this.drawKaryotypes() : this.drawChromosome();

  //Return this
  return this;
};<commit_msg>js/draw.js: fixed draw<commit_after>//Draw the ideogram
jviz.modules.ideogram.prototype.draw = function(chr)
{
  //Check the genomes
  if(this.hasGenome() === false){ return this; }

  //Set loading as true
  this.loading(true);

  //Check the chromosome
  if(typeof chr === 'undefined'){ var chr = this._chromosome.now; }

  //Reset the actual chromosome
  this._chromosome.now = chr;

  //Check the chromosome to draw
  (chr === -1) ? this.previewDraw() : this.chromosomeDraw();

  //Return this
  return this;
};
{'fraction_non_alphanumeric': 0.1494140625, 'fraction_numerical': 0.001953125, 'mean_word_length': 3.475982532751092, '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': '1136330', 'n_tokens_mistral': 363, 'n_tokens_neox': 326, 'n_words': 92}