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

Sean Brimer skbrimer at gmail.com
Wed Aug 23 00:11:42 UTC 2017


Sorry, Just realized I only replied to you earlier AND since I am using
jupyter I downloaded my notebook as a markdown file and attached it as
well. Hopefully this will help answer any question about what I'm trying to
work on.

On Tue, Aug 22, 2017 at 5:34 PM Sean Brimer <skbrimer at gmail.com> wrote:

> Yes, sorry. It is imported at the top.
>
> On Tue, Aug 22, 2017, 5:25 PM Nabeel Ahmed <chaudhrynabeelahmed at gmail.com>
> wrote:
>
>> 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/55f21cb0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.md
Type: text/markdown
Size: 1518 bytes
Desc: not available
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20170823/55f21cb0/attachment-0001.bin>


More information about the Biopython mailing list