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

Nothing useful printing, not even the help? #16

Closed
AstroRipples opened this issue Oct 12, 2022 · 4 comments · Fixed by #17
Closed

Nothing useful printing, not even the help? #16

AstroRipples opened this issue Oct 12, 2022 · 4 comments · Fixed by #17

Comments

@AstroRipples
Copy link

Hi y'all 👋

I was pointed here by Etienne Bonnassieux, with whom I'd been discussing a MakeMask bug (DS9 regions not being included when running MakeMask on a WSclean image). Keen to give this a try. It looks like I've successfully installed breizorro but when I run it, I don't even get the help, only a handful of DeprecationWarnings:

$ python3 breizorro.py --help
/local/work/riseley/breizorro/breizorro/breizorro.py:15: DeprecationWarning: Please use `binary_dilation` from the `scipy.ndimage` namespace, the `scipy.ndimage.morphology` namespace is deprecated.
  from scipy.ndimage.morphology import binary_dilation, binary_fill_holes
/local/work/riseley/breizorro/breizorro/breizorro.py:15: DeprecationWarning: Please use `binary_fill_holes` from the `scipy.ndimage` namespace, the `scipy.ndimage.morphology` namespace is deprecated.
  from scipy.ndimage.morphology import binary_dilation, binary_fill_holes
/local/work/riseley/breizorro/breizorro/breizorro.py:16: DeprecationWarning: Please use `label` from the `scipy.ndimage` namespace, the `scipy.ndimage.measurements` namespace is deprecated.
  from scipy.ndimage.measurements import label, find_objects
/local/work/riseley/breizorro/breizorro/breizorro.py:16: DeprecationWarning: Please use `find_objects` from the `scipy.ndimage` namespace, the `scipy.ndimage.measurements` namespace is deprecated.
  from scipy.ndimage.measurements import label, find_objects
$

Any thoughts?

@AstroRipples AstroRipples changed the title Nothing printing the help? Nothing printing, not even the help? Oct 12, 2022
@AstroRipples AstroRipples changed the title Nothing printing, not even the help? Nothing useful printing, not even the help? Oct 12, 2022
@IanHeywood
Copy link
Collaborator

Is there a breizorro executable available in the path following installation?

@cyriltasse
Copy link
Collaborator

@AstroRipples out of curiosity what the MakeMask error message?

@AstroRipples
Copy link
Author

Hey @cyriltasse 👋 when I run MakeMask, I don't get any error message, it's simply that the green circles from the DS9 region file are not added to the auto-mask.

The thing that's strangest about it is that this is only occurring for the WSclean image of this particular field. When I ran MakeMask previously on other WSclean images of different fields, the DS9 region file was parsed correctly. Similarly, when I ran MakeMask on DDF images of this field, the region file was also parsed correctly 🤷

@AstroRipples
Copy link
Author

Okay, looks like I just found the underlying issue 🥳 See here

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

Successfully merging a pull request may close this issue.

3 participants