Skip to content

'Simulator' object has no attribute 'np_clip_param' #142

Open
@wangjiawen2013

Description

@wangjiawen2013

Dear,
This chunk of code:
sim = Simulator(num_observations=200, num_features=100)
sim.generate_sample_description(num_batches=0, num_conditions=4)
sim.generate_params(rand_fn_loc=lambda shape: np.random.uniform(-0.1, 0.1, shape),rand_fn_scale=lambda shape: np.random.uniform(0.1, 2, shape))
sim.generate_data()
showed the error: 'Simulator' object has no attribute 'np_clip_param'
what caused the problem ?

And, how to integrate diffxpy with scanpy anndata object ? especially for the data (raw counts, normalized data or scaled data)

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions