Skip to content

Commit 5a5f53d

Browse files
committed
remove pynxtools from dependencies
1 parent 91f3665 commit 5a5f53d

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python -m pip install coverage coveralls
3333
- name: Install package
3434
run: |
35-
pip install ".[dev]"
35+
pip install ".[dev,consistency_with_pynxtools]"
3636
- name: Test with pytest
3737
run: |
3838
coverage run -m pytest -sv --show-capture=no tests

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ cython_debug/
201201
*.txt
202202
!requirements.txt
203203
!dev-requirements.txt
204-
!Cu-*.txt
205-
!Ag_*.txt
204+
!examples/scienta/Cu-*.txt
205+
!tests/data/Ag_*.txt
206206
build/
207207
.python-version

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ It is recommended to use python 3.11 with a dedicated virtual environment for th
1515
Learn how to manage [python versions](https://github.com/pyenv/pyenv) and
1616
[virtual environments](https://realpython.com/python-virtual-environments-a-primer/).
1717

18-
Install this package with
18+
This package is a reader plugin for [`pynxtools`](https://github.com/FAIRmat-NFDI/pynxtools) and thus should be installed together with `pynxtools`:
19+
1920

2021
```shell
21-
pip install git+https://github.com/FAIRmat-NFDI/pynxtools-xps.git
22+
pip install pynxtools[xps]
2223
```
2324

2425
for the latest development version.
2526

2627

2728
# Purpose
28-
This reader plugin for [pynxtools](https://github.com/FAIRmat-NFDI/pynxtools) is used to translate diverse file formats from the scientific community and technology partners
29+
This reader plugin for [`pynxtools`](https://github.com/FAIRmat-NFDI/pynxtools) is used to translate diverse file formats from the scientific community and technology partners
2930
within the field of X-ray photoelectron spectroscopy into a standardized representation using the
3031
[NeXus](https://www.nexusformat.org/) application definition [NXmpes](https://fairmat-nfdi.github.io/nexus_definitions/classes/contributed_definitions/NXmpes.html#nxmpes).
3132

@@ -43,7 +44,7 @@ The reader decides which parser to use based on the file extension of the files
4344
We are continously working on adding parsers for other data formats and technology partners. If you would like to implement a parser for your data, feel free to get in contact.
4445

4546
# Getting started
46-
An example script to run the XPS reader in pynxtools:
47+
An example script to run the XPS reader in `pynxtools`:
4748
```sh
4849
! dataconverter \
4950
--reader xps \
@@ -95,4 +96,4 @@ python -m pytest -sv tests
9596
```
9697

9798
## Contact person in FAIRmat for this reader
98-
Lukas Pielsticker
99+
Lukas Pielsticker

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ dev = [
4848
"pip-tools",
4949
"pre-commit"
5050
]
51+
consistency_with_pynxtools = [
52+
"pynxtools>=0.1.1",
53+
]
5154

5255
[tool.setuptools.package-data]
5356
pynxtools_xps = ["*.json"]

0 commit comments

Comments
 (0)