changeset 4:94863d48d5da draft

planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
author tduigou
date Mon, 09 Oct 2023 13:35:34 +0000
parents 7a8d6e36f5af
children 6941e7dc5117
files neo4jsbml.xml
diffstat 1 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/neo4jsbml.xml	Mon Oct 09 12:05:30 2023 +0000
+++ b/neo4jsbml.xml	Mon Oct 09 13:35:34 2023 +0000
@@ -8,14 +8,19 @@
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
         python -m neo4jsbml
-        --input-auradb-file '$input_auradb_file'
-        --input-file-sbml '$input_file_sbml'
-        --input-modelisation-json '$input_modelisation_json'
+            --input-auradb-file '$input_auradb_file'
+            --input-file-sbml '$input_file_sbml'
+            #if str($input_tag_str) != ""
+                --input-tag-str '$input_tag_str'
+            #end if
+            --input-modelisation-json '$input_modelisation_json' | tee '$output_log'
     ]]></command>
     <inputs>
         <param name="input_auradb_file" type="data" format="txt" label="Config file provided by AuraDB"/>
         <param name="input_file_sbml" type="data" format="sbml" label="SBML model"/>
-        <param name="input_tag_str" type="text" label="Identifier of the model"/>
+        <param name="input_tag_str" type="text" label="Identifier of the model">
+            <validator type="regex" message="No special characters allowed">^(?:[\w-]*)$</validator>
+        </param>
         <param name="input_modelisation_json" type="data" format="json" label="Arrow's schema"/>
     </inputs>
     <outputs>
@@ -50,12 +55,12 @@
 ------
 
 Database parameters
-| **Protocol**: choose the protocol (default: neo4j)
-| **Url of the database**: define the url of the database
-| **Port of the database**: define the port of the database (default: 7687)
-| **Username of the database**: User name of the database
-| **Password of the database**: file with the password
-| **Database name**: database name
+- **Protocol**: choose the protocol (default: neo4j)
+- **Url of the database**: define the url of the database
+- **Port of the database**: define the port of the database (default: 7687)
+- **Username of the database**: User name of the database
+- **Password of the database**: file with the password
+- **Database name**: database name
 
 Input
 - **SBML model**: SBML model