<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Virtual Fly Brain – Deprecation</title>
    <link>https://www.virtualflybrain.org/tags/deprecation/</link>
    <description>Recent content in Deprecation on Virtual Fly Brain</description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Tue, 30 Jun 2026 00:00:00 +0000</lastBuildDate>
    
	  <atom:link href="https://www.virtualflybrain.org/tags/deprecation/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: Dataset Versions and Deprecation</title>
      <link>https://www.virtualflybrain.org/docs/data/em/versioning/</link>
      <pubDate>Tue, 30 Jun 2026 00:00:00 +0000</pubDate>
      
      <guid>https://www.virtualflybrain.org/docs/data/em/versioning/</guid>
      <description>
        
        
        &lt;p&gt;Connectomic datasets are not static: reconstructions are re-released as proofreading
improves, neurons are split, merged or re-identified, and the resources that host them
may occasionally move or shut down. When VFB ingests a new release, it must decide what
happens to the entities from the previous version. This page documents those policies so
that users understand why a neuron, link or connection may change, disappear, or persist
between releases.&lt;/p&gt;
&lt;h2 id=&#34;affected-entities&#34;&gt;Affected entities&lt;/h2&gt;
&lt;p&gt;A connectomic dataset is represented in VFB by several types of graph node and edge:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Node / edge&lt;/th&gt;
&lt;th&gt;What it represents&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;DataSet nodes&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A specific released version of a dataset (e.g. a FlyWire release). Neurons are attached to it via &lt;code&gt;has_source&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Site (data source) nodes&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The external resource that hosts the data (e.g. Codex, NeuPrint, CATMAID). Holds the &lt;code&gt;link_base&lt;/code&gt; used to build cross-reference links, and is flagged &lt;code&gt;is_data_source = [true]&lt;/code&gt; when it is the canonical source for its neurons.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Neuron (Individual) nodes&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A single reconstructed neuron, cell typed by linking to anatomy ontology (FBbt) nodes via &lt;code&gt;INSTANCEOF&lt;/code&gt; edges, with other annotations (soma location, developmental origin, sex, etc.) linked via other edge types.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Image / Channel nodes&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The Neuron&amp;rsquo;s aligned image(s) and the channel(s) registered to a template.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Connectivity edges&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Synaptic connectivity (&lt;code&gt;synapsed_to&lt;/code&gt;) between Neurons.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cross-reference edges&lt;/strong&gt; (&lt;code&gt;database_cross_reference&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Links a Neuron to a Site, carrying the &lt;code&gt;accession&lt;/code&gt; (the Neuron&amp;rsquo;s ID in that resource).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;core-principle-site-and-neuron-deprecation-are-independent&#34;&gt;Core principle: Site and Neuron deprecation are independent&lt;/h2&gt;
&lt;p&gt;Whether a &lt;strong&gt;Site&lt;/strong&gt; is deprecated and whether a &lt;strong&gt;Neuron&lt;/strong&gt; is deprecated are decided
separately. A Neuron can be valid while its data source is deprecated, and a data source can
remain live while individual Neurons within it are retired. The two states are tracked
independently and have different consequences (below).&lt;/p&gt;
&lt;p&gt;Deprecation does &lt;strong&gt;not&lt;/strong&gt; delete a node. The node and its identifier are retained (so old
IDs resolve), but it is marked deprecated and treated accordingly.&lt;/p&gt;
&lt;h2 id=&#34;what-happens-when-a-new-dataset-version-is-released&#34;&gt;What happens when a new dataset version is released&lt;/h2&gt;
&lt;p&gt;For example, when BANC v626 (the &lt;em&gt;old&lt;/em&gt; version) is replaced by v888 (the &lt;em&gt;new&lt;/em&gt; version):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New nodes are created for the new Site and DataSet, and for any new Neurons in the release (accessions that were not previously in VFB). The markers that identify a Site as the live, canonical connectome source — its symbol (the short dataset code listed in &lt;a href=&#34;https://www.virtualflybrain.org/docs/data/em/&#34;&gt;EM Data&lt;/a&gt;), &lt;code&gt;Connectome&lt;/code&gt; label and &lt;code&gt;is_data_source&lt;/code&gt; flag — are transferred from the old Site to the new one (removed from the old, added to the new), so the new Site takes over as the canonical source.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;term_replaced_by&lt;/code&gt; edge is added to link the old and new DataSet/Site.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Old DataSet&lt;/strong&gt; — &lt;strong&gt;deprecated&lt;/strong&gt; (superseded by the new DataSet, which it links to via &lt;code&gt;term_replaced_by&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Old Sites that still exist, i.e. links will still resolve&lt;/strong&gt; — &lt;em&gt;not&lt;/em&gt; deprecated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Old Sites that no longer exist, i.e. links will not resolve&lt;/strong&gt; — &lt;strong&gt;deprecated&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Neurons with accessions that persist in the new data&lt;/strong&gt; — &lt;em&gt;not&lt;/em&gt; deprecated. They keep their &lt;code&gt;database_cross_reference&lt;/code&gt; edge to the
old Site &lt;strong&gt;and&lt;/strong&gt; gain an edge to the new Site.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Neurons with accessions that are not present in the new data&lt;/strong&gt; — &lt;strong&gt;deprecated&lt;/strong&gt;. They have no &lt;code&gt;database_cross_reference&lt;/code&gt; edge to the new
Site; their only cross-reference is to the old, deprecated Site.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Connectivity edges&lt;/strong&gt; are replaced with edges from the new data for Neurons that are not deprecated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Old images&lt;/strong&gt; are removed. Images from the new data are loaded for Neurons that are not deprecated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cell type / FBbt links&lt;/strong&gt; are replaced with annotations based on the new data for Neurons that are not deprecated. These may be removed from deprecated Neurons if they are incorrect based on the new data, or retained if they are still valid.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Channel&lt;/strong&gt; nodes are always retained (&lt;em&gt;not&lt;/em&gt; deprecated). Deprecation is not necessary, as all queries are keyed off of the Neuron node.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;what-happens-when-a-datasetsite-is-retired-with-no-replacement&#34;&gt;What happens when a dataset/site is retired with no replacement&lt;/h2&gt;
&lt;p&gt;The Site is &lt;strong&gt;deprecated&lt;/strong&gt; and there is no new Site.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Neurons&lt;/strong&gt; — remain valid (&lt;em&gt;not&lt;/em&gt; deprecated) and &lt;strong&gt;remain valid query targets&lt;/strong&gt;.
Their only data source is now a deprecated Site, so no link can be built to a live
resource, but the Neurons, their connectivity and their images are still served.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Site&lt;/strong&gt; — &lt;strong&gt;deprecated&lt;/strong&gt;, but its &lt;code&gt;is_data_source&lt;/code&gt; flag remains &lt;code&gt;[true]&lt;/code&gt; so the Site stays the canonical source for its Neurons. That attribution is what keeps those Neurons discoverable: they continue to be picked up by queries even though their Site is deprecated.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The DataSet&lt;/strong&gt; — &lt;em&gt;not&lt;/em&gt; deprecated: with no replacement version to supersede it, it remains the current representation of the data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;effects-on-the-website-and-queries&#34;&gt;Effects on the website and queries&lt;/h2&gt;
&lt;p&gt;These follow from the states above and are enforced when results are generated:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Deprecated Neurons&lt;/strong&gt; are excluded from connectivity results and from the Neuron counts
used in connectivity summaries (so they do not appear as partners and do not affect
percentages).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deprecated Sites&lt;/strong&gt; never produce a clickable external link. Where a results table has
source / accession columns (e.g. instance and similar-neuron tables, connectivity
tables), the source name and accession are still shown as &lt;strong&gt;plain text&lt;/strong&gt; — they are just
not linked. In the &lt;a href=&#34;https://www.virtualflybrain.org/docs/website-features/terminfo/&#34;&gt;Term Info&lt;/a&gt; cross-reference list,
whose entries exist specifically to be links, a deprecated Site&amp;rsquo;s entry is omitted.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Neurons whose only data source is a deprecated Site&lt;/strong&gt; remain valid query
targets and are returned normally; only their outbound link to the dead resource is
suppressed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;technical-note&#34;&gt;Technical note&lt;/h2&gt;
&lt;p&gt;Both &lt;code&gt;is_data_source&lt;/code&gt; and the deprecation flag are stored as list-valued annotations in the
database (e.g. &lt;code&gt;is_data_source = [true]&lt;/code&gt;). Deprecation also surfaces in the search index as
&lt;code&gt;Deprecated&lt;/code&gt; within the node&amp;rsquo;s &lt;code&gt;types&lt;/code&gt; list. Result-generating code keys off these
annotations to apply the behaviours above; Site and Neuron deprecation are checked
independently.&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.virtualflybrain.org/docs/data/em/&#34;&gt;EM Data&lt;/a&gt; — the integrated connectomic datasets and their versions.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.virtualflybrain.org/docs/resources/&#34;&gt;Resources&lt;/a&gt; — the external sites/resources that host the data.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.virtualflybrain.org/docs/website-features/terminfo/&#34;&gt;Term Info&lt;/a&gt; — where cross-references and connectivity are shown.&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
