[Biopython] Restriction Batch Error, Python3.5 Biopython 1.7 Jupyter notebook

Nabeel Ahmed chaudhrynabeelahmed at gmail.com
Tue Aug 22 22:24:57 UTC 2017


You sure about importing it  ?

from Bio.Restriction import *


On Wed, Aug 23, 2017 at 1:11 AM, Sean Brimer <skbrimer at gmail.com> wrote:

> Hi All,
>
> I'm having issue with the RestrictionBatch class, when I tried to create
> it I get the following error
>
> rb = RestrictionBatch([MluI,HincII,SacII])
> ------------------------------------------------------------
> ---------------
> NameError                                 Traceback (most recent call last)
> <ipython-input-11-90ba40b69f00> in <module>()
>       1 # rb stands for restriction batch
> ----> 2 rb = RestrictionBatch([MluI,HincII,SacII])
>
> NameError: name 'RestrictionBatch' is not defined
>
> I'm not sure how you would define this class, I am following the cookbook
> but not having much luck.
>
> Any advice is welcomed and thank you,
>
> Sean
>
>
> _______________________________________________
> Biopython mailing list  -  Biopython at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20170823/5a8874a4/attachment.html>


More information about the Biopython mailing list