Skip to content

Evaluate loaded wavepackets #107

Description

@raoulbq

Evaluating wavepackets loaded from hdf5 file fails on grid objects.
This is a very strange bug with isinstance and module scopes.

Newly created:

<class 'WaveBlocksND.TensorProductGrid.TensorProductGrid'>
<WaveBlocksND.TensorProductGrid.TensorProductGrid object at 0x5463490>
WaveBlocksND.Grid

Loaded:

<class 'WaveBlocksND.TensorProductGrid.TensorProductGrid'>
<WaveBlocksND.TensorProductGrid.TensorProductGrid object at 0x5463490>
Grid

Given class is not a subclass instance in the second case!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions