Skip to content

Inconsistent np.load in TimeIntervalInterpolator #93

@reneburghardt

Description

@reneburghardt

Just a minor thing, but np.load has either allow_pickle=False (default of np.load) when cache_data == True

if self.cache_data:
    self.labeled_intervals = {
        label: np.load(self.root_folder / filename)
        for label, filename in self.meta_labels.items()
    }

or allow_pickle=True explicitly when cache_data == False

else:
    intervals = np.load(self.root_folder / filename, allow_pickle=True)

I think we should make this consistent. @pollytur @oliveira-caio just for your notice

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions