Skip to content

Commit

Permalink
Merge branch 'dev' into exe-1867-bug-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ludvigla committed Jul 9, 2024
2 parents 0643f88 + 4404d87 commit d5d3d96
Show file tree
Hide file tree
Showing 10 changed files with 953 additions and 799 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

* The default transformation for the calculation of the colocalization score is now `rate-diff` instead of `log1p`.
* Rename `edge_rank_plot` function to `molecule_rank_plot`.

### Fixed

Expand All @@ -27,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
to much memory). This allows e.g. Nextflow to retry the process with more memory automatically.
* Hide the `Sample Description` metadata field in the QC report when no value is available.
* Fix an issue where boolean parameters were formatted as integers in the Parameters section of the QC report.
* A bug in aggregating files with precomputed layouts, where the lazy-loading of the layouts was not working correctly.

### Removed

Expand Down
4 changes: 3 additions & 1 deletion src/pixelator/pixeldataset/precomputed_layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ def __init__(
self._data_provider: _DataProvider = _EmptyDataProvider()
elif isinstance(layouts_lazy, pl.LazyFrame):
self._data_provider = _SingleFrameDataProvider(layouts_lazy)
elif isinstance(layouts_lazy, pl.DataFrame):
self._data_provider = _SingleFrameDataProvider(layouts_lazy.lazy())
elif isinstance(layouts_lazy, Iterable):
self._data_provider = _MultiFrameDataProvider(layouts_lazy)
else:
Expand Down Expand Up @@ -363,7 +365,7 @@ def data():

try:
return PreComputedLayouts(
pl.concat(data(), rechunk=False),
pl.concat(data(), rechunk=True).collect(),
partitioning=["sample"] + PreComputedLayouts.DEFAULT_PARTITIONING,
)
except ValueError:
Expand Down
Loading

0 comments on commit d5d3d96

Please sign in to comment.