pipelinex icon indicating copy to clipboard operation
pipelinex copied to clipboard

Unable to bind `scipy.sparse.csr_matrix.log1p`

Open npow opened this issue 2 years ago • 2 comments

Hi, I encountered a strange issue trying to bind scipy.sparse.csr_matrix.log1p. It's saying ModuleNotFoundError: No module named 'scipy.sparse.csr_matrix', but it does exist?

from pipelinex import HatchDict
import yaml
from pprint import pprint  # pretty-print for clearer look

import scipy.sparse
assert scipy.sparse.csr_matrix.log1p

params_yaml = """
fn:
  =: scipy.sparse.csr_matrix.log1p
"""
parameters = yaml.safe_load(params_yaml)
fn = HatchDict(parameters).get("fn")
print(fn)

npow avatar Jan 13 '23 18:01 npow