Marvin Beta 2.6.1
This release contains a small update to the database connection string for the manga database as JHU. It also incorporates new changes to make the Marvin Tools available as contextmanagaers.
Changes
- Issue #680 - Basic context manager functionality for
marvin.tools.core.MarvinToolsClass
, and relevant documentation forCube
andMaps
. Users can automate closing file handlers when infile
mode, by usingwith
syntax, alleviating some issues with looping through lists of galaxies. marvin.tools.core.MarvinToolsClass.close
method is a self-contained way of closing the underlying data file. It is now called bymarvin.tools.core.MarvinToolsClass.__del__
andmarvin.tools.core.MarvinToolsClass.__exit__
.marvin.tools.core.MarvinToolsClass.source_is_fits_hdulist_file
evaluates whether the object is accessing a FITS HDUList.- Updated the manga database connection info for JHU