Skip to content

Commit

Permalink
Fixed import order
Browse files Browse the repository at this point in the history
Checking of core deps should be done before anything else
  • Loading branch information
markgw committed Apr 8, 2020
1 parent 000bd9d commit 517d544
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/python/pimlico/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,14 @@
"""
from __future__ import print_function

from traceback import print_exc

from pimlico.cli.jupyter import JupyterCmd
from pimlico.cli.pimarc import Tar2PimarcCmd

if __name__ == "__main__":
from pimlico import install_core_dependencies

install_core_dependencies()

import argparse
import sys
from operator import itemgetter
from traceback import print_exc

from pimlico import cfg

Expand All @@ -43,6 +38,8 @@
from pimlico.core.config import PipelineConfig, PipelineConfigParseError, PipelineStructureError
from pimlico.core.modules.options import ModuleOptionParseError
from pimlico.utils.system import set_proc_title
from pimlico.cli.jupyter import JupyterCmd
from pimlico.cli.pimarc import Tar2PimarcCmd


class VariantsCmd(PimlicoCLISubcommand):
Expand Down

0 comments on commit 517d544

Please sign in to comment.