domeckert / pyproffit

Pyproffit is a Python code for the analysis of X-ray brightness profiles from clusters of galaxies
GNU General Public License v3.0
18 stars 4 forks source link

python3 test_script.py #6

Closed monamolham closed 4 years ago

monamolham commented 4 years ago

Hi, After Installation I run test_script.py and I got the next error

~/validation$ python3.6 test_script.py Traceback (most recent call last): File "test_script.py", line 58, in prof.SBprofile(ellipse_ratio=ellrat,ellipse_angle=ellang+180.) TypeError: SBprofile() got an unexpected keyword argument 'ellipse_angle'

According to the documentation, I replaced "ellipse_angle" with "rotation_angle" and this step passed. I thought it would be helpful to mention that!

domeckert commented 4 years ago

Thanks! Indeed, I changed the name of the parameter but forgot to update the test script.

domeckert commented 4 years ago

Pushed update, closing