INNER CODE UNIT · Python
cli
open2c/pairtools · pairtools/cli/__init__.py:36
def cli(post_mortem, output_profile, verbose, debug):
"""Flexible tools for Hi-C data processing.
All pairtools have a few common options, which should be typed _before_
the command name.
"""
if post_mortem:
import traceback
try:
import ipdb as pdb
except ImportError:
import pdb
def _excepthook(exc_type, value, tb):
traceback.print_exception(exc_type, value, tb)
print()