diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-08 23:33:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-08 23:33:13 +0100 |
commit | 900dd293f8087dff1643b45d7b836702a9ea8fd9 (patch) | |
tree | 0829d8047ff5fda91e78e53de3bd01c094d837b8 /sci-biology/pysam/files | |
parent | 02f2b9c649c1687088b6ccb6d30b35f519f107cf (diff) |
gentoo auto-resync : 08:04:2023 - 23:33:13
Diffstat (limited to 'sci-biology/pysam/files')
-rw-r--r-- | sci-biology/pysam/files/pysam-0.21.0-cython-3.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-biology/pysam/files/pysam-0.21.0-cython-3.patch b/sci-biology/pysam/files/pysam-0.21.0-cython-3.patch new file mode 100644 index 000000000000..303a4fb0dcdc --- /dev/null +++ b/sci-biology/pysam/files/pysam-0.21.0-cython-3.patch @@ -0,0 +1,24 @@ +From 17bb13dcfdb56ac238458dcef23fe01893a892e9 Mon Sep 17 00:00:00 2001 +From: John Marshall <jmarshall@hey.com> +Date: Sat, 8 Apr 2023 11:00:46 +1200 +Subject: [PATCH] Remove incorrect type annotation + +The annotation already in pysam/libcbcf.pyi is correct. +Fixes #1179 as reopened on April 6th. +--- + pysam/libcbcf.pyx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pysam/libcbcf.pyx b/pysam/libcbcf.pyx +index 8c088af2..8ecfe5f3 100644 +--- a/pysam/libcbcf.pyx ++++ b/pysam/libcbcf.pyx +@@ -3479,7 +3479,7 @@ cdef class VariantRecordSample(object): + return bcf_format_get_alleles(self) + + @alleles.setter +- def alleles(self, value: tuple): ++ def alleles(self, value): + # Sets the genotype, supply a tuple of alleles to set. + # The supplied alleles need to be defined in the correspoding pysam.libcbcf.VariantRecord + # The genotype is reset when an empty tuple, None or (None,) is supplied |