Skip to content

Commit

Permalink
Adds DOI and updates version to 2.1.0 (#107)
Browse files Browse the repository at this point in the history
* Adds DOI and updates version to 2.1.0

* bugfix for no vector render
  • Loading branch information
StephenNneji authored Feb 10, 2023
1 parent 63f63aa commit de4984d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![release](https://img.shields.io/github/release/ISISNeutronMuon/SScanSS-2.svg)](https://github.com/ISISNeutronMuon/SScanSS-2/releases)
[![Actions Status](https://github.com/ISISNeutronMuon/SScanSS-2/workflows/Build/badge.svg)](https://github.com/ISISNeutronMuon/SScanSS-2/actions)
[![Actions Status](https://github.com/ISISNeutronMuon/SScanSS-2/workflows/Docs/badge.svg)](https://github.com/ISISNeutronMuon/SScanSS-2/actions)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6516966.svg)](https://doi.org/10.5281/zenodo.6516966)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7625691.svg)](https://doi.org/10.5281/zenodo.7625691)

SScanSS 2
=========
Expand All @@ -24,5 +24,5 @@ Citing SScanSS 2
1. J. A. James, J. R. Santisteban, L. Edwards and M. R. Daymond, “A virtual laboratory for neutron and synchrotron
strain scanning,” Physica B: Condensed Matter, vol. 350, no. 1-3, p. 743–746, 2004.

2. Nneji Stephen, & Cooper Joshaniel FK. (2022). SScanSS 2—a redesigned strain scanning simulation software (Version 2.0.0).
[http://doi.org/10.5281/zenodo.6516966](http://doi.org/10.5281/zenodo.6516966).
2. Nneji Stephen, Sharp Paul, Farooq Rabiya, Zavileiskii Timofei, & Cooper Joshaniel FK. (2022). SScanSS 2—a redesigned
strain scanning simulation software (Version 2.1.0). [http://doi.org/10.5281/zenodo.7625691](http://doi.org/10.5281/zenodo.7625691).
4 changes: 2 additions & 2 deletions sscanss/__version.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ def __repr__(self):
return f'Version({self.major}, {self.minor}, {self.patch}, {self.pre_release}, {self.build})'


__version__ = Version(2, 0, 0)
__editor_version__ = Version(2, 0, 0)
__version__ = Version(2, 1, 0)
__editor_version__ = Version(2, 1, 0)
6 changes: 3 additions & 3 deletions sscanss/app/dialogs/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def __init__(self, parent):
'<ol><li>J. A. James, J. R. Santisteban, L. Edwards and M. R. Daymond, “A virtual laboratory for '
'neutron and synchrotron strain scanning,” Physica B: Condensed Matter, vol. 350, no. 1-3, '
'p. 743–746, 2004.</li>'
'<li>Nneji Stephen, & Cooper Joshaniel FK. (2022). SScanSS 2—a redesigned strain scanning simulation '
'software (Version 2.0.0). <a href="http://doi.org/10.5281/zenodo.6516966">'
'http://doi.org/10.5281/zenodo.6516966</a>.</li>'
'<li>Nneji Stephen, Sharp Paul, Farooq Rabiya, Zavileiskii Timofei, & Cooper Joshaniel FK. (2022). '
'SScanSS 2—a redesigned strain scanning simulation software (Version 2.1.0). '
'<a href="http://doi.org/10.5281/zenodo.7625691">http://doi.org/10.5281/zenodo.7625691</a>.</li>'
'</ol>'
'<h3>Credit</h3>'
'<ul><li>Icons from FontAwesome</li></ul>'
Expand Down
2 changes: 1 addition & 1 deletion sscanss/core/scene/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def draw(self, renderer):
:param renderer: OpenGl renderer instance
:type renderer: OpenGLRenderer
"""
if not self.visible or self.buffer is None:
if not self.visible:
return

GL.glPushMatrix()
Expand Down

0 comments on commit de4984d

Please sign in to comment.