Bug fixing#
Bia-bob can assist bug fixing. In case you meet a bug, just put %%fix
in the beginnign of the cell and exectue the cell again. The cell’s code will then be replaced with an updated version of the code.
from bia_bob import fix
For example, if you execute this code, there will be an error:
%%fix
from skimage.io import imread
image = imread(blobs.tif)
You can then add the %%fix
magic in the cell above as shown here:
%%fix
from skimage.io import imread
image = imread(blobs.tif)
The cell will then be replaced by this one:
from skimage.io import imread
image = imread("blobs.tif")