@astrofrog this is a question for you: given all the fixtures we have for testing, is there a straightforward way to make a MWE using our generated data?
I would like to do something like:
from spectral_cube.conftest import data_vda_beams
from spectral_cube.tests.test_spectral_cube import cube_and_raw
cube, data = cube_and_raw(data_vda_beams())
or ideally something even simpler to get an easy-to-reproduce cube for error reproduction. I'd like to add this to the contributing guidelines.
@astrofrog this is a question for you: given all the fixtures we have for testing, is there a straightforward way to make a MWE using our generated data?
I would like to do something like:
or ideally something even simpler to get an easy-to-reproduce cube for error reproduction. I'd like to add this to the contributing guidelines.
What's the easiest way to achieve this right now?