Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredDeCeuster committed Aug 12, 2024
1 parent c7d0962 commit dde6cef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion docs/src/examples/1D_stellar_wind.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,8 @@
" w_cnt = 1.0e+0,\n",
")\n",
"losses.renormalise_all()\n",
"losses.reset()"
"losses.reset()\n",
"smodel_recon.model_1D.save('1D_stellar_wind_recon_000.h5')"
]
},
{
Expand Down Expand Up @@ -825,6 +826,7 @@
" w_smt = 1.0e+0,\n",
" w_cnt = 1.0e+0,\n",
")\n",
"smodel_recon.model_1D.save('1D_stellar_wind_recon_100.h5')\n",
"losses.plot()"
]
},
Expand Down
5 changes: 0 additions & 5 deletions tests/test_observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
this_folder = path.dirname(path.abspath(__file__))


def test_constructor():

obs = Observation()


def test_torch_vs_numpy_beam_kernel():
# Read the data cube
data = DataCube(f'{this_folder}/data/header_only.fits')
Expand Down

0 comments on commit dde6cef

Please sign in to comment.