Skip to content

Commit

Permalink
fix multiqc folder creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcla authored and jdcla committed Dec 2, 2024
1 parent 3b2e0a3 commit 720cacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion transcript_transformer/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def construct_output_table(
# only data and indices of sparse object are required (all counts are summed over read lengths)
for h in ["data", "indices", "indptr", "shape"]:
if parallel:
ribo_data = np.add.reduce(
counts = np.add.reduce(
[
np.array(h5py.File(a)[f"{p}/{h}"])[df_ribo["h5_idx"]]
for a, p in ribo_paths
Expand Down
2 changes: 1 addition & 1 deletion transcript_transformer/ribotie.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def main():
)
if df is not None:
csv_to_gtf(args.h5_path, df, out_prefix, args.exclude_annotated)
os.makedirs(f"{args.out_prefix}/multiqc", exist_ok=True)
os.makedirs(f"{os.path.dirname(args.out_prefix)}/multiqc", exist_ok=True)
create_multiqc_reports(
df, f"{os.path.dirname(args.out_prefix)}/multiqc/{ribo_set_str}"
)
Expand Down

0 comments on commit 720cacd

Please sign in to comment.