When trying to extract a subcube using a DS9 region string, e.g.,'fk5;circle(140.511,50.9766,240")' with v0.7 of regions the function regions.Region.read is called which expects a file. Instead, the regions.Region.parse function should be called (to preserve the previous behavior). Example:
region_list = regions.Regions.parse(ds9_region, format="ds9")
The change should be made in this line
When trying to extract a subcube using a DS9 region string, e.g.,
'fk5;circle(140.511,50.9766,240")'
with v0.7 of regions the function regions.Region.read is called which expects a file. Instead, the regions.Region.parse function should be called (to preserve the previous behavior). Example:region_list = regions.Regions.parse(ds9_region, format="ds9")
The change should be made in this line