mphowardlab / azplugins

A HOOMD-blue component for soft matter simulations.
BSD 3-Clause "New" or "Revised" License
21 stars 13 forks source link

Fix python3 compatibility #6

Closed mphoward closed 5 years ago

mphoward commented 5 years ago

The import style used is only compatible with python2 and raises ImportError exceptions in python3. Replace statements like

import analyze

with

from azplugins import analyze

This is another example where #2 could have caught this issue.

(Reported by Arash)