<commit_before>
@if($ro->spatial)
<?php
$needmap = false;
foreach($ro->spatial as $a_coverage){
    if(isset($a_coverage['polygon'])){
        $needmap = true;
    }
}
?>


<div class="swatch-white">
    <div class="panel panel-primary element-no-top element-short-bottom panel-content">
        <div class="panel-heading"> Spatial Coverage And Location </div>
        <div class="panel-body swatch-white">
            @if($needmap)
			<div id="spatial_coverage_map" class="map-canvas angular-google-map-container"></div>
            @endif
			<!-- @include('registry_object/facet/map') --><commit_msg>added heading to spatial information when no map exists<commit_after>
@if($ro->spatial)
<?php
$needmap = false;
foreach($ro->spatial as $a_coverage){
    if(isset($a_coverage['polygon'])){
        $needmap = true;
    }
}
?>


<div class="swatch-white">
    <div class="panel panel-primary element-no-top element-short-bottom panel-content">
        <div class="panel-heading"> Spatial Coverage And Location </div>
        <div class="panel-body swatch-white">
            @if($needmap)
			<div id="spatial_coverage_map" class="map-canvas angular-google-map-container"></div>
            @else
            <h4>Spatial Coverage And Location</h4>
            @endif
			<!-- @include('registry_object/facet/map') -->
{'fraction_non_alphanumeric': 0.16425855513307985, 'fraction_numerical': 0.001520912547528517, 'mean_word_length': 3.2866449511400653, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 27, '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': '6651289', 'n_tokens_mistral': 440, 'n_tokens_neox': 421, 'n_words': 85}