This repository was archived by the owner on Oct 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
This repository was archived by the owner on Oct 21, 2025. It is now read-only.
ModuleNotFoundError: No module named 'batchglm.xarray_sparse' #93
Copy link
Copy link
Closed
Labels
waiting to closeIssue is solved, waiting for feedback.Issue is solved, waiting for feedback.
Description
Hi,
For some reason when I do:
from diffxpy.api import test
I get:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-fb760d550d91> in <module>
----> 1 from diffxpy.api import test
~/Documents/Postdoc/DanaPeer/6.Science/1.Software/batchglm/diffxpy-master/diffxpy/api/__init__.py in <module>
2 from ..log_cfg import logger, unconfigure_logging, enable_logging
3
----> 4 from . import test
5 from . import enrich
6 from . import stats
~/Documents/Postdoc/DanaPeer/6.Science/1.Software/batchglm/diffxpy-master/diffxpy/api/test.py in <module>
----> 1 from diffxpy.testing import lrt, wald, t_test, rank_test, two_sample, pairwise, \
2 versus_rest, partition, continuous_1d
3 from diffxpy.testing import design_matrix, coef_names
~/Documents/Postdoc/DanaPeer/6.Science/1.Software/batchglm/diffxpy-master/diffxpy/testing/__init__.py in <module>
----> 1 from .tests import lrt, wald, t_test, rank_test, two_sample, pairwise, \
2 versus_rest, partition, continuous_1d
3 from .utils import design_matrix, coef_names
~/Documents/Postdoc/DanaPeer/6.Science/1.Software/batchglm/diffxpy-master/diffxpy/testing/tests.py in <module>
10
11 from batchglm import data as data_utils
---> 12 from batchglm.xarray_sparse import SparseXArrayDataSet
13 from diffxpy import pkg_constants
14 from diffxpy.models.batch_bfgs.optim import Estim_BFGS
ModuleNotFoundError: No module named 'batchglm.xarray_sparse'
However, xarray_sparse is under batchglm. Also, other models under batchglm like utils, are loaded correctly.
Any idea of why this may be happening?
Thanks,
Alejandro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
waiting to closeIssue is solved, waiting for feedback.Issue is solved, waiting for feedback.