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

Code scanning alerts #406

Merged
merged 55 commits into from
Dec 5, 2023
Merged

Code scanning alerts #406

merged 55 commits into from
Dec 5, 2023

Conversation

djgroen
Copy link
Contributor

@djgroen djgroen commented Nov 20, 2023

More work needs to be done on this, but I'm creating a pull request to see how the integration tests respond.

tests/sc/test_sobol.py Fixed Show fixed Hide fixed
Copy link
Collaborator

@DavidPCoster DavidPCoster left a comment

Choose a reason for hiding this comment

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

Since we are trying to fix problems reported by the code scanner, we need the old reports refreshed by these fixes. So I think we should go ahead and attempt to merge these with the develop branch ...

…pt structure so that assertion failures don't prevent returning the rest of the statistical data
…ate uq.campaign to uq.Campaign; add the 'sqlite:///' prefix to the db_location
Copy link
Collaborator

@wedeling wedeling left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@djgroen djgroen merged commit 7c82457 into dev Dec 5, 2023
7 checks passed
@@ -38,7 +39,13 @@

# Read an old campaign
time_start = time.time()
old_campaign = uq.Campaign(state_file="campaign_state.json", work_dir=".")
<<<<<<< HEAD

Check failure

Code scanning / CodeQL

Syntax error Error

Syntax Error (in Python 3).
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.

4 participants