[Commotion-admin] [mlab-observatory] Adding sample checking module, Telescope data parser (#29)
Peter Boothe
notifications at github.com
Tue Dec 9 17:53:20 EST 2014
> +import aggregate
> +import telescope_data_parser
> +
> +
> +def setup_logger():
> + logger = logging.getLogger('prepare-for-server')
> + console_handler = logging.StreamHandler()
> + logger.addHandler(console_handler)
> + logger.setLevel(logging.INFO)
> +
> +
> +class SampleCounter(object):
> + """Tracks the number of samples per day in a collection of datasets."""
> +
> + def __init__(self):
> + self.sample_counts = {}
self.sample_counts = defaultdict(lambda: {})
---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/mlab-observatory/pull/29/files#r21570205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20141209/3345c18c/attachment.html>
More information about the Commotion-admin
mailing list