linsalrob / PhiSpy

Prediction of prophages from bacterial genomes
MIT License
70 stars 20 forks source link

Fix status score when rank value above the threshold #34

Closed pdec closed 4 years ago

pdec commented 4 years ago

https://github.com/linsalrob/PhiSpy/blob/2df9fe765bc246917c0955912353d5735d53cf65/PhiSpyModules/classification.py#L180

I think the status should be 1 when above the threshold. This got lost in 4b08eee as originally there was the following code: if x[j]['rank'] > threshold: x[j]['status'] = 1