@@ -31,6 +31,7 @@ rule create_test_file:
3131 # END OF RUN BLOCK
3232
3333
34+
3435rule test_log_functions :
3536 """
3637 Test pyutil logging functions
@@ -51,6 +52,7 @@ rule test_log_functions:
5152 # END OF RUN BLOCK
5253
5354
55+
5456rule test_find_script_success :
5557 input :
5658 expand (rules .test_log_functions .output , logtype = ["err" , "out" ]),
@@ -69,6 +71,7 @@ rule test_find_script_success:
6971 # END OF RUN BLOCK
7072
7173
74+
7275rule test_find_script_fail :
7376 input :
7477 rules .test_find_script_success .output ,
@@ -88,6 +91,7 @@ rule test_find_script_fail:
8891 # END OF RUN BLOCK
8992
9093
94+
9195rule test_rsync_f2d :
9296 input :
9397 rules .create_test_file .output ,
@@ -106,6 +110,7 @@ rule test_rsync_f2d:
106110 # END OF RUN BLOCK
107111
108112
113+
109114rule test_rsync_f2f :
110115 input :
111116 rules .create_test_file .output ,
@@ -118,6 +123,7 @@ rule test_rsync_f2f:
118123 # END OF RUN BLOCK
119124
120125
126+
121127rule test_rsync_fail :
122128 input :
123129 rules .create_test_file .output ,
@@ -138,6 +144,7 @@ rule test_rsync_fail:
138144 # END OF RUN BLOCK
139145
140146
147+
141148rule test_git_labels :
142149 input :
143150 rules .test_rsync_f2d .output ,
@@ -155,15 +162,18 @@ rule test_git_labels:
155162 # END OF RUN BLOCK
156163
157164
165+
158166if USE_REFERENCE_CONTAINER :
159167 CONTAINER_TEST_FILES = [
160168 DIR_GLOBAL_REF .joinpath ("genome.fasta.fai" ),
169+ DIR_GLOBAL_REF .joinpath ("exclusions.bed" ),
170+ DIR_GLOBAL_REF .joinpath ("hg38_full.fasta.fai" ),
161171 DIR_PROC .joinpath (".cache" , "refcon" , "refcon_manifests.cache" ),
162172 ]
163- REGISTER_REFERENCE_FILE = CONTAINER_TEST_FILES [0 ]
173+ REGISTER_REFERENCE_FILES = CONTAINER_TEST_FILES [: 3 ]
164174else :
165175 CONTAINER_TEST_FILES = []
166- REGISTER_REFERENCE_FILE = []
176+ REGISTER_REFERENCE_FILES = []
167177
168178
169179rule trigger_tests :
@@ -174,7 +184,7 @@ rule trigger_tests:
174184 DIR_RES .joinpath ("testing" , "all-ok.txt" ),
175185 params :
176186 acc_out = lambda wildcards , output : register_result (output ),
177- acc_ref = lambda wildcards , input : register_reference (REGISTER_REFERENCE_FILE ),
187+ acc_ref = lambda wildcards , input : register_reference (REGISTER_REFERENCE_FILES ),
178188 run :
179189 with open (output [0 ], "w" ) as testfile :
180190 testfile .write ("ok" )
0 commit comments