Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create GitHub Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
2 changes: 1 addition & 1 deletion polyase/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
of allelic imbalance in polyploid plant genomes.
"""

__version__ = "1.3.2"
__version__ = "1.3.3"
__author__ = "Nadja Nolte"

from .allele_utils import AlleleRatioCalculator, calculate_allelic_ratios
Expand Down
2 changes: 1 addition & 1 deletion polyase/allele_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_ratios_for_synt_id(self, synt_id, ratio_layer='allelic_ratio_unique_coun
raise ValueError(f"Ratio layer '{ratio_layer}' not found. Calculate ratios first.")

mask = self.adata.var['Synt_id'] == synt_id
return self.adata.layers[ratio_layer][mask]
return self.adata.layers[ratio_layer][:, mask]


def calculate_allelic_ratios(adata, counts_layer='unique_counts'):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "polyase"
version = "1.3.2"
version = "1.3.3"
description = "A package for analyzing allele-specific expression in polyploid organisms"
authors = [
{name = "nadja.franziska.nolte@nib.si"}
Expand Down
Loading