[med-svn] [Git][med-team/scanpy][master] patch import scanpy python module on R as sc and sce
Robbi Nespu
gitlab at salsa.debian.org
Tue Mar 23 15:24:34 GMT 2021
Robbi Nespu pushed to branch master at Debian Med / scanpy
Commits:
18bfab70 by Robbi Nespu at 2021-03-23T23:24:03+08:00
patch import scanpy python module on R as sc and sce
- - - - -
3 changed files:
- + debian/patches/import_sc_sce_on_r.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/patches/import_sc_sce_on_r.patch
=====================================
@@ -0,0 +1,15 @@
+diff --git a/scanpy/tests/_scripts/seurat_extract_hvg_v3.r b/scanpy/tests/_scripts/seurat_extract_hvg_v3.r
+index 3ac7087..dc1f835 100644
+--- a/scanpy/tests/_scripts/seurat_extract_hvg_v3.r
++++ b/scanpy/tests/_scripts/seurat_extract_hvg_v3.r
+@@ -2,7 +2,9 @@ library(Seurat)
+ library(reticulate)
+ use_python("/usr/local/bin/python3")
+
+-sc <- import("scanpy", convert=FALSE)
++sc <- import("scanpy",as=sc, convert=FALSE)
++sce <- import("scanpy.external",as=sce, convert=FALSE)
++
+
+ ad <- sc$datasets$pbmc3k()
+ ad$X <- ad$X$toarray()
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
+import_sc_sce_on_r.patch
refactor_pl_py.patch
avoid_setuptools_scm.patch
=====================================
debian/rules
=====================================
@@ -9,6 +9,8 @@ export PYBUILD_AFTER_TEST=rm -rf {build_dir}/pyproject.toml {build_dir}/$(PYBUIL
%:
dh $@ --with python3 --buildsystem=pybuild
+override_dh_auto_clean:
+ ${RM} -rf .pybuild
# If you need to rebuild the Sphinx documentation
# Add sphinxdoc to the dh --with line
View it on GitLab: https://salsa.debian.org/med-team/scanpy/-/commit/18bfab70bd9becc252aa0c18de9e5a513e1b493b
--
View it on GitLab: https://salsa.debian.org/med-team/scanpy/-/commit/18bfab70bd9becc252aa0c18de9e5a513e1b493b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210323/4c36584a/attachment.htm>
More information about the debian-med-commit
mailing list