mangadap.survey.util module¶
Provides a set of utility function that should only be used for the survey-level execution of the DAP.
Copyright © 2019, SDSS-IV/MaNGA Pipeline Group
- mangadap.survey.util.module_version(product='mangadap')[source]¶
Return the version of the specified product among the currently loaded modules.
- Parameters
product (str) – (Optional) The name of the product
- Returns
Version identifier
- Return type
str
- mangadap.survey.util.product_version(product='mangadap', simple=False)[source]¶
Get currently loaded SDSS product version by parsing the output of the system call to {$product}_version.
- Parameters
product (str) – (Optional) The name of the product
simple (bool) – (Optional) If True, only the first element of the reported version is returned.
- Returns
Version identifier
- Return type
str