Skip to content
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

.gaul list is not parsed by Tigger #41

Open
sihle20 opened this issue Feb 28, 2023 · 8 comments
Open

.gaul list is not parsed by Tigger #41

sihle20 opened this issue Feb 28, 2023 · 8 comments

Comments

@sihle20
Copy link

sihle20 commented Feb 28, 2023

I was trying to load .gaul list im3-MFS-image.gaul.txt and I got this error:

### running match_catalogs
# invoking callable catalog_utils.match_catalogs() using external interpreter
# Loading im3-MFS-image.srl: PyBDSM .gaul/.srl file
# loaded 8306 sources from 'main' im3-MFS-image.srl
# Loading im3-MFS-image.gaul: PyBDSM .gaul/.srl file
# Traceback (most recent call last):
#   File "<string>", line 17, in <module>
#   File "/home/gcilitshana/Project/New/madroon-1/catalog_utils.py", line 38, in match_catalogs
#     model = Tigger.load(catalog)
#   File "/home/gcilitshana/venv4/lib/python3.8/site-packages/Tigger/Models/Formats/__init__.py", line 126, in
load
#     return import_func(filename)
#   File "/home/gcilitshana/venv4/lib/python3.8/site-packages/Tigger/Models/Formats/PyBDSMGaul.py", line 88, in
load
#     raise ValueError("this .gaul file does not appear to contain a format string")
# ValueError: this .gaul file does not appear to contain a format string
@o-smirnov
Copy link
Contributor

@sihle20 could you please attach the actual file to the issue, in case it goes missing in your filesystem.

@o-smirnov
Copy link
Contributor

Can't upload .gaul directly, but you can fool it by adding a .txt suffix:

im3-MFS-image.gaul.txt

@o-smirnov
Copy link
Contributor

Hang on, I think this is an .srl file that has been renamed into .gaul? Obligatory Python reference: https://montypython.fandom.com/wiki/Fish_Licence

(Might be my fault -- I didn't commit my omstimelation changes which you need for the new pipeline...)

@sihle20
Copy link
Author

sihle20 commented Mar 3, 2023

I've updated omstimelation on my side and re-ran the source-catalog step but still get the same error from .gaul list.

No I didn't rename .srl into .gaul :)

@o-smirnov
Copy link
Contributor

Can you post the log from your source-catalog step?

@sihle20
Copy link
Author

sihle20 commented Mar 3, 2023

Here is the log file:

im3-MFS-image.fits.pybdsf.log

@IanHeywood
Copy link

Just a general comment: thresh_pix = 4.0 in a 10k x 10k image will probably result in a lot of false detections.

@sihle20
Copy link
Author

sihle20 commented Mar 3, 2023

Okay Noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants