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

Added cmp function #39

Merged
merged 1 commit into from
Jan 16, 2023
Merged

Added cmp function #39

merged 1 commit into from
Jan 16, 2023

Conversation

HannoSpreeuw
Copy link
Collaborator

Python 3 does not know the cmp function.
Apparently that was still part of this repo, i.e. in line 347 of sourcefinder/utility/coordinates.py, in the angsep function.
In the tkp repo this has been corrected.

The solution, as usual, comes from SO: simply add a cmp function.

This also fixes #6 in the sense that, using this branch, an AARTFAAC image could be correctly processed with a "Numpy version greater than 1.10.x".
1.24.1 in this case.

@HannoSpreeuw HannoSpreeuw merged commit fbb4f81 into master Jan 16, 2023
@HannoSpreeuw HannoSpreeuw deleted the Fix_missing_cmp_function branch January 16, 2023 16:26
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 this pull request may close these issues.

Pyse incompatible with numpy version greater than 1.10.x ?
1 participant