<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.8%2FDevelopers%2FTutorials%2FUploadTestData</id>
	<title>Documentation/4.8/Developers/Tutorials/UploadTestData - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.8%2FDevelopers%2FTutorials%2FUploadTestData"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Tutorials/UploadTestData&amp;action=history"/>
	<updated>2026-04-11T01:30:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Tutorials/UploadTestData&amp;diff=55214&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.8</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Tutorials/UploadTestData&amp;diff=55214&amp;oldid=prev"/>
		<updated>2017-10-18T07:01:41Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.8&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
Slicer has adopted [http://slicer.kitware.com/midas3 MIDAS] to store testing and algorithm validation dataset. For this purpose, we have created a dedicated [http://slicer.kitware.com/midas3/community/23 NA-MIC MIDAS community]&lt;br /&gt;
&lt;br /&gt;
In the NA-MIC community [http://slicer.kitware.com/midas3/folder/301 &amp;lt;code&amp;gt;Slicer/Data&amp;lt;/code&amp;gt;] folder, you will find:&lt;br /&gt;
* [http://slicer.kitware.com/midas3/folder/302 Application]&lt;br /&gt;
* [http://slicer.kitware.com/midas3/folder/310 Modules]&lt;br /&gt;
&lt;br /&gt;
To organize the test data based on Slicer major release, you will find sub folders like:&lt;br /&gt;
* &amp;lt;code&amp;gt;Nightly&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;4.2&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;4.3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test data are expected to be stored in folders like:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Application/Nightly/Testing/Baseline&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Application/Nightly/Testing/Input&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/&amp;amp;lt;NameOfYourModule&amp;amp;gt;/Nightly/Testing/Baseline&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/&amp;amp;lt;NameOfYourModule&amp;amp;gt;/Nightly/Testing/Input&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Application/X.Y/Testing/Baseline&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Application/X.Y/Testing/Input&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/&amp;amp;lt;NameOfYourModule&amp;amp;gt;/X.Y/Testing/Baseline&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/&amp;amp;lt;NameOfYourModule&amp;amp;gt;/X.Y/Testing/Input&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;amp;lt;NameOfYourModule&amp;amp;gt;&amp;lt;/code&amp;gt;: name of the folder in the source repository, it should also match the module pages created on the slicer wiki.&lt;br /&gt;
* &amp;lt;code&amp;gt;Input&amp;lt;/code&amp;gt;: Used to store testing input data.&lt;br /&gt;
* &amp;lt;code&amp;gt;Baseline&amp;lt;/code&amp;gt;: Used to store the baseline images for regression tests.&lt;br /&gt;
&lt;br /&gt;
= Upload test data =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol start=&amp;quot;1&amp;quot; style=&amp;quot;list-style-type: decimal;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{:Documentation/{{documentation/version}}/Developers/Tutorials/CreateMidasAccount/steps}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Send an email on the developer list asking to be added to the &amp;lt;code&amp;gt;DataManager&amp;lt;/code&amp;gt; group on NA-MIC community. That will grant you read/write permissions to the &amp;lt;code&amp;gt;Data&amp;lt;/code&amp;gt; folder and sub-folders.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a sub folder for your Module.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Create a &amp;lt;code&amp;gt;Nightly&amp;lt;/code&amp;gt; sub-folder.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Upload data in folders &amp;lt;code&amp;gt;Nightly/Testing/Baseline&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Nightly/Testing/Input&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=330px heights=220px perrow=4&amp;gt;&lt;br /&gt;
File:Midas-test-data-upload-1.png|Browse, select the destination folder (1) and click on View (2)&lt;br /&gt;
File:Midas-test-data-upload-2.png|Select an item (3) and click &amp;quot;Upload here&amp;quot; (4)&lt;br /&gt;
File:Midas-test-data-upload-3.png|Select one or more files (5) and click &amp;quot;Upload&amp;quot; button (6)&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= FAQ =&lt;br /&gt;
&lt;br /&gt;
== What happen when Slicer is released ? ==&lt;br /&gt;
&lt;br /&gt;
Each time a  release of Slicer is done, for both the &amp;lt;code&amp;gt;Application&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Modules/&amp;amp;lt;NameOfYourModule&amp;amp;gt;&amp;lt;/code&amp;gt; folders, the current &amp;lt;code&amp;gt;Nightly&amp;lt;/code&amp;gt; is copied into an &amp;lt;code&amp;gt;X.Y&amp;lt;/code&amp;gt; folders where X and Y corresponds to the major and minor release number of Slicer.&lt;br /&gt;
&lt;br /&gt;
== Should data for extension be organized differently ? ==&lt;br /&gt;
&lt;br /&gt;
For now, let's keep all of them at the same level. We will have to coordinate with the development of the release script allowing to version the Data tree. See [http://slicer-devel.65872.n3.nabble.com/Versioning-of-test-data-tree-on-slicer-kitware-com-What-does-this-mean-for-you-tt4026608.html here]&lt;br /&gt;
&lt;br /&gt;
It means if you develop an extension named &amp;lt;code&amp;gt;Salad&amp;lt;/code&amp;gt; bundling two modules respectively named &amp;lt;code&amp;gt;Tomato&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; Mozzarella&amp;lt;/code&amp;gt;, the following folders would have to be created:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/Tomato/Nightly/Testing/Baseline&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/Tomato/Nightly/Testing/Input&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/Mozzarella/Nightly/Testing/Baseline&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;Data/Modules/Mozzarella/Nightly/Testing/Input&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consider also monitoring issue [http://www.na-mic.org/Bug/view.php?id=2722 #2722]: Think about organization of Data/Modules directory on midas to accomodate extension relationship&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>