<commit_before><div class="row">
	<div class="span6 columns"><h1><%= @user.name %>'s page</h1></div>
	<div class="span6 columns"><h5><%= link_to("Send "+ @first_name + " a message", :controller => "messages", :action => "new", :user_to_send => @user.id) %></h5></div>
</div>
<% if @user.has_sequence == true %>
	<p><%= @first_name %> has uploaded a SNP-set. <%= link_to "Download this set", @user.genotypes[0].download%></p>
<% else %>
	<p><%= @first_name %> has not uploaded any sequences.</p>
<% end %>

<% if @user.description != "" and not @user.homepages.empty?%><h3>On <%= @first_name %>:</h3><%end %>
<p><% if @user.description != "" %><%= @user.description %><% else %><%=@first_name%> has not entered a description yet.<% end %> </p>
<% if @user.homepages != [] %>
	<p>
	<h3>Homepages</h3>
	<% @user.homepages.each do |uh| %>
		<strong><%= uh.description %>:</strong> 
		<%= link_to uh.url, uh.url %><br/>
	<% end %>
<% end %>
</p>

<div id="tab-container">
	<ul class="tabs">
		<% if @user.has_sequence %><li><a href="#snps"><%=@first_name%>'s SNPs</a></li><% end %>
		<li><a href="#variations"><%= @first_name %>'s variations</a></li>
	</ul>
	<div id="variations">
		<%= render "variations" %>
	</div>
	<% if @user.has_sequence %>
	<div id="snps">
		<%= render "snps" %>
	</div>
<%end%><commit_msg>Kicked out tabs in user_is_not_user when there are no SNPs to be shown.<commit_after><div class="row">
	<div class="span6 columns"><h1><%= @user.name %>'s page</h1></div>
	<div class="span6 columns"><h5><%= link_to("Send "+ @first_name + " a message", :controller => "messages", :action => "new", :user_to_send => @user.id) %></h5></div>
</div>
<% if @user.has_sequence == true %>
	<p><%= @first_name %> has uploaded a SNP-set. <%= link_to "Download this set", @user.genotypes[0].download%></p>
<% else %>
	<p><%= @first_name %> has not uploaded any sequences.</p>
<% end %>

<% if @user.description != "" and not @user.homepages.empty?%><h3>On <%= @first_name %>:</h3><%end %>
<p><% if @user.description != "" %><%= @user.description %><% else %><%=@first_name%> has not entered a description yet.<% end %> </p>
<% if @user.homepages != [] %>
	<p>
	<h3>Homepages</h3>
	<% @user.homepages.each do |uh| %>
		<strong><%= uh.description %>:</strong> 
		<%= link_to uh.url, uh.url %><br/>
	<% end %>
<% end %>
</p>
 <% if @user.has_sequence %>
<div id="tab-container">
	<ul class="tabs">
		<li><a href="#snps"><%=@first_name%>'s SNPs</a></li>
		<li><a href="#variations"><%= @first_name %>'s variations</a></li>
	</ul>
	<div id="variations">
		<%= render "variations" %>
	</div>
	<% if @user.has_sequence %>
	<div id="snps">
		<%= render "snps" %>
	</div>
<% end %>
<% else %>
	<%= render "variations" %>
<% end %>
{'fraction_non_alphanumeric': 0.2721588819418904, 'fraction_numerical': 0.008091210003677823, 'mean_word_length': 4.596707818930041, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3094703', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1041, 'n_words': 240}