<commit_before># -*- coding: utf-8 -*-
"""
====================================================================
NanoGen controller (:mod:`sknano.apps.nanogen_gui._ng_controller`)
====================================================================

.. currentmodule:: sknano.apps.nanogen_gui._ng_controller

"""
from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals
from builtins import object
__docformat__ = 'restructuredtext en'


try:
    from PyQt4.QtGui import QApplication
    from ._ng_view import NGView
except ImportError as e:
    print(e)

__all__ = ['NGController']


class NGController(object):
    """:mod:`~sknano.apps.nanogen_gui` MVC controller class.

    Parameters
    ----------
    args : :attr:`python:sys.argv`
    model : :class:`~sknano.apps.nanogen_gui._ng_model.NGModel`<commit_msg>removing explicit `object` class subclassing.<commit_after># -*- coding: utf-8 -*-
"""
====================================================================
NanoGen controller (:mod:`sknano.apps.nanogen_gui._ng_controller`)
====================================================================

.. currentmodule:: sknano.apps.nanogen_gui._ng_controller

"""
from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals
__docformat__ = 'restructuredtext en'


try:
    from PyQt4.QtGui import QApplication
    from ._ng_view import NGView
except ImportError as e:
    print(e)

__all__ = ['NGController']


class NGController:
    """:mod:`~sknano.apps.nanogen_gui` MVC controller class.

    Parameters
    ----------
    args : :attr:`python:sys.argv`
    model : :class:`~sknano.apps.nanogen_gui._ng_model.NGModel`
{'fraction_non_alphanumeric': 0.26453488372093026, 'fraction_numerical': 0.002325581395348837, 'mean_word_length': 5.281021897810219, 'pattern_counts': {'":': 2, '<': 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': '6014924', 'n_tokens_mistral': 508, 'n_tokens_neox': 478, 'n_words': 103}