Commits

Sam Adams  committed 44c8be4

Fix RDF link in crystal template

  • Participants
  • Parent commits 984c7b9

Comments (0)

Files changed (2)

File crystallography-common/src/main/java/net/chempound/crystal/rdf/impl/CrystalStructureImpl.java

 
     @Override
     public URI getRdfXmlFile() {
-        for (final Resource r : getResourceMaps()) {
+        for (final Resource r : getAggregatedResources()) {
             if (r.getURI().endsWith("rdf")) {
                 return URI.create(r.getURI());
             }

File crystallography-handler/src/main/resources/net/chempound/crystal/templates/crystal.ftl

         <ul class="files">
             <li><a href="${_.cmlFile}">Chemical Markup Language</a></li>
             <li><#if cifOriginal??><a href="${cifOriginal}" title="CIF file - original">CIF file</a> [<a href="${_.cifFile}" title="CIF file - local cache">local cache</a>]<#else><a href="${_.cifFile}" title="CIF file">CIF File</a></#if> </li>
-            <li><a href="${_.rdfXmlFile}">RDF XML</a> / <a href="${_.rdfN3File}">RDF N3</a></li>
+            <li><a href="${_.rdfXmlFile}">RDF XML File</a></li>
         </ul>
 
     </div>