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 dataset weights #1384

Merged
merged 1 commit into from
Oct 22, 2023
Merged

🩹 Fix dataset weights #1384

merged 1 commit into from
Oct 22, 2023

Conversation

jsnel
Copy link
Member

@jsnel jsnel commented Oct 22, 2023

Tested with freshly ported ex_two_datasets example

@jsnel jsnel changed the base branch from main to staging October 22, 2023 08:33
@github-actions
Copy link
Contributor

Binder 👈 Launch a binder notebook on branch jsnel/pyglotaran/fix_dataset_weights

@codecov
Copy link

codecov bot commented Oct 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
glotaran/optimization/data.py 87.1% <100.0%> (ø)

📢 Thoughts on this report? Let us know!.

Copy link
Member

@s-weigand s-weigand left a comment

Choose a reason for hiding this comment

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

Seams right since get_model_weight(model) creates a new array without having side effects. Good catch 👍

@sonarcloud
Copy link

sonarcloud bot commented Oct 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@joernweissenborn joernweissenborn left a comment

Choose a reason for hiding this comment

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

Thx for fixing.

@jsnel jsnel merged commit ace4db8 into glotaran:staging Oct 22, 2023
19 of 36 checks passed
@jsnel jsnel deleted the fix_dataset_weights branch October 22, 2023 14:50
jsnel added a commit to jsnel/pyglotaran that referenced this pull request Jun 2, 2024
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.

None yet

3 participants