diff gemini_macros.xml @ 2:93bb0cfacefb draft

Uploaded
author iuc
date Mon, 12 Jan 2015 15:31:50 -0500
parents 720cbfb4190d
children ba3abde6775b
line wrap: on
line diff
--- a/gemini_macros.xml	Wed Aug 27 02:26:19 2014 -0400
+++ b/gemini_macros.xml	Mon Jan 12 15:31:50 2015 -0500
@@ -100,7 +100,7 @@
         </param>
     </xml>
 
-    <token name="@VERSION@">0.10.0</token>
+    <token name="@VERSION@">0.10.1</token>
 
     <token name="@CITATION@">------
 
@@ -115,4 +115,14 @@
         <yield />
     </citations>
   </xml>
+
+    <xml name="infile">
+        <param name="infile" type="data" format="gemini.sqlite" label="GEMINI database" help="Only files with version @VERSION@ are accepted." >
+            <options options_filter_attribute="metadata.gemini_version" >
+                <filter type="add_value" value="@VERSION@" />
+            </options>
+            <validator type="expression" message="This version of Gemini will only work with Gemini files that are for version @VERSION@.">value is not None and value.metadata.gemini_version == "@VERSION@"</validator>
+        </param>
+    </xml>
+
 </macros>