# HG changeset patch # User greg # Date 1486569722 18000 # Node ID 906d5277042c9f72935163d9438c41bf3b7cae25 # Parent 4a6834056e1e687e8651878f51f4674c8059f945 Uploaded diff -r 4a6834056e1e -r 906d5277042c gene_family_classifier.xml --- a/gene_family_classifier.xml Tue Feb 07 14:24:32 2017 -0500 +++ b/gene_family_classifier.xml Wed Feb 08 11:02:02 2017 -0500 @@ -96,12 +96,16 @@ #else: && ls -l $orthogroups_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptcgf #end if - && mv $orthogroups_fasta_src_dir/* $orthogroups_fasta_dest_dir || true + #if len($os.listdir($orthogroups_fasta_src_dir)) > 0: + && mv $orthogroups_fasta_src_dir/* $orthogroups_fasta_dest_dir || true + #end if #end if #if $single_copy_orthogroup: && ls -l $single_copy_fasta_src_dir | grep f | awk -F ' ' '{print $5"\t"$9}' > $output_ptsco - && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir || true + #if len($os.listdir($single_copy_fasta_src_dir)) > 0: + && mv $single_copy_fasta_src_dir/* $single_copy_fasta_dest_dir || true + #end if #end if ]]>