Skip to content

Commit

Permalink
Concat: reduce test resource size for a smaller memory footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesSchaumont committed Feb 16, 2024
1 parent bc9dc30 commit 1c71269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataflow/concatenate_h5mu/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def mudata_without_genome(tmp_path, request):
# (here atac:genome) next to the old 'column_name' (here just 'genome')
new_mudata.update_var()
new_mudata.var.drop('genome', axis=1, inplace=True)
new_mudata = new_mudata[0:500,] # subsample to reduce memory consumption
new_mudata = new_mudata[0:200,] # subsample to reduce memory consumption
new_path = tmp_path / Path(mudata_to_change).name
new_mudata.write(new_path, compression="gzip")
result.append(new_path)
Expand Down

0 comments on commit 1c71269

Please sign in to comment.