PPPLDeepLearning / plasma-python

PPPL deep learning disruption prediction package
http://tigress-web.princeton.edu/~alexeys/docs-web/html/
79 stars 43 forks source link

Cyclic dependency fix #33

Closed ASvyatkovskiy closed 6 years ago

ASvyatkovskiy commented 6 years ago

This PR fixes a cyclic dependency problem only seen under Python2 introduced in: https://github.com/PPPLDeepLearning/plasma-python/pull/30

Deferring import statements causing a cyclic dependency until later fixes the problem (i.e. from global to function level import).