Skip to content

Remove pynxtools from dependencies #30

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python -m pip install coverage coveralls
- name: Install package
run: |
pip install ".[dev]"
pip install ".[dev,consistency_with_pynxtools]"
- name: Test with pytest
run: |
coverage run -m pytest -sv --show-capture=no tests
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ cython_debug/
*.txt
!requirements.txt
!dev-requirements.txt
!Cu-*.txt
!Ag_*.txt
!examples/scienta/Cu-*.txt
!tests/data/Ag_*.txt
build/
.python-version
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ It is recommended to use python 3.11 with a dedicated virtual environment for th
Learn how to manage [python versions](https://github.com/pyenv/pyenv) and
[virtual environments](https://realpython.com/python-virtual-environments-a-primer/).

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


```shell
pip install git+https://github.com/FAIRmat-NFDI/pynxtools-xps.git
pip install pynxtools[xps]
```

for the latest development version.


# Purpose
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
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
within the field of X-ray photoelectron spectroscopy into a standardized representation using the
[NeXus](https://www.nexusformat.org/) application definition [NXmpes](https://fairmat-nfdi.github.io/nexus_definitions/classes/contributed_definitions/NXmpes.html#nxmpes).

Expand All @@ -43,7 +44,7 @@ The reader decides which parser to use based on the file extension of the files
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.

# Getting started
An example script to run the XPS reader in pynxtools:
An example script to run the XPS reader in `pynxtools`:
```sh
! dataconverter \
--reader xps \
Expand Down Expand Up @@ -95,4 +96,4 @@ python -m pytest -sv tests
```

## Contact person in FAIRmat for this reader
Lukas Pielsticker
Lukas Pielsticker
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ dev = [
"pip-tools",
"pre-commit"
]
consistency_with_pynxtools = [
"pynxtools>=0.1.1",
]

[tool.setuptools.package-data]
pynxtools_xps = ["*.json"]
Expand Down
Loading