<commit_before>import React from "react";

export default class Atlas extends React.Component {

  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    const url = `./atlasWidget.html?${this.props.gene._id}`;
    const height = (!!this.props.closeModal) ? window.innerHeight : '500px';
    return (
      <iframe src={url} frameBorder="0" width="100%" height={height}>
        <p>browser doesn't support iframes</p>
      </iframe>
    );
  }
}<commit_msg>barley id mapping workaround<commit_after>import React from "react";

export default class Atlas extends React.Component {

  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    const url = `./atlasWidget.html?${this.props.gene.taxon_id === 112509 ? this.props.gene.synonyms[0] : this.props.gene._id}`;
    const height = (!!this.props.closeModal) ? window.innerHeight : '500px';
    return (
      <iframe src={url} frameBorder="0" width="100%" height={height}>
        <p>browser doesn't support iframes</p>
      </iframe>
    );
  }
}
{'fraction_non_alphanumeric': 0.1623931623931624, 'fraction_numerical': 0.019943019943019943, 'mean_word_length': 3.319672131147541, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6639775', 'n_tokens_mistral': 370, 'n_tokens_neox': 338, 'n_words': 72}