wtclarke / pymapvbvd

Python port of mapVBVD
MIT License
40 stars 25 forks source link

Change the import #1

Closed wizofe closed 4 years ago

wizofe commented 4 years ago

The import isn't working as later it's being called as a package.function

p-sodmann commented 4 years ago

you can do

from mapVBVD import mapVBVD
wtclarke commented 4 years ago

Hi @wizofe I've changed things around a little so that you can now do the following import mapvbvd
mapvbvd.mapVBVD('path_to_file.dat')

Alternatively you could do from mapvbvd import mapVBVD

In any case I'm going to close this pull request.