radio-astro / sourcery

Tools for creating high fidelity source catalogues from radio interferometric datasets
GNU General Public License v2.0
2 stars 1 forks source link

Crashes if PSF is not specified #1

Open SpheMakh opened 8 years ago

SpheMakh commented 8 years ago

I get an error when I run this without a PSF. This is a problem since the PSF should be optional. This is the error message:

Traceback (most recent call last):
  File "/usr/local/bin/sourcery", line 5, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/Sourcery/main.py", line 251, in main
    psfs = args.psf.split(",")
AttributeError: 'NoneType' object has no attribute 'split'
SpheMakh commented 8 years ago

@Sebokolodi I've added a quick workaround. But its probably not the best way to do this.