Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/simulation/pointsmodelpy/tests/testcomplexmodel.py

    ra1b8fee r959eb01  
    1 from __future__ import print_function 
    2  
    31from sasModeling.pointsmodelpy import pointsmodelpy 
    42from sasModeling.iqPy import iqPy 
    53from sasModeling.geoshapespy import geoshapespy 
    6  
    74 
    85#First testing: a normal case, a lores model holds a sphere 
     
    6461  iqPy.OutputIQ(iqcomplex,"testcomplex2.iq") 
    6562 
    66   print("p(r) is saved in testcomplex2.pr") 
    67   print("I(Q) is saved in testcomplex2.iq") 
    68   print("pass") 
     63  print "p(r) is saved in testcomplex2.pr" 
     64  print "I(Q) is saved in testcomplex2.iq" 
     65  print "pass" 
    6966 
    7067#testing 3, insert one empty pdbmodel and one loresmodel 
     
    9188  iqPy.OutputIQ(iqcomplex,"testcomplex3.iq") 
    9289 
    93   print("p(r) is saved in testcomplex3.pr") 
    94   print("I(Q) is saved in testcomplex3.iq") 
    95   print("pass") 
     90  print "p(r) is saved in testcomplex3.pr" 
     91  print "I(Q) is saved in testcomplex3.iq" 
     92  print "pass" 
    9693 
    9794# Test 2D complex model 
     
    109106    pointsmodelpy.get_complexpoints(complex,vpcomplex); 
    110107  
    111     print(pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.1,0.1)); 
    112     print(pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.01,0.1)); 
     108    print pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.1,0.1); 
     109    print pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.01,0.1); 
    113110 
    114111 
Note: See TracChangeset for help on using the changeset viewer.