Standardizing on import numpy as np

This commit is contained in:
John Stilley
2024-08-30 07:13:36 -07:00
committed by Peter Cock
parent 7ba26eb1a3
commit 2907bcbd82
22 changed files with 124 additions and 124 deletions

View File

@ -4704,11 +4704,11 @@ matches to any unknown nucleotides separately.
.. code:: pycon
>>> import numpy
>>> import numpy as np
>>> from Bio import Align
>>> query = "GGTGGGGG"
>>> target = "AAAAAAAggggGGNGAAAAA"
>>> coordinates = numpy.array([[0, 7, 15, 20], [0, 0, 8, 8]])
>>> coordinates = np.array([[0, 7, 15, 20], [0, 0, 8, 8]])
>>> alignment = Align.Alignment([target, query], coordinates)
>>> print(alignment)
target 0 AAAAAAAggggGGNGAAAAA 20