Subversion Repositories SmartDukaan

Rev

Rev 323 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 323 Rev 2657
Line 1... Line 1...
1
import camera_math as mathmodel
1
import camera_math as mathmodel
2
import utils
2
import utils
3
 
3
 
4
print "expSlide=" + `expSlide`
4
print "expSlide=" + `expSlide`
5
 
5
 
6
struct = utils.contentModel2Struct(expSlide)
6
struct = utils.contentModel2Struct(expSlide, categoryObj)
7
print "struct=" + `struct`
7
print "struct=" + `struct`
8
 
8
 
9
if struct.has_key("features") :
9
if struct.has_key("features") :
10
    features = struct.get("features")
10
    features = struct.get("features")
11
    camcount = features.pop("Number of Cameras")
11
    camcount = features.pop("Number of Cameras")
Line 24... Line 24...
24
    
24
    
25
    struct['childrenslides'] = nfcsslides
25
    struct['childrenslides'] = nfcsslides
26
    
26
    
27
    print "newstruct=" + `struct`
27
    print "newstruct=" + `struct`
28
    
28
    
29
score = mathmodel.getscore(struct)
-
 
30
29
score = mathmodel.getscore(struct)
-
 
30