Skip to content

numpy load error #1

@cavestruz

Description

@cavestruz

@jaehlee - Hi Jaehoon, thank you for making your code public. I was wondering if there might be a numpy dependency issue. When running the "-- Usage" line, I get a numpy load error that is either:

fid.seek(-N, 1) # back-up
TypeError: seek() takes exactly 2 arguments (3 given)

or

fid.seek(-min(N, len(magic)), 1) # back-up
TypeError: seek() takes 2 positional arguments but 3 were given

that points to
line 110, in get_grid
grid_data_np = np.load(f)

Since there are already files in ./grid_data, I was assuming this should just run out of the box. Is this correct? If so, do you have a list of package versions that you used when developing this code?

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