Skip to content

Commit

Permalink
Merge pull request #348 from lilab-bcb/yiming
Browse files Browse the repository at this point in the history
Fix cyclic dependency on cluster.output_h5ad used for both input and output variable name
  • Loading branch information
yihming authored Jul 18, 2022
2 parents 32ca4af + 13d9cfc commit 788a3df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions workflows/cumulus/cumulus.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ workflow cumulus {
backend = backend
}

if (length(cluster.output_h5ad) > 0) {
scatter (focus_h5ad in cluster.output_h5ad) {
if (length(cluster.output_h5ad_file) > 0) {
scatter (focus_h5ad in cluster.output_h5ad_file) {
String focus_prefix = basename(focus_h5ad, ".h5ad")

if (perform_de_analysis) {
Expand Down Expand Up @@ -493,7 +493,7 @@ workflow cumulus {
File? output_aggr_zarr = aggregate_matrices.output_zarr
File output_zarr = cluster.output_zarr
File output_cluster_log = cluster.output_log
Array[File] output_h5ad = cluster.output_h5ad
Array[File] output_h5ad_file = cluster.output_h5ad_file
Array[File] output_filt_xlsx = cluster.output_filt_xlsx
Array[File] output_filt_plot = cluster.output_filt_plot
Array[File] output_hvf_plot = cluster.output_hvf_plot
Expand Down
2 changes: 1 addition & 1 deletion workflows/cumulus/cumulus_tasks.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ task run_cumulus_cluster {
output {
File output_zarr = "~{output_name}.zarr.zip"
Array[File] output_h5ad = glob("~{output_name}.*.h5ad")
Array[File] output_h5ad_file = glob("~{output_name}.*.h5ad")
Array[File] output_filt_xlsx = glob("~{output_name}.*.filt.xlsx")
Array[File] output_filt_plot = glob("~{output_name}.*.filt.*.pdf")
Array[File] output_hvf_plot = glob("~{output_name}.*.hvf.pdf")
Expand Down

0 comments on commit 788a3df

Please sign in to comment.