Skip to content

Commit

Permalink
MNT Release version 1.2.2 (#403)
Browse files Browse the repository at this point in the history
* MNT version 1.2.2

* MNT add CITATION.cff file

* MNT move citation file to parent dir

* MNT improve CITATION.cff

* MNT push to pycortex.github.io only for releases

* MNT fill changelog

* MNT finalize changelog

* MNT complain only if code coverage changes more than 1%
  • Loading branch information
mvdoc committed Oct 23, 2021
1 parent a1cd215 commit 40547aa
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .codecov.yml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -50,6 +50,7 @@ deploy:
keep-history: true
on:
branch: main
tags: true
# push only once
python: "3.9"
local_dir: docs/_build/html/
Expand Down
33 changes: 33 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion cortex/version.py
Expand Up @@ -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__

Expand Down
15 changes: 15 additions & 0 deletions docs/changelog.rst
Expand Up @@ -4,6 +4,21 @@ Changelog
==========


1.2.2
------

**Added**

- Enhancements to ``cortex.export`` (`#394 <https://github.com/gallantlab/pycortex/pull/394>`_)
- Add Blue/Purple/Red/Orange/Green colormap (`#395 <https://github.com/gallantlab/pycortex/pull/395>`_)

**Fixed**

- Add more informative error in get_texture if inkscape is not installed (`#391 <https://github.com/gallantlab/pycortex/pull/391>`_)
- Handle byte encoding with newer Python versions (`#397 <https://github.com/gallantlab/pycortex/pull/397>`_)
- Allow vertex data to be passed to ``cortex.segment.cut_surface`` (`#399 <https://github.com/gallantlab/pycortex/pull/399>`_)
- Set default imshow interpolation to nearest for ``composite.add_data`` (`#402 <https://github.com/gallantlab/pycortex/pull/402>`_)

1.2.1
-----

Expand Down

0 comments on commit 40547aa

Please sign in to comment.