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

v1.5 release #329

Merged
merged 6 commits into from
May 4, 2024
Merged

v1.5 release #329

merged 6 commits into from
May 4, 2024

Conversation

JostMigenda
Copy link
Member

Changes for the v1.5 release.

Note: Because of a bug in SNOwGLoBES v1.3.1 and earlier (where channels_argon.dat would incorrectly refer to _he channels), SNEWPY would not find the efficiency files and assume a fixed efficiency of 100%.
With the fix in SNOwGLoBES v1.3.2, SNEWPY now finds the correct efficiency files, so the total event count for the ar40kt detector is about 5% lower than in previous versions.

numpy <1.16 required Python <=3.7, which we don’t support anymore; so this restriction is redundant
Due to a bug in earlier SNOwGLoBES versions (SNOwGLoBES/snowglobes#28), snewpy wouldn’t load efficiency files for ar40kt and produce this warning:
> python/snewpy/rate_calculator.py:389: UserWarning: Efficiency not found for detector=ar40kt, channel=nue_Ar40_he. Using 100% efficiency
(Note the `_he` in the channel name!)

With snowglobes_data 1.3.2, snewpy finds the correct efficiency file. This leads to a lower efficiency and we lose some events.
This commit updates the rate_table with the new event counts.
* use absolute URL to snewpy logo (relative URLs break when README is displayed on PyPI)
* Jupyter notebooks for models were moved to new directory in #313
Copy link
Contributor

@Sheshuk Sheshuk 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, thanks for this work!

echo "PYTHON_VERSION=${PYTHON_VERSION}"
GIT_VERSION=${GITHUB_REF/refs\/tags\/v/}
echo "GIT_VERSION=${GIT_VERSION}"
if [ $PYTHON_VERSION != $GIT_VERSION ]; then exit 1; fi
Copy link
Contributor

Choose a reason for hiding this comment

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

I really like this versions check, nice!

@Sheshuk Sheshuk merged commit 0dffd9c into main May 4, 2024
11 checks passed
@JostMigenda JostMigenda deleted the JostMigenda/v1.5release branch May 31, 2024 15:10
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

2 participants