Skip to content

Commit

Permalink
remove functions that are no longer required
Browse files Browse the repository at this point in the history
 * these functions have been used within each other
   and previously removed functions
  • Loading branch information
JunAishima committed Dec 6, 2023
1 parent b0ef8ee commit 40a34c8
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions ispybLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,6 @@ def queryOneFromDB(q):
except TypeError:
return 0

def personIdFromLogin(loginName):
q = ("select personId from Person where login = \""+ loginName + "\"")
return (queryOneFromDB(q))

def personIdFromProposal(propNum):
q = ("select personId from Proposal where proposalNumber = " + str(propNum))
return (queryOneFromDB(q))

def proposalIdFromProposal(propNum):
q = ("select proposalId from Proposal where proposalNumber = " + str(propNum))
return (queryOneFromDB(q))

def maxVisitNumfromProposal(propNum):
propID = proposalIdFromProposal(propNum)
q = ("select max(visit_number) from BLSession where proposalId = " + str(propID))
return (queryOneFromDB(q))


def insertPlotResult(dc_id,imageNumber,spotTotal,goodBraggCandidates,method2Res,totalIntegratedSignal):
return
Expand Down

0 comments on commit 40a34c8

Please sign in to comment.