changeset 1:6854ac8c5d2b draft

planemo upload for repository https://github.com/brsynth commit 6ae809b563b40bcdb6be2e74fe2a84ddad5484ae
author tduigou
date Thu, 24 Apr 2025 12:02:14 +0000
parents 034686b5bc15
children 81e9e1d803fa
files save_to_db.xml verification.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/save_to_db.xml	Thu Apr 24 09:56:36 2025 +0000
+++ b/save_to_db.xml	Thu Apr 24 12:02:14 2025 +0000
@@ -30,7 +30,7 @@
         <param name="db_uri" type="text" label="Database Connection URI" help="postgresql+psycopg2://username:password@db_container_name:port/database" optional="false" />
     </inputs>   
     <outputs>
-        <data name="output" format="txt" label="text raport" />
+        <data name="output" format="txt" label="saving report" />
     </outputs>
     <tests>
     <!--python save_to_db.py -input 'test-data/p7_L7Ae-Weiss.gb,test-data/p6_Nt-IgKLsequence.gb,test-data/p6_Kozak-ATG.gb,test-data/p4_Kt-L7Ae-Weiss.gb,test-data/HC_Amp_ccdB.gb' -sequence_column 'sequence' -annotation_column 'annotation' -db_uri 'postgresql://postgres:RK17@localhost:5432/test_fragments_db' -table 'sample' -fragment_column 'fragment' -output 'test-data/test_raport.txt'
--- a/verification.py	Thu Apr 24 09:56:36 2025 +0000
+++ b/verification.py	Thu Apr 24 12:02:14 2025 +0000
@@ -1,6 +1,6 @@
 from sqlalchemy import create_engine, text
 
-db_uri = "postgresql://postgres:RK17@localhost:5432/test_fragments_db"
+db_uri = "postgresql://postgres:RK17@localhost:5432/test_fragments_db" #adapt with your URI's DB
 engine = create_engine(db_uri)
 
 with engine.connect() as conn: