diff data_manager/resource_building.py @ 32:76924e57a230 draft

planemo upload commit c89c5deac442c0c2aa52b24f2c5af4b290773fc0-dirty
author dchristiany
date Mon, 28 Jan 2019 08:34:02 -0500
parents b8271b9a1049
children cdeffb3670c3
line wrap: on
line diff
--- a/data_manager/resource_building.py	Mon Jan 28 08:20:58 2019 -0500
+++ b/data_manager/resource_building.py	Mon Jan 28 08:34:02 2019 -0500
@@ -63,7 +63,7 @@
     # Define organism_id (here Human) - to be upraded when other organism added to the project
     organism_id = "2"
     # Extract sample_category_id and output filename
-    tissue=tissue.split(".")
+    tissue=tissue.split("-")
     sample_category_id = tissue[0]
     name = tissue[1]
     output_file = name+"_"+time.strftime("%d-%m-%Y") + ".tsv"