From f7159b2cefe3ffddd83fcaaf99b638fb4518cfdb Mon Sep 17 00:00:00 2001 From: Karoline Holler Date: Thu, 15 Dec 2022 17:25:40 +0100 Subject: [PATCH 1/2] fix imports of packages --- README.md | 2 ++ scLVM/core.py | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 24a60ae..fabb344 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # scLVM +## This is a version of scLVM with fixed imports +You need a conda environment with python 3.10, pip, numpy and limix-legacy. Install scLVM from github by first forking, and then running "pip install ." inside the repo. However, some parameter changes are not fixed yet. ## What is scLVM? diff --git a/scLVM/core.py b/scLVM/core.py index 107e91c..6b4be42 100644 --- a/scLVM/core.py +++ b/scLVM/core.py @@ -17,9 +17,9 @@ import sys #import limix #make sure we use the right limix version -from utils.misc import dumpDictHdf5 -from utils.misc import PCA -from utils.misc import warning_on_one_line +from .utils.misc import dumpDictHdf5 +from .utils.misc import PCA +from .utils.misc import warning_on_one_line import limix_legacy import limix_legacy.deprecated.modules.panama as PANAMA From bdaa77f9054b6d276fdb7d3486b44ac02b336098 Mon Sep 17 00:00:00 2001 From: Karoline Holler Date: Fri, 16 Dec 2022 12:07:25 +0100 Subject: [PATCH 2/2] updated Readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fabb344..7e4bd8c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # scLVM -## This is a version of scLVM with fixed imports -You need a conda environment with python 3.10, pip, numpy and limix-legacy. Install scLVM from github by first forking, and then running "pip install ." inside the repo. However, some parameter changes are not fixed yet. +## This is a version of scLVM with fixed imports for python 3.10, however it still needs some attention and love. +You need a conda environment with python 3.10, pip, numpy and limix-legacy. Install scLVM from github by first forking, and then running "pip install ." inside the repo. However, some parameter changes are not fixed yet. Do not install scLVM via pip, that version is not working. ## What is scLVM?