Skip to content

Commit

Permalink
Merge pull request #54 from SNEWS2/JostMigenda/movetoSNEWS2
Browse files Browse the repository at this point in the history
update URLs after repo moved to SNEWS2 org; other bookkeeping updates
  • Loading branch information
JostMigenda authored Apr 16, 2024
2 parents c821c5f + 6c178ab commit 3553a7e
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build Documentation
uses: xu-cheng/latex-action@v2
uses: xu-cheng/latex-action@v3
with:
working_directory: doc
root_file: documentation.tex
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -40,9 +40,9 @@ jobs:
lint:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sntools was originally developed for Hyper-Kamiokande and later extended to supp

Additionally, sntools can be used as a Python library that implements neutrino cross sections.

This README file should give a brief overview over sntools and help you get started. For more information, see the [full documentation for each release on GitHub](https://github.com/JostMigenda/sntools/releases).
This README file should give a brief overview over sntools and help you get started. For more information, see the [full documentation for each release on GitHub](https://github.com/SNEWS2/sntools/releases).

## Getting Started
### Installation Instructions
Expand Down Expand Up @@ -81,8 +81,8 @@ Water-based liquid scintillator, a mixture of the two materials, is also support
A text file in the NUANCE format (used by the `/mygen/vecfile` options in WCSim) or the RATPAC format.

## Support and Contributing
To report problems or ask for help, [open an issue on GitHub](https://github.com/JostMigenda/sntools/issues) or email the [lead developer](https://github.com/JostMigenda/).
To report problems or ask for help, [open an issue on GitHub](https://github.com/SNEWS2/sntools/issues) or email the [lead developer](https://github.com/JostMigenda/).

Contributions to sntools are welcome! See instructions in the [full documentation](https://github.com/JostMigenda/sntools/releases) for help on common ways to extend sntools (e. g. by adding a new detector, input format or interaction channel) and please submit a pull request with your contributions!
Contributions to sntools are welcome! See instructions in the [full documentation](https://github.com/SNEWS2/sntools/releases) for help on common ways to extend sntools (e. g. by adding a new detector, input format or interaction channel) and please submit a pull request with your contributions!

Please note that this project is released with a Contributor Code of Conduct (see `CODE_OF_CONDUCT.md`). By participating in this project you agree to abide by its terms.
6 changes: 3 additions & 3 deletions doc/documentation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
\newcommand{\nuxbar}{\ensuremath{\bar{\nu}_x}\xspace}


\title{Documentation for sntools 1.3\footnote{See \url{https://github.com/JostMigenda/sntools} for the most recent version.}}
\title{Documentation for sntools 1.3\footnote{See \url{https://github.com/SNEWS2/sntools} for the most recent version.}}
\author{Jost Migenda\footnote{King’s College London, \url{[email protected]}}}
\date{\today}

Expand Down Expand Up @@ -303,7 +303,7 @@ \subsubsection{Additional Transformations}
See reference~\cite{SNEWS:2021ezc} for a full description.
To use these transformations in sntools, prefix them with \texttt{SNEWPY-}. For example, to apply three flavor decoherence use sntools with the command line argument \texttt{--transformation SNEWPY-ThreeFlavorDecoherence}.

Some additional flavour transformations, like \texttt{NeutrinoDecay}, are implemented in SNEWPY but require some more work to be supported by sntools. If you are interested in these, \href{https://github.com/JostMigenda/sntools/issues/28}{please join the discussion on GitHub}!
Some additional flavour transformations, like \texttt{NeutrinoDecay}, are implemented in SNEWPY but require some more work to be supported by sntools. If you are interested in these, \href{https://github.com/SNEWS2/sntools/issues/28}{please join the discussion on GitHub}!


\subsection{Input Formats} \label{sec:input-formats}
Expand Down Expand Up @@ -398,7 +398,7 @@ \subsubsection{Totani Format}

\section{Getting Help and Contributing}

To report problems or ask for help, \href{https://github.com/JostMigenda/sntools/issues}{open an issue on GitHub} or email the lead developer (see title page of this document).
To report problems or ask for help, \href{https://github.com/SNEWS2/sntools/issues}{open an issue on GitHub} or email the lead developer (see title page of this document).

sntools is designed to be versatile and support many different detectors and input formats.
\textbf{Your contributions are welcome!}
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"numpy",
"scipy",
"h5py >= 2.10",
"snewpy ~=1.4b1",
"snewpy ~=1.4.0",
"uproot"
]

Expand All @@ -39,6 +39,7 @@ classifiers = [
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]


Expand All @@ -47,8 +48,8 @@ sntools = "sntools.genevts:main"


[project.urls]
"Homepage" = "https://github.com/JostMigenda/sntools"
"Bug Tracker" = "https://github.com/JostMigenda/sntools/issues"
"Homepage" = "https://github.com/SNEWS2/sntools"
"Bug Tracker" = "https://github.com/SNEWS2/sntools/issues"


[tool.setuptools.dynamic]
Expand Down
6 changes: 3 additions & 3 deletions src/sntools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
For usage information, run `sntools -h` or `python sntools/genevts.py -h`.
For more extensive documentation, to report issues or to contribute code,
see https://github.com/JostMigenda/sntools.
see https://github.com/SNEWS2/sntools.
"""
__version__ = '1.3'

Expand All @@ -28,7 +28,7 @@ def setup():

flux_dir = 'fluxes/'
flux_file = flux_dir + 'intp2001.data'
flux_url = 'https://raw.githubusercontent.com/JostMigenda/sntools/main/fluxes/intp2001.data'
flux_url = 'https://raw.githubusercontent.com/SNEWS2/sntools/main/fluxes/intp2001.data'
if os.path.exists(flux_file):
tryprint(u"\u2705", "[SUCCESS]")
print("Using sample flux file at " + flux_file)
Expand Down Expand Up @@ -68,7 +68,7 @@ def setup():
tryprint(u"\u274c", "[ERROR]")
print("Please ensure you have installed the most recent version of sntools and all dependencies.")
tryprint(u"\u274c", "[ERROR]")
print("If this persists, please go to https://github.com/JostMigenda/sntools and open a new issue.")
print("If this persists, please go to https://github.com/SNEWS2/sntools and open a new issue.")


def tryprint(default, alternative=''):
Expand Down

0 comments on commit 3553a7e

Please sign in to comment.