Commit 36c5ffa1 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

In fact, add -pdb option to all 3 DMT tools.

parent f98873b6
......@@ -435,6 +435,11 @@ def ProcessCustomBackends(
def main() -> None:
if "-pdb" in sys.argv:
sys.argv.remove("-pdb") # pragma: no cover
import pdb # pragma: no cover pylint: disable=wrong-import-position,wrong-import-order
pdb.set_trace() # pragma: no cover
if "-v" in sys.argv:
import pkg_resources # pragma: no cover
version = pkg_resources.require("dmt")[0].version # pragma: no cover
......
......@@ -97,6 +97,11 @@ def getBackend(modelingLanguage: str) -> A_Mapper:
def main() -> None:
if "-pdb" in sys.argv:
sys.argv.remove("-pdb") # pragma: no cover
import pdb # pragma: no cover pylint: disable=wrong-import-position,wrong-import-order
pdb.set_trace() # pragma: no cover
if "-v" in sys.argv:
import pkg_resources # pragma: no cover
version = pkg_resources.require("dmt")[0].version # pragma: no cover
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment