Pymoc

Latest version: v0.5.2

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.2

- Prevented an error reading an ASCII MOC file with an order with
an empty cell list. As of MOC 1.1 this should encode the MOCORDER
if higher than the greatest stored order. This module does not (yet)
process this information but it should now be able to read such
files without error.

0.5.1

- Prevented an error when reading an empty ASCII MOC file.

- Updated a docstring which refered to the now deprecated Astropy
FITS HDUList.writeto method clobber argument.

- Skipped calling the Healpy "query_disc" function for catalogs
if the given radius is zero (or less).

- "pymoctool" now accepts "-" in place of a filename to read from
stdin or write to stdout in ASCII format.

0.5.0

- Improved speed of MOC generation from catalogs by making use of the
Healpy "query_disc" function. Additional optional arguments can be
given to the "catalog_to_moc" function to control this process.

- "pymoctool" now checks that a running MOC is present for some commands.

0.4.2

- Corrected bug reading MOCs in FITS format on 32-bit systems with
64-bit NUNIQ columns.

0.4.1

- Corrected bug in intersection routine.
- Added option to skip validation of cell numbers in the "add" method.

0.4.0

- Added utility to create MOCs from catalog files.
- "pymoctool" can now invoke the plotting and catalog utilities.
- Preserve metadata read from FITS file when constructing new MOC object.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.