Skip to content

Adding Sample to components triggers error #6

@emzmwf

Description

@emzmwf

Adding sample to components triggers error

components.py", line 463, in init
self.sample_pixels = sample.shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'

Modifying components.py at line 463 as follows allows sample to be generated in output
if sample is not None:
self.sample_pixels = sample.shape[0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions