Skip to content

Marvin Beta 2.6.1

Compare
Choose a tag to compare
@havok2063 havok2063 released this 18 Nov 16:32

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 for Cube and Maps. Users can automate closing file handlers when in file mode, by using with 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 by marvin.tools.core.MarvinToolsClass.__del__ and marvin.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