Skip to content

type error line 499 when running in jupyter notebook #1

@ghost

Description

Got this error when running your code ... not sure how to fix it.
Also, received another error related to np.float which is deprecated and can be changed to np.float64 which seemed to work.

TypeError Traceback (most recent call last)
Cell In[2], line 6
4 strt = start()
5 name,fullseq,amplifier,pause,choose,polyAT,polyCG,BlastProbes,db,dropout,show,report,maxprobe,numbr = strt[0],strt[1],strt[2],strt[3],strt[4],strt[5],strt[6],strt[7],strt[8],strt[9],strt[10],strt[11],strt[12],strt[13]
----> 6 maker(name,fullseq,amplifier,pause,choose,polyAT,polyCG,BlastProbes,db,dropout,show,report,maxprobe,numbr)

File ~\Documents\HCR Probe\insitu_probe_generator-v.0.3.2\maker37cb.py:499, in maker(name, fullseq, amplifier, pause, choose, polyAT, polyCG, BlastProbes, db, dropout, show, report, maxprobe, numbr)
496 a += 1
498 seqs = max33(maxprobe,seqs,numbr)
--> 499 count = str(len(seqs))
500 print()
501 print()

TypeError: object of type 'NoneType' has no len()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions