Skip to content

Commit

Permalink
Mmore import of MPRester.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyue Ping Ong committed Aug 15, 2023
1 parent e54a786 commit ec96547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymatgen/cli/pmg_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
from monty.serialization import dumpfn
from tabulate import tabulate

from pymatgen.ext.matproj import MPRester


def do_query(args):
"""
Expand All @@ -21,6 +19,8 @@ def do_query(args):
Args:
args (dict): Args from argparse.
"""
from pymatgen.ext.matproj import MPRester

m = MPRester()
try:
criteria = json.loads(args.criteria)
Expand Down

0 comments on commit ec96547

Please sign in to comment.