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

ProjectionOperator Bug Fix (Issue #1990) #2065

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

M-A-Demir
Copy link

@M-A-Demir M-A-Demir commented Feb 6, 2025

Description

Update in response to issue #1990: ProjectionOperator device input is not case-sensitive. Added case sensitivity and unit tests for ProjectionOperator inputs. Updated environment .yml files and env creation script to include new unittest-parametrize library used in tests. Updated developer guide to include example of parametrized test usage. Added name to NOTICE.txt.

Issue: #1990

Example Usage

ProjectionOperator(ig, ag, device="GPU")
device name passed is now case insensitive

❤️ Thanks for your contribution!

M-A-Demir and others added 2 commits February 6, 2025 12:41
… not case-sensitive. Added case sensitivity and unit tests for ProjectionOperator inputs. Updated environment .yml files and env creation script to include new unittest-parametrize library used in tests. Updated developer guide to include example of parametrized test usage. Added name to NOTICE.txt.
formatting

Signed-off-by: M-A-Demir <[email protected]>
@M-A-Demir
Copy link
Author

PS: In CIL/scripts/create_local_env_for_cil_development.sh, I couldn't install the pip module (unittest-parametrize) directly with the 'conda create' command , so I have changed it to use the requirements_test.yml file if $test_deps != 0.

I tried an alternative, which is to have a separate list of pip dependencies, use conda create, then activate the conda environment and perform pip install pip_dependencies, but ran into an error saying to run conda init before I can do the installations.

@M-A-Demir M-A-Demir linked an issue Feb 6, 2025 that may be closed by this pull request
@M-A-Demir M-A-Demir requested a review from hrobarts February 6, 2025 13:20
@M-A-Demir M-A-Demir requested a review from gfardell February 6, 2025 13:20
@M-A-Demir M-A-Demir marked this pull request as draft February 6, 2025 13:20
@M-A-Demir M-A-Demir marked this pull request as ready for review February 6, 2025 13:20
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.

CGLS/ProjectionOperator Stack Trace Doesn't Point To Correct Issue
2 participants