Skip to content

Commit

Permalink
migrate from .zenodo.json to CITATION.cff
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Aug 25, 2022
1 parent 0e0d865 commit 670c983
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 93 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- [ ] all [CI][what-is-ci] checks pass
- [ ] (if applicable): the PR description includes the phrase `closes #<issue-number>` to [automatically close an issue][auto-close-documentation]
- [ ] (if applicable): bug fixes, new features, or [API][what-is-api] changes are documented in [whats_new.rst][whats-new-file]
- [ ] (if applicable): new contributors have added themselves to the authors list in the `CITATION.cff` file


[what-is-ci]: https://help.github.com/en/actions/building-and-testing-code-with-continuous-integration/about-continuous-integration
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: cffconvert

on:
push:
paths:
- CITATION.cff
pull_request:
paths:
- CITATION.cff

jobs:
validate:
name: "validate"
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v3

- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/cffconvert-github-action@2.0.0
with:
args: "--validate"
92 changes: 0 additions & 92 deletions .zenodo.json

This file was deleted.

93 changes: 93 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# YAML 1.2
---
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
cff-version: 1.2.0
title: 'PyPREP: A Python implementation of the preprocessing pipeline (PREP) for EEG data.'
abstract: 'PyPrep is a Python library to facilitate preprocessing of EEG data. More information can be found at <a href=\"https://pyprep.readthedocs.io\">pyprep.readthedocs.io</a>.'
authors:
- given-names: Stefan
family-names: Appelhoff
affiliation: 'Center for Adaptive Rationality, Max Planck Institute for Human Development, Berlin, Germany'
orcid: 'https://orcid.org/0000-0001-8002-0877'
- given-names: Austin J.
family-names: Hurst
affiliation: 'Dalhousie University, Halifax, Nova Scotia'
orcid: 'https://orcid.org/0000-0002-0219-4131'
- given-names: Aamna
family-names: Lawrence
affiliation: 'Johns Hopkins University, Baltimore, MD, USA'
orcid: 'https://orcid.org/0000-0002-0983-0997'
- given-names: Adam
family-names: Li
affiliation: 'Institute for Computational Medicine, Johns Hopkins University, Baltimore, MD, USA'
orcid: 'https://orcid.org/0000-0001-8421-365X'
- given-names: Yorguin José
family-names: Mantilla Ramos
affiliation: 'Grupo Neuropsicología y Conducta, Universidad de Antioquia, Medellín, Colombia'
orcid: 'https://orcid.org/0000-0003-4473-0876'
- given-names: Christian
family-names: O'Reilly
affiliation: 'Azrieli Centre for Autism Research, McGill University, Montreal, Canada'
orcid: 'https://orcid.org/0000-0002-3149-4934'
- given-names: Liang
family-names: Xiang
affiliation: 'Department of Biomedical Engineering, Johns Hopkins University, Baltimore, MD, USA'
orcid: 'https://orcid.org/0000-0003-3191-9565'
- given-names: Jonte
family-names: Dancker
affiliation: 'Institute of Electric Power Systems, Otto von Guericke University Magdeburg, Magdeburg, Germany'
- given-names: Mathieu
family-names: Scheltienne
affiliation: 'Fondation Campus Biotech Geneva, Geneva, Switzerland'
- given-names: Ole
family-names: Bialas
affiliation: 'Department of Biomedical Engineering, University of Rochester, Rochester, NY, USA'
orcid: 'https://orcid.org/0000-0003-4472-7626'
type: software
repository-code: 'https://github.com/sappelhoff/pyprep'
license: MIT
keywords:
- EEG
- artifact
- preprocessing
- data
- neuroscience
- neuroimaging
- mne
- python
- electroencephalography
- eeg
message: >-
Please cite this software using the citation string you can
find on the Zenodo archive page, or use the data provided
in the CITATION.cff file.
identifiers:
- description: "Code archive on Zenodo"
type: doi
value: 10.5281/zenodo.6363575
references:
- authors:
- name: "PREP developers"
repository-code: "https://github.com/VisLab/EEG-Clean-Tools"
title: Original PREP code
type: software
- authors:
- family-names: Bielefeld
given-names: Arthur
- family-names: Bielefeld
given-names: Arthur
- family-names: Bielefeld
given-names: Arthur
- family-names: Bielefeld
given-names: Arthur
- family-names: Bielefeld
given-names: Arthur
doi: 10.3389/fninf.2015.00016
issue: 16
journal: "Frontiers in Neuroinformatics"
scope: "Cite this paper if you in addition to PyPrep, because it describes the original pipeline."
title: "The PREP pipeline: standardized preprocessing for large-scale EEG analysis"
type: article
volume: 42
year: 2015
...
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include LICENSE
include requirements-dev.txt
include versioneer.py
include pyprep/_version.py
include .zenodo.json
include CITATION.cff

graft docs
graft examples
Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Citing

If you use this software in academic work, please cite it using the `Zenodo entry <https://zenodo.org/badge/latestdoi/129240824>`_.
Please also consider citing the original publication on PREP (see "References" below).
Metadata is encoded in the `CITATION.cff` file.

References
==========
Expand Down

0 comments on commit 670c983

Please sign in to comment.