Bug #413
closedhierarchClusterProcess threshold is dependent on spider version
100%
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?
Updated by Neil Voss over 14 years ago
- 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
Updated by Neil Voss over 14 years ago
Added function that gets SPIDER version to spyder.py, tested on SPIDER versions: 13.0, 14.18, and 15.12.
Updated by Neil Voss over 14 years ago
- 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
Updated by Gabriel Lander over 14 years ago
Looks like this scaling was introduced in release 18.03
Updated by Gabriel Lander over 14 years ago
- 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
Updated by Neil Voss over 14 years ago
- Target version set to Appion/Leginon 2.0.0
Updated by Neil Voss over 14 years ago
- Assignee set to Anke Mulder
Anke is testing today with SPIDER 18.