Skip to content

No top-level imports of submodules anymore (breaking change).

Jens Lucht requested to merge subpackages into master

Using of hotopy by calling import hotopy does not import the full HoToPy anymore and any submodule needs to be imported manually, e.g. via import hotopy.phase or from hotopy.phase import CTF.

Also start imports from hotopy import * as discontinued in the same manner. Here, use import from the corresponding subpackage, e.g. from hotopy.phase import * also imports CTF (and a lot more).

By this, submodules with optional dependencies do not need monkey patched imports.

This fixes #35 (closed).

Merge request reports

Loading