rhdtownsend / msg

Multidimensional Spectral Grids
GNU General Public License v3.0
11 stars 3 forks source link

Kernel dies on pymsg tutorial #4

Closed astroJeff closed 2 years ago

astroJeff commented 2 years ago

I'm running into another bug here. When going through the Python walkthrough, my kernel dies when running:

# Load the SpecGrid
GRID_DIR = os.path.join(MSG_DIR, 'data', 'grids')
specgrid_file_name = os.path.join(GRID_DIR, 'sg-demo.h5')
specgrid = pymsg.SpecGrid(specgrid_file_name)

Specifically, the last line is the culprit. Before I start diving into this, do you have any ideas? Because it's cython, such bugs are quite difficult to find.

rhdtownsend commented 2 years ago

Funny, it worked this morning! Must have been something I messed up when fixing other issues with the C interface. I'll look into it.

rhdtownsend commented 2 years ago

Should be fixed now -- please checkout the latest commit.

astroJeff commented 2 years ago

Works perfectly. Thank you!