Patch for algae chloroplast. Require to come back on this patch
Former-commit-id: 2ed9c6423fc92949cb3ef3f0293fef9fe2d581b6 Former-commit-id: cb3be1bfa89dd67c05dba49d2dd44f03016fe7d9
This commit is contained in:
@ -46,12 +46,17 @@ for line in data:
|
|||||||
|
|
||||||
for p in range(begin,end):
|
for p in range(begin,end):
|
||||||
chr[p]+=direction
|
chr[p]+=direction
|
||||||
|
|
||||||
maxSSC = float(max(abs(n) for n in chloro['SSC']))
|
|
||||||
maxLSC = float(max(abs(n) for n in chloro['LSC']))
|
|
||||||
|
|
||||||
chloro['SSC']=[n / maxSSC for n in chloro['SSC']]
|
# <Zafacs> 07/13/2023
|
||||||
chloro['LSC']=[n / maxLSC for n in chloro['LSC']]
|
# Hack for avoiding crash when LSC and SSC have no blast similarity
|
||||||
|
# Need to be reworked
|
||||||
|
if (len(chloro['SSC']) > 0) :
|
||||||
|
maxSSC = float(max(abs(n) for n in chloro['SSC']))
|
||||||
|
chloro['SSC']=[n / maxSSC for n in chloro['SSC']]
|
||||||
|
|
||||||
|
if (len(chloro['LSC']) > 0) :
|
||||||
|
maxLSC = float(max(abs(n) for n in chloro['LSC']))
|
||||||
|
chloro['LSC']=[n / maxLSC for n in chloro['LSC']]
|
||||||
|
|
||||||
scoreMax=0
|
scoreMax=0
|
||||||
len1Max=0
|
len1Max=0
|
||||||
|
Reference in New Issue
Block a user