From 9e188a381867e915ddda5c78131d53064716656a Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Tue, 15 Dec 2020 16:19:23 -0500 Subject: [PATCH] Clean up imports --- python/lammps/pylammps.py | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/python/lammps/pylammps.py b/python/lammps/pylammps.py index 007c771308..1ec45d43b5 100644 --- a/python/lammps/pylammps.py +++ b/python/lammps/pylammps.py @@ -20,24 +20,15 @@ from __future__ import print_function -# imports for simple LAMMPS python wrapper module "lammps" - -import sys,traceback,types -import warnings -from ctypes import * -from os.path import dirname,abspath,join -from inspect import getsourcefile - -# imports for advanced LAMMPS python wrapper modules "PyLammps" and "IPyLammps" - -from collections import namedtuple import os -import select import re +import select import sys +from collections import namedtuple from .core import lammps + class OutputCapture(object): """ Utility class to capture LAMMPS library output """