Skip to content

Spice - Raw file parsing error #403

@cwtews

Description

@cwtews

Given the environment Python 3.12.7 and Xyce's 7.10.

It appears that the file Spice->RawFile.py contains a deprecated function (np.fromstring) on line 298.

Please update from
input_data = np.fromstring(raw_data, count=number_of_columns*self.number_of_points, dtype='f8')

To
input_data = np.frombuffer(raw_data, count=number_of_columns*self.number_of_points, dtype='f8')

Best regards,

Cody

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions