diff --git a/.codecov.yml b/.codecov.yml index ec3b3b856..e478027f6 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -8,13 +8,16 @@ # ---------------------- coverage: status: + project: + default: + threshold: 1% # complain if change in codecoverage is greater than 1% patch: false - range: 70..90 # First number represents red, and second represents green - # (default is 70..100) + # (default is 70..100) round: down # up, down, or nearest precision: 2 # Number of decimal places, between 0 and 5 + # Ignoring Paths # -------------- # which folders/files to ignore diff --git a/.travis.yml b/.travis.yml index 042412621..18b2cb85d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,7 @@ deploy: keep-history: true on: branch: main + tags: true # push only once python: "3.9" local_dir: docs/_build/html/ diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 000000000..75b9de0e7 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,33 @@ +authors: + - family-names: Gao + given-names: James S. + - family-names: Huth + given-names: Alexander G. + - family-names: Lescroart + given-names: Mark D. + - family-names: Gallant + given-names: Jack L. +title: 'Pycortex: an interactive surface visualizer for fMRI' +type: software +cff-version: 1.2.0 +message: 'If you use this software, please cite it using the paper from this file.' +repository: 'https://github.com/gallantlab/pycortex' +url: 'https://gallantlab.github.io/pycortex' + +preferred-citation: + authors: + - family-names: Gao + given-names: James S. + - family-names: Huth + given-names: Alexander G. + - family-names: Lescroart + given-names: Mark D. + - family-names: Gallant + given-names: Jack L. + title: 'Pycortex: an interactive surface visualizer for fMRI' + doi: 10.3389/fninf.2015.00023 + type: article + journal: Frontiers in Neuroinformatics + volume: 9 + pages: 23 + year: 2015 diff --git a/cortex/version.py b/cortex/version.py index 960f71b75..fc6fbfe33 100644 --- a/cortex/version.py +++ b/cortex/version.py @@ -17,7 +17,7 @@ # since the __version__ will be later automatically parsed by adding the git # commit hash # so valid versions will be 1.2.1.dev0, 1.4.dev0, etc -__version__ = '1.3.0.dev0' +__version__ = '1.2.2' __hardcoded_version__ = __version__ __full_version__ = __version__ diff --git a/docs/changelog.rst b/docs/changelog.rst index 32cfd4e86..d2ab2922c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,21 @@ Changelog ========== +1.2.2 +------ + +**Added** + +- Enhancements to ``cortex.export`` (`#394 `_) +- Add Blue/Purple/Red/Orange/Green colormap (`#395 `_) + +**Fixed** + +- Add more informative error in get_texture if inkscape is not installed (`#391 `_) +- Handle byte encoding with newer Python versions (`#397 `_) +- Allow vertex data to be passed to ``cortex.segment.cut_surface`` (`#399 `_) +- Set default imshow interpolation to nearest for ``composite.add_data`` (`#402 `_) + 1.2.1 -----