# Path: abpytools/home.py
# class Home:
# 
#     def __init__(self):
# 
#         self.homedir = os.path.dirname(os.path.abspath(__file__))
# 
# Path: abpytools/utils/python_config.py
# class PythonConfig:
#     def __init__(self):
#         self._backend = get_ipython_info()
#         self._matplotlib_interactive = plt.isinteractive()
# 
#     @property
#     def ipython_info(self):
#         return self._backend
# 
#     @property
#     def matplotlib_interactive(self):
#         return self._matplotlib_interactive  # pragma: no cover


import warnings
import _pickle as cPickle
import matplotlib.pyplot as plt
from abpytools.home import Home
from ..utils.python_config import PythonConfig
    while current != 'done':
        # is aligned
        if current == 'diag':
            # aligned_seq_1.append(next(iter_seq_1))
            # aligned_seq_2.append(next(iter_seq_2))
            # aligned_seq_1.append(seq_1[column])
            aligned_seq_2.append(seq_2[row])
            row -= 1
            column -= 1

        # leave a gap
        elif current == 'left':
            # aligned_seq_1.append(next(iter_seq_1))
            # aligned_seq_1.append(seq_1[column])
            aligned_seq_2.append('-')
            column -= 1

        # leave a gap
        else:
            # aligned_seq_1.append(next(iter_seq_1))
            # aligned_seq_1.append(seq_1[column])
            aligned_seq_2.append('-')
            row -= 1

        current = traceback_matrix[row][column]

    return ''.join(aligned_seq_2)[::-1]


def switch_interactive_mode(save=False):

# Path: abpytools/home.py
# class Home:
# 
#     def __init__(self):
# 
#         self.homedir = os.path.dirname(os.path.abspath(__file__))
# 
# Path: abpytools/utils/python_config.py
# class PythonConfig:
#     def __init__(self):
#         self._backend = get_ipython_info()
#         self._matplotlib_interactive = plt.isinteractive()
# 
#     @property
#     def ipython_info(self):
#         return self._backend
# 
#     @property
#     def matplotlib_interactive(self):
#         return self._matplotlib_interactive  # pragma: no cover


# Path: abpytools/analysis/analysis_helper_functions.py
import warnings
import _pickle as cPickle
import matplotlib.pyplot as plt
from abpytools.home import Home
from ..utils.python_config import PythonConfig

    while current != 'done':
        # is aligned
        if current == 'diag':
            # aligned_seq_1.append(next(iter_seq_1))
            # aligned_seq_2.append(next(iter_seq_2))
            # aligned_seq_1.append(seq_1[column])
            aligned_seq_2.append(seq_2[row])
            row -= 1
            column -= 1

        # leave a gap
        elif current == 'left':
            # aligned_seq_1.append(next(iter_seq_1))
            # aligned_seq_1.append(seq_1[column])
            aligned_seq_2.append('-')
            column -= 1

        # leave a gap
        else:
            # aligned_seq_1.append(next(iter_seq_1))
            # aligned_seq_1.append(seq_1[column])
            aligned_seq_2.append('-')
            row -= 1

        current = traceback_matrix[row][column]

    return ''.join(aligned_seq_2)[::-1]


def switch_interactive_mode(save=False):

    ipython_config = PythonConfig()