Bug #413
closed
hierarchClusterProcess threshold is dependent on spider version
Added by Gabriel Lander over 14 years ago.
Updated over 14 years ago.
Description
The "hierarchClusterProcess" function in "classification.py" needs to check which version of spider is installed before determining the threshold.
For spider releases after 6/11/09, the functions "CL HE" and "CL HD" use values from 0-100, whereas before this release the values are from 0-1. This affects all scripts that use coran.
Is there any function in the apSpider lib to get the spider version?
- Subject changed from appionlib/apSpider/classification.py to hierarchClusterProcess threshold is dependent on spider version
- Status changed from New to Assigned
- Assignee set to Neil Voss
Added function that gets SPIDER version to spyder.py, tested on SPIDER versions: 13.0, 14.18, and 15.12.
- Assignee changed from Neil Voss to Gabriel Lander
Gabe do we know which version requires this switch. versions 13 to 15 uses the less than one system. How about 16,17,18?
When done we will add:
sp = spyder.SpiderSession()
if sp.version() >= 16.0:
thresh *= 100.0
or something
- % Done changed from 0 to 50
Looks like this scaling was introduced in release 18.03
- Status changed from Assigned to In Test
- Assignee changed from Gabriel Lander to Neil Voss
added version check to code, works at this end.
r13890
- Target version set to Appion/Leginon 2.0.0
- Assignee deleted (
Neil Voss)
- % Done changed from 50 to 100
- Assignee set to Anke Mulder
Anke is testing today with SPIDER 18.
- Status changed from In Test to Closed
Also available in: Atom
PDF