test/rbbt/hpc/test_batch.rb in rbbt-util-5.34.27 vs test/rbbt/hpc/test_batch.rb in rbbt-util-5.35.1

- old
+ new

@@ -4,43 +4,43 @@ Workflow.require_workflow "Sample" Workflow.require_workflow "HTS" class TestSLURM < Test::Unit::TestCase - def _test_batch_options + def test_batch_options job = Sample.job(:mutect2, "small", :reference => "hg38") TmpFile.with_file do |batch_dir| options = HPC::BATCH.batch_options(job, :batch_dir => batch_dir, :batch_modules => 'java') iii options end end - def _test_template + def test_template job = Sample.job(:mutect2, "small", :reference => "hg38") TmpFile.with_file do |batch_dir| template = HPC::BATCH.job_template(job, :batch_dir => batch_dir, :batch_modules => 'java') ppp template end end - def _test_template_singularity + def test_template_singularity job = Sample.job(:mutect2, "small", :reference => "hg38") TmpFile.with_file do |batch_dir| template = HPC::BATCH.job_template(job, :batch_dir => batch_dir, :batch_modules => 'java', :singularity => true) ppp template end end - def _test_template_contain + def test_template_contain job = Sample.job(:mutect2, "small", :reference => "hg38") TmpFile.with_file do |batch_dir| template = HPC::BATCH.job_template(job, :batch_dir => batch_dir, :batch_modules => 'java', :contain_and_sync => true, :wipe_container => 'force')