<commit_before># Licensed under GPL3
# coding=utf-8

"""
Classes and utilities for optical modeling and controlling the position of the secondary mirrors of the MMTO.
"""
import socket
import sys

from .config import recursive_subclasses, merge_config, mmt_config
from .custom_exceptions import WFSConfigException, WFSCommandException


def SecondaryFactory(secondary="f5", config={}, **kwargs):
    """
    Build and return proper Secondary sub-class instance based on the value of 'secondary'.
    """
    config = merge_config(config, dict(**kwargs))<commit_msg>secondary.py - add missing import for astropy.units<commit_after># Licensed under GPL3
# coding=utf-8

"""
Classes and utilities for optical modeling and controlling the position of the secondary mirrors of the MMTO.
"""
import socket
import sys

import astropy.units as u

from .config import recursive_subclasses, merge_config, mmt_config
from .custom_exceptions import WFSConfigException, WFSCommandException


def SecondaryFactory(secondary="f5", config={}, **kwargs):
    """
    Build and return proper Secondary sub-class instance based on the value of 'secondary'.
    """
    config = merge_config(config, dict(**kwargs))
{'fraction_non_alphanumeric': 0.08702928870292886, 'fraction_numerical': 0.00502092050209205, 'mean_word_length': 5.229166666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '875666', 'n_tokens_mistral': 325, 'n_tokens_neox': 308, 'n_words': 122}