[Commotion-admin] [mlab-observatory] Adding sample checking module, Telescope data parser (#29)
Peter Boothe
notifications at github.com
Tue Dec 9 17:56:29 EST 2014
> + self._logger.info('Analyzing %s for blacklist.', filename)
> + self._add_file(filename)
> +
> + def is_blacklisted(self, filename):
> + """Indicates whether a file is part of a blacklisted dataset.
> +
> + Args:
> + filename: (str) Filename to evaluate.
> +
> + Returns:
> + (bool) True if the given filename is blacklisted because it is part
> + of a dataset that does not meet the sample size requirements.
> + """
> + parsed_metadata = telescope_data_parser.parse_filename_for_metadata(
> + filename)
> + self._sample_count_checker.has_enough_samples(parsed_metadata)
no return
---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/mlab-observatory/pull/29/files#r21570441
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20141209/c2213d9b/attachment.html>
More information about the Commotion-admin
mailing list