mdolab / idwarp

IDWarp is a mesh warping package for the MACH framework.
Other
17 stars 29 forks source link

Fix MExt #49

Closed ewu63 closed 3 years ago

ewu63 commented 3 years ago

Purpose

Previously MExt used to raise a lot of resource warnings regarding unclosed files. This PR fixes it by switching from imp to importlib since the former is deprecated. I also made some other minor adjustments to the code to improve readability/code quality.

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR

Testing

Code that runs IDwarp will not receive ResourceWarning anymore.

Checklist

Put an x in the boxes that apply.