Skip to content

Commit

Permalink
comment unused module
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant committed Jul 25, 2019
1 parent adac21e commit 555ca93
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions misc/add_func.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from blast.models import BlastDb, SequenceType
from blast.models import SequenceType
#from blast.models import BlastDb
from app.models import Organism
import os
import sys
import requests
from hmmer.models import HmmerDB
#from hmmer.models import HmmerDB


def display_name(options):
Expand Down Expand Up @@ -133,7 +134,7 @@ def get_taxid(id_baseurl,name):
def delete_org(name):
Organism.objects.filter(display_name = name).delete()
return ("remove %s in database"%name)
'''
"""
def delete(db, dbname):
tmp=[]
if db[0]=='all':
Expand All @@ -151,4 +152,4 @@ def delete(db, dbname):
HmmerDB.objects.filter(title = name).delete()
tmp.append(name)
return "remove %s "%tmp
'''
"""

0 comments on commit 555ca93

Please sign in to comment.