# HG changeset patch
# User greg
# Date 1513865785 18000
# Node ID c088c185f63fd84bc33758f1d7c6c04fe752e05a
# Parent  a7867769a70617d1a2437810b771d98ae8047b4c
Uploaded

diff -r a7867769a706 -r c088c185f63f gene_family_phylogeny_builder.xml
--- a/gene_family_phylogeny_builder.xml	Mon Oct 30 09:53:46 2017 -0400
+++ b/gene_family_phylogeny_builder.xml	Thu Dec 21 09:16:25 2017 -0500
@@ -42,7 +42,11 @@
 --min_orthogroup_size $min_orthogroup_size
 --max_orthogroup_size $max_orthogroup_size
 --num_threads \${GALAXY_SLOTS:-4}
-&>proc.log
+&>gene_family_phylogeny_builder_log.txt;
+if [[ $? -ne 0 ]]; then
+    find geneFamilyPhylogenies_dir -type d -maxdepth 1 -exec cp gene_family_phylogeny_builder_log.txt {} \;
+    exit 1;
+fi
     ]]></command>
     <inputs>
         <param name="input" format="fasta" type="data_collection" collection_type="list" label="Proteins orthogroup alignments" />