changeset 25:90b70165739d draft

Found missing # before an if. Fixed it.
author trinity_ctat
date Sun, 21 Oct 2018 20:51:46 -0400
parents f99a412721a3
children 1e02c37921fd
files data_manager/add_ctat_resource_lib.xml
diffstat 1 files changed, 18 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/add_ctat_resource_lib.xml	Sun Oct 21 20:47:42 2018 -0400
+++ b/data_manager/add_ctat_resource_lib.xml	Sun Oct 21 20:51:46 2018 -0400
@@ -13,17 +13,30 @@
           python $__tool_directory__/add_ctat_resource_lib.py 
             --output_filename="${out_file}" 
             --display_name="${display_name}"            
-            #if str( $genome_resource_library.build_type ) == "build_from_source":
+            #if str( $genome_resource_library.build_type ) == "download_and_build":
+              --download_url="${genome_resource_library.download_url}" 
+              --download_location="${genome_resource_library.download_destination}"
+              #if str( $genome_resource_library.force_new_download ) == "true":
+                --new_archive_download
+              #end if
+              #if str( $genome_resource_library.keep_archive ) == "true":
+                --keep_archive
+              #end if
+              #if str( $genome_resource_library.rebuild ) == "true":
+                --new_library_build
+              #end if
+              #if str( $genome_resource_library.specify_build_location.build_location ) == "different_location":
+                  --build_location="${genome_resource_library.specify_build_location.different_build_location}"
+              #end if
+            #elif str( $genome_resource_library.build_type ) == "build_from_source":
               --source_location "${genome_resource_library.source_location}"
               #if str( $genome_resource_library.rebuild ) == "true":
                 --new_library_build
               #end if
-              if str( $genome_resource_library.specify_build_location.build_location ) == "true":
+              #if str( $genome_resource_library.specify_build_location.build_location ) == "true":
                   --build_location="${genome_resource_library.specify_build_location.different_build_location}"
               #end if
-            #end if
-            
-            #if str( $genome_resource_library.build_type ) == "specify_built_location":
+            #elif str( $genome_resource_library.build_type ) == "specify_built_location":
               --build_location="${genome_resource_library.built_library_location}"
             #end if