You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
When running split_dataset(dataset, 0.3*u.deg) on a MapDataset with no TemplateSpatialModel set, an exception is raised.
This is because by default split_template_models=True.
Expected behavior
It shouldn't break and proceed as if split_template_models=False.
To Reproduce
The text was updated successfully, but these errors were encountered:
Gammapy version
v1.2
Bug description
When running
split_dataset(dataset, 0.3*u.deg)
on aMapDataset
with noTemplateSpatialModel
set, an exception is raised.This is because by default
split_template_models=True
.Expected behavior
It shouldn't break and proceed as if
split_template_models=False
.To Reproduce
The text was updated successfully, but these errors were encountered: