-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnboundLocalError when running DDF.py - 0 Jones-directions #46
Comments
Hi. Also experiencing this issue. |
can you do an |
It's indeed empty:
I wondered if it was something the the ds9 file - after changing the header from
So looks like the issue is in the |
ok cool! :) |
I'm trying to do some 3GC processing for a MeerKAT field and am coming across an issue when running DDF.py, which appears to be a problem with the output generated from MakeModel.py.
The command being run:
DDF.py ddf_imgDI_clustered.parset --Output-Clobber true
The parset file (in .txt form): ddf_imgDI_clustered.txt
The error:
The
J0438-5419_ddfsrcs.reg.ClusterCat.npy
file is generated via:MakeModel.py --ds9PreClusterFile <ds9 region file> --NCluster=0 --BaseImageName <relevant 2GC image>
No errors are generated, other than the warning about Astropy read_ds9 depreciation. The region file looks like the following (I manually replaced the ellipse entries from CARTA with circle ones, but got the same issue):
I tried running
MakeModel.py
with--Ncluster=5
(same number as regions in the file) and got a different error (lack of DicoModel).I'm not sure where I'm going wrong or whether this is a bug - having checked with colleagues, others are experiencing this issue for certain fields but not for others.
The text was updated successfully, but these errors were encountered: