<commit_before><ul class="sectionIcons">
  <% if @study.can_edit?(current_user) -%>
    <li>
      <%= image_tag_for_key('edit', edit_study_path(@study), "Edit study", nil, 'Edit study') -%>
    </li>
  <% end -%>

  <%= delete_ISA_icon @study,current_user -%>
  
  <% if current_user.person.projects.include?(@study.project) -%>
    <li>
      <%= image_tag_for_key('new', new_assay_path(:study_id=>@study), "Create an Assay for this study", nil, 'Create an Assay for this study') -%>
    </li>
  <% end -%>
</ul>

<%= render :partial => "layouts/item_title",:locals=>{:item=>@study} %>

<div class="show_basic">
  <%= render :partial => "layouts/usage_info", :locals => { :resource => @study } -%>
  
  <p class="id">
    <label>ID: </label>
    <%= @study.id -%>
  </p>

  <div class="box_about_actor">

    <div class="investigation">
      <p>
        <label>Investigation:</label>
        <%= link_to h(@study.investigation.title),@study.investigation %>
      </p>
    </div>

    <div class="project">
      <p>
        <label>Project:</label>
        <%= link_to h(@study.project.name),project_path(@study.project)  %>
      </p>
    </div>

    <div>
      <p>
        <label>Person responsible:</label>
        <% if @study.person_responsible -%>
          <%= link_to h(@study.person_responsible.name),@study.person_responsible %>
        <% else -%>
          <span class="none_text">Not specified</span>
        <% end -%>
      </p>
    </div>

    <div class="assays">
      <%= render :partial=>"studies/simple_assay_list",:locals=>{:assays=>@study.assays} %>
    </div>

    <p style="margin-top: 1em;">
      <b>About the study:</b>
      <div id="description" class="box_standout">
        <%= text_or_not_specified(@study.description, :description=>true,:auto_link=>true) %>
      </div>
    </p>

  </div>    
    
  <%= embedded_isa_svg(@study) -%>

  <%= render :partial=>"layouts/items_related_to", :object => @study %>
</div><commit_msg>include investigation in study SVG view<commit_after><ul class="sectionIcons">
  <% if @study.can_edit?(current_user) -%>
    <li>
      <%= image_tag_for_key('edit', edit_study_path(@study), "Edit study", nil, 'Edit study') -%>
    </li>
  <% end -%>

  <%= delete_ISA_icon @study,current_user -%>
  
  <% if current_user.person.projects.include?(@study.project) -%>
    <li>
      <%= image_tag_for_key('new', new_assay_path(:study_id=>@study), "Create an Assay for this study", nil, 'Create an Assay for this study') -%>
    </li>
  <% end -%>
</ul>

<%= render :partial => "layouts/item_title",:locals=>{:item=>@study} %>

<div class="show_basic">
  <%= render :partial => "layouts/usage_info", :locals => { :resource => @study } -%>
  
  <p class="id">
    <label>ID: </label>
    <%= @study.id -%>
  </p>

  <div class="box_about_actor">

    <div class="investigation">
      <p>
        <label>Investigation:</label>
        <%= link_to h(@study.investigation.title),@study.investigation %>
      </p>
    </div>

    <div class="project">
      <p>
        <label>Project:</label>
        <%= link_to h(@study.project.name),project_path(@study.project)  %>
      </p>
    </div>

    <div>
      <p>
        <label>Person responsible:</label>
        <% if @study.person_responsible -%>
          <%= link_to h(@study.person_responsible.name),@study.person_responsible %>
        <% else -%>
          <span class="none_text">Not specified</span>
        <% end -%>
      </p>
    </div>

    <div class="assays">
      <%= render :partial=>"studies/simple_assay_list",:locals=>{:assays=>@study.assays} %>
    </div>

    <p style="margin-top: 1em;">
      <b>About the study:</b>
      <div id="description" class="box_standout">
        <%= text_or_not_specified(@study.description, :description=>true,:auto_link=>true) %>
      </div>
    </p>

  </div>    
    
  <%= embedded_isa_svg(@study.investigation) -%>

  <%= render :partial=>"layouts/items_related_to", :object => @study %>
</div>
{'fraction_non_alphanumeric': 0.20600100857286938, 'fraction_numerical': 0.0005042864346949068, 'mean_word_length': 2.986934673366834, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 155, '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': '4530100', 'n_tokens_mistral': 1550, 'n_tokens_neox': 1408, 'n_words': 228}