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

fix imports #1736

Merged
merged 4 commits into from
Feb 29, 2024
Merged

fix imports #1736

merged 4 commits into from
Feb 29, 2024

Conversation

casperdcl
Copy link
Member

@casperdcl casperdcl commented Feb 29, 2024

Changes

  • fix import errors (e.g. fixes SIRF incompatibilities)
    • warn rather than raise on ipywidgets>=8

diff sans whitespace (PS see also #1734)

Testing you performed

Related issues/links

Checklist

  • I have performed a self-review of my code
  • I have added docstrings in line with the guidance in the developer guide
  • I have updated the relevant documentation
  • I have implemented unit tests that cover any new or modified functionality
  • CHANGELOG.md has been updated with any functionality change
  • Request review from all relevant developers
  • Change pull request label to 'Waiting for review'

Contribution Notes

Please read and adhere to the developer guide and local patterns and conventions.

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License
  • I confirm that the contribution does not violate any intellectual property rights of third parties

if backend == 'tigre':
raise ImportError("Cannot import the {} plugin module. Please install TIGRE or select a different backend".format(self.backend))
raise ImportError(f"Please install `conda install tigre` or select a different backend") from exc
Copy link
Contributor

@paskino paskino Feb 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure that is the actual message we want to show. I'd be more generic as earlier and say, please install TIGRE, or ASTRA (below) without saying use conda.

@casperdcl casperdcl merged commit 9eede0f into master Feb 29, 2024
3 checks passed
@casperdcl casperdcl deleted the fix-imports branch February 29, 2024 15:15
casperdcl added a commit that referenced this pull request Mar 12, 2024
* fix import warning (from #1736)
* docs: fix missing GPU packages (from #1679, fixes #1746)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants