<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Generating_cluster_lists</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>Recent changes to Generating_cluster_lists</description><atom:link href="https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 07 Jun 2013 12:40:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/feed" rel="self" type="application/rss+xml"/><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -32,7 +32,7 @@

 ~~~~~~~~~~
 :::jsp
-set var="tpb" value="${ontBean.thirdPartyBean}.  This thirdPartyBean has
+set var="tpb" value="${ontBean.thirdPartyBean}.
 ~~~~~~~~~~~

 ### Content of table by column:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Fri, 07 Jun 2013 12:40:37 -0000</pubDate><guid>https://sourceforge.net8fb2e4814ffac5c771ca206e74b06aac564f9b44</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -54,7 +54,7 @@

 ~~~~~~~~~~
 :::jsp
- ( &lt;a href="../${tpb.baseUrl}${tpb.remoteId}"&gt;${  }&lt;/a&gt;
+ ( &lt;a href="../${tpb.baseUrl}${tpb.remoteId}"&gt;${tpb.sourceName}&lt;/a&gt;
 ~~~~~~~~~~

 __Column 3__:  Hyperlinked exemplar thumb + tooltip is generated with 
@@ -75,5 +75,5 @@

 This runs the OWL query:
 ~~~~~~~~~~~
- 'member_of' some ('has_exemplar' value )
+ 'member_of' some ('has_exemplar' value )
 ~~~~~~~~~~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Fri, 07 Jun 2013 12:39:43 -0000</pubDate><guid>https://sourceforge.netf82d854d360cd25232bdf51c49a8ba0239be5219</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -50,7 +50,7 @@
 _Note the hardwiring of paths in here._

 __Column 2__ Exemplar name and source name + link
-Exemplar name is specified by \$\{ontBean.name\}.  The source name and link are generated with:
+Exemplar name is specified by $\{ontBean.name\}.  The source name and link are generated with:

 ~~~~~~~~~~
 :::jsp
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Fri, 07 Jun 2013 12:37:02 -0000</pubDate><guid>https://sourceforge.net82007abb79a014dfcc3f26ea37b880edc38eb5cd</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -37,25 +37,17 @@

 ### Content of table by column:

-__Column 1__ (cluster) thumb and hyperlink are specified as 
+__Column 1__ (cluster) thumb and hyperlink are specified as:

 ~~~~~~~~~~
 :::jsp
-http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusters/${ontBean.name}/thumb_0.333.png
-http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusters/${ontBean.name}
+http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusterv/$version/&lt;${ontBean.name}&gt;/
+http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusterv/$version/&lt;${ontBean.name}&gt;/thumb_0.333.png
 ~~~~~~~~~~

+_Where $version is the current clustering version number being used on the site.
+
 _Note the hardwiring of paths in here._
-
-_With the move to new clustering, these paths will need to be changed to:
-
-~~~~~~~~~~
-:::jsp
-http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusterv/&lt;$version&gt;/&lt;${ontBean.name}&gt;/
-http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusterv/&lt;$version&gt;/&lt;${ontBean.name}&gt;/thumb_0.333.png
-~~~~~~~~~~
-
-_Where \$version is the current clustering version number being used on the site.  For the next release, this will be '3'_

 __Column 2__ Exemplar name and source name + link
 Exemplar name is specified by \$\{ontBean.name\}.  The source name and link are generated with:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Fri, 07 Jun 2013 12:36:26 -0000</pubDate><guid>https://sourceforge.net08162bb7a2efd2950fdc8faac2035dedf480884e</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Wed, 05 Jun 2013 13:06:53 -0000</pubDate><guid>https://sourceforge.net3ebb18c6faf6c48de2b67cdd9684ceb4f3e69de9</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -17,15 +17,23 @@
 ('exemplar_of' some 'cluster') and ('neuron' that 'overlaps' some X))
 ~~~~~~~~~~

-The IDs returned by this are used to generate a list of OntBeanIndividuals.  The jsp page then iterates over these.
+The IDs returned by this are used to generate a list of OntBeanIndividuals.
+
+__Iteration__
+
+The JSP page iterates over the list of beans provided:

 ~~~~~~~~~~
 :::jsp
 
 ~~~~~~~~~~

-During each iteration, the ontBean is used to roll thirdPartyBean bean, using:
-set var="tpb" value="${ontBean.thirdPartyBean}.  This thirdPartyBean has paths etc from the VFB DB
+__During each iteration__: the ontBean is used to roll a related thirdPartyBean bean with paths etc from  paths etc from the VFB DB:
+
+~~~~~~~~~~
+:::jsp
+set var="tpb" value="${ontBean.thirdPartyBean}.  This thirdPartyBean has
+~~~~~~~~~~~

 ### Content of table by column:

@@ -37,9 +45,9 @@
 http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusters/${ontBean.name}
 ~~~~~~~~~~

-__Note the hardwiring of paths in here.__
+_Note the hardwiring of paths in here._

-_With the move to new clustering, these paths will need to be changed to_
+_With the move to new clustering, these paths will need to be changed to:

 ~~~~~~~~~~
 :::jsp
@@ -49,17 +57,24 @@

 _Where \$version is the current clustering version number being used on the site.  For the next release, this will be '3'_

+__Column 2__ Exemplar name and source name + link
+Exemplar name is specified by \$\{ontBean.name\}.  The source name and link are generated with:
+
 ~~~~~~~~~~
 :::jsp
-Column 2 (Exemplar name) is specified by ${ontBean.name}.  The source name and link are generated with: &lt;a href="../${tpb.baseUrl}${tpb.remoteId}"&gt;${ }&lt;/a&gt;
+ ( &lt;a href="../${tpb.baseUrl}${tpb.remoteId}"&gt;${  }&lt;/a&gt;
 ~~~~~~~~~~

-Column 3 Hyperlinked exemplar thumb + tooltip is generated with 
+__Column 3__:  Hyperlinked exemplar thumb + tooltip is generated with 
+
 ~~~~~~~~~~~
 :::jsp
-\&lt;a href="../${tpb.baseUrl}${tpb.remoteId}" title="View ${tpb.sourceName} entry"&gt;\&lt;img height="100" src="../${tpb.thumbUrl}" /&gt;&lt;/a&gt;
+&lt;a href="../${tpb.baseUrl}${tpb.remoteId}" title="View ${tpb.sourceName} entry"&gt;
+&lt;img height="100" src="../${tpb.thumbUrl}" /&gt;&lt;/a&gt;
+
 ~~~~~~~~~~
-Column 4 
+
+__Column 4__ 

 ~~~~~~~~~~~
 :::jsp
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Wed, 05 Jun 2013 13:05:57 -0000</pubDate><guid>https://sourceforge.net6a8fd7481090b488afe24268eae172f9163fe001</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,11 +2,9 @@

 __Example page:__ http://www.virtualflybrain.org/do/cluster_list.html?action=cluster_found&amp;amp;id=FBbt:00007401 

-__Generated by__ [clusterList.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp)
+__Generated by:__ [clusterList.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp)

-__Triggering query__
-
-It is triggered by this URL in [termMenuNeuropil.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/includes/bits/termMenuNeuropil.jsp)
+__Triggering query:__ From [termMenuNeuropil.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/includes/bits/termMenuNeuropil.jsp)

 ~~~~~~~~~~
 :::jsp
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Wed, 05 Jun 2013 13:01:24 -0000</pubDate><guid>https://sourceforge.net1c0fe0bf5791051902d16ff2c01257be3df54c7f</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,11 +1,10 @@
 # Generating cluster lists

-## Example page
+__Example page:__ http://www.virtualflybrain.org/do/cluster_list.html?action=cluster_found&amp;amp;id=FBbt:00007401 

-http://www.virtualflybrain.org/do/cluster_list.html?action=cluster_found&amp;amp;id=FBbt:00007401 
+__Generated by__ [clusterList.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp)

-Generated by [clusterList.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp)
-
+__Triggering query__

 It is triggered by this URL in [termMenuNeuropil.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/includes/bits/termMenuNeuropil.jsp)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Wed, 05 Jun 2013 12:59:35 -0000</pubDate><guid>https://sourceforge.netc21e64c7685a5ca6f086dd306bfa028b7f52a630</guid></item><item><title>Generating_cluster_lists modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/Generating_cluster_lists/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,9 +1,13 @@
-# [clusterList.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp)
+# Generating cluster lists

-Generates cluster list pages like this:
+## Example page
+
 http://www.virtualflybrain.org/do/cluster_list.html?action=cluster_found&amp;amp;id=FBbt:00007401 

-It is triggered by this URL in termMenuNeuropil.jsp:
+Generated by [clusterList.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp)
+
+
+It is triggered by this URL in [termMenuNeuropil.jsp](https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/includes/bits/termMenuNeuropil.jsp)

 ~~~~~~~~~~
 :::jsp
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Wed, 05 Jun 2013 12:58:31 -0000</pubDate><guid>https://sourceforge.netf223e991644ceaeb25270cf61445f882be629a49</guid></item><item><title>clusterList.jsp modified by David Osumi-Sutherland</title><link>https://sourceforge.net/p/virtualflybrain/wiki/clusterList.jsp/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="clusterlistjsp"&gt;&lt;a class="" href="https://sourceforge.net/p/virtualflybrain/code/HEAD/tree/eAtlasViewer/trunk/eAtlasViewer/WebContent/jsp/do/clusterList.jsp"&gt;clusterList.jsp&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Generates cluster list pages like this:&lt;br /&gt;
&lt;a href="http://www.virtualflybrain.org/do/cluster_list.html?action=cluster_found&amp;amp;id=FBbt:00007401" rel="nofollow"&gt;http://www.virtualflybrain.org/do/cluster_list.html?action=cluster_found&amp;amp;id=FBbt:00007401&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;It is triggered by this URL in termMenuNeuropil.jsp:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;/do/cluster_list.html?action=cluster_found&lt;span class="err"&gt;&amp;amp;&lt;/span&gt;id=${param.fbbtId}
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This passes the ID of the neuropil being displayed to a DL query, cluster_found, that lives in WebQueryUtils.java and has the form:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'exemplar_of'&lt;/span&gt; &lt;span class="n"&gt;some&lt;/span&gt; &lt;span class="s"&gt;'cluster'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'neuron'&lt;/span&gt; &lt;span class="n"&gt;that&lt;/span&gt; &lt;span class="s"&gt;'overlaps'&lt;/span&gt; &lt;span class="n"&gt;some&lt;/span&gt; &lt;span class="n"&gt;X&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The IDs returned by this are used to generate a list of OntBeanIndividuals.  The jsp page then iterates over these.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;c:forEach&lt;/span&gt; &lt;span class="na"&gt;items=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;${ontBeanList}&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;var=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;ontBean&amp;quot;&lt;/span&gt; &lt;span class="na"&gt;varStatus=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;status&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;During each iteration, the ontBean is used to roll thirdPartyBean bean, using:&lt;br /&gt;
set var="tpb" value="${ontBean.thirdPartyBean}.  This thirdPartyBean has paths etc from the VFB DB&lt;/p&gt;
&lt;h3 id="content-of-table-by-column"&gt;Content of table by column:&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Column 1&lt;/strong&gt; (cluster) thumb and hyperlink are specified as &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusters/${ontBean.name}/thumb_0.333.png
http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusters/${ontBean.name}
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Note the hardwiring of paths in here.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;With the move to new clustering, these paths will need to be changed to&lt;/em&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusterv/&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;$version&amp;gt;/&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;${ontBean.name}&amp;gt;/
http://flybrain.mrc-lmb.cam.ac.uk/vfb/fc/clusterv/&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;$version&amp;gt;/&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;${ontBean.name}&amp;gt;/thumb_0.333.png
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;em&gt;Where \$version is the current clustering version number being used on the site.  For the next release, this will be '3'&lt;/em&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;Column 2 (Exemplar name) is specified by ${ontBean.name}.  The source name and link are generated with: &lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;${tpb.baseUrl}${tpb.remoteId}&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;${  }&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Column 3 Hyperlinked exemplar thumb + tooltip is generated with &lt;br /&gt;
    :::jsp&lt;br /&gt;
    \&amp;lt;a href="${tpb.baseUrl}${tpb.remoteId}"title="View ${tpb.sourceName} entry"&amp;gt;\&amp;lt;img src="${tpb.thumbUrl}" height="100" /&amp;gt;&lt;br /&gt;
Column 4 &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;/do/individual_list.html?action=neuron_found&lt;span class="err"&gt;&amp;amp;&lt;/span&gt;id=${tpb.fbId}&lt;span class="err"&gt;&amp;amp;&lt;/span&gt;region=${ontBean.name}
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This runs the OWL query:&lt;br /&gt;
     'member_of' some ('has_exemplar' value )&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Osumi-Sutherland</dc:creator><pubDate>Wed, 05 Jun 2013 11:43:26 -0000</pubDate><guid>https://sourceforge.net23db04f45c07a546d2ecd6a90f0ecb47dafbe720</guid></item></channel></rss>