-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I'm encountering an error when trying to use the nicheformer.pp.basic_preproc() function in the Nicheformer package. The error message is as follows:
AttributeError: module 'nicheformer' has no attribute 'pp'
Steps to Reproduce:
Install the Nicheformer package and its dependencies.
Import the package using import nicheformer.
Attempt to call the preprocessing function with nicheformer.pp.basic_preproc(adata) where adata is an AnnData object.
Expected Behavior:
I expect the preprocessing function to execute without errors and preprocess the AnnData object.
Actual Behavior:
An AttributeError is raised, indicating that pp is not an attribute of the nicheformer module.
Environment:
Nicheformer version: [version number]
Python version: [version number]
Other relevant packages: [list any other packages you're using]
Could you please help me understand why this error occurs, or if there’s a different method I should use to access the preprocessing functions in Nicheformer?
Thank you!