<commit_before>{% if specializations | length %}

    {% embed 'FrontendBundle:Embed:profileSection.html.twig' with {title: 'Specializations', class: 'specializations'} %}
        {% block sectionContent %}
    	<div class="specializationsbox">

        {% for each in specializations %}
    		<ul class="specializations-list">
    			<li class="first"><a href="#">{{ each.specialization.name }}</a></li>
                {% set _groupedTreatments = group_treatments_by_subspecialization(each.treatments) %}
                
                {% for _subName, _groupedData in _groupedTreatments %}
                
                    {% if _groupedData.treatments | length %}
                    <li class="second">
        				<ul>
        				    {% if _groupedData.subSpecialization is defined and _groupedData.subSpecialization | length%}
        				    <li><a href="#">{{ _groupedData.subSpecialization.name }}</a></li>
        				    {% else %}
        				    <li><a href="#">Other treatments</a></li>
        				    {% endif %}
                        	    
                    	    {% for treatment in _groupedData.treatments %}
        			 	    <li class="third">
        						<ul>
        							<li><a href="#">{{ treatment.name }}</a></li>
        						</ul>
        					</li>
        			        {% endfor %}
        					
        				</ul>
        			</li>
                    {% endif %}
                {% endfor %}
    			
    		</ul>
    	{% endfor %}
    	</div><commit_msg>Fixes #277. Romoved Clinic profile specializations/treatments link.<commit_after>{% if specializations | length %}

    {% embed 'FrontendBundle:Embed:profileSection.html.twig' with {title: 'Specializations', class: 'specializations'} %}
        {% block sectionContent %}
    	<div class="specializationsbox">

        {% for each in specializations %}
    		<ul class="specializations-list">
    			<li class="first"><a>{{ each.specialization.name }}</a></li>
                {% set _groupedTreatments = group_treatments_by_subspecialization(each.treatments) %}
                
                {% for _subName, _groupedData in _groupedTreatments %}
                
                    {% if _groupedData.treatments | length %}
                    <li class="second">
        				<ul>
        				    {% if _groupedData.subSpecialization is defined and _groupedData.subSpecialization | length%}
        				    <li><a>{{ _groupedData.subSpecialization.name }}</a></li>
        				    {% else %}
        				    <li><a>Other treatments</a></li>
        				    {% endif %}
                        	    
                    	    {% for treatment in _groupedData.treatments %}
        			 	    <li class="third">
        						<ul>
        							<li><a>{{ treatment.name }}</a></li>
        						</ul>
        					</li>
        			        {% endfor %}
        					
        				</ul>
        			</li>
                    {% endif %}
                {% endfor %}
    			
    		</ul>
    	{% endfor %}
    	</div>
{'fraction_non_alphanumeric': 0.1347941567065073, 'fraction_numerical': 0.00099601593625498, 'mean_word_length': 1.4298387096774194, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '5634293', 'n_tokens_mistral': 1032, 'n_tokens_neox': 830, 'n_words': 155}