Skip to content

Commit

Permalink
Adds DOI and updates version to 2.2.0 (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenNneji authored Aug 23, 2024
1 parent 9417714 commit c37d13c
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ jobs:
with:
name: macos installer
path: installer/macos/*.dmg
if-no-files-found: error
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.7625691.svg)](https://doi.org/10.5281/zenodo.7625691)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13359743.svg)](https://doi.org/10.5281/zenodo.13359743)

SScanSS 2
=========
Expand All @@ -23,5 +23,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, 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).
2. Nneji Stephen, Buchanan Rob, Farooq Rabiya, Sharp Paul, Zavileiskii Timofei, & Cooper Joshaniel FK. (2024).
SScanSS 2—a redesigned strain scanning simulation software (Version 2.2.0). [http://doi.org/10.5281/zenodo.13359743](http://doi.org/10.5281/zenodo.13359743).
6 changes: 3 additions & 3 deletions docs/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ 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, Sharp Paul, Farooq Rabiya, Zavileiskii Timofei, & Cooper Joshaniel FK. (2022). SScanSS 2—a redesigned
strain scanning simulation software (Version 2.1.0). |doi|.
2. Nneji Stephen, Buchanan Rob, Farooq Rabiya, Sharp Paul, Zavileiskii Timofei, & Cooper Joshaniel FK. (2024).
SScanSS 2—a redesigned strain scanning simulation software (Version 2.2.0). |doi|.


.. |github| raw:: html
Expand All @@ -105,4 +105,4 @@ strain scanning simulation software (Version 2.1.0). |doi|.

.. |doi| raw:: html

<a href="https://doi.org/10.5281/zenodo.7625691" target="_blank">https://doi.org/10.5281/zenodo.7625691</a>
<a href="https://doi.org/10.5281/zenodo.13359743" target="_blank">https://doi.org/10.5281/zenodo.13359743</a>
4 changes: 2 additions & 2 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def build_editor():
'--name', 'editor', '--specpath',
str(work_path), '--workpath',
str(work_path), '--windowed', '--noconfirm', '--distpath',
str(dist_path), '--clean', '--log-level', 'CRITICAL',
str(dist_path), '--clean', '--log-level', 'ERROR',
str(main_path)
]

Expand Down Expand Up @@ -186,7 +186,7 @@ def build_sscanss():
'--name', 'sscanss', '--specpath',
str(work_path), '--workpath',
str(work_path), '--windowed', '--noconfirm', '--distpath',
str(dist_path), '--clean', '--log-level', 'CRITICAL',
str(dist_path), '--clean', '--log-level', 'ERROR',
str(main_path)
]

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NLopt==2.7.1
numpy==1.23.5
gimpact==1.0.1
Pillow==9.2.0
PyInstaller==5.7.0
PyInstaller==6.7.0
PyOpenGL==3.1.6
PyQt6==6.3.1
PyQt6-Qt6==6.5.2
Expand Down
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, 1, 0)
__editor_version__ = Version(2, 1, 0)
__version__ = Version(2, 2, 0)
__editor_version__ = Version(2, 2, 0)
8 changes: 4 additions & 4 deletions sscanss/app/dialogs/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ 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, Sharp Paul, Farooq Rabiya, Zavileiskii Timofei, & Cooper Joshaniel FK. (2022). '
'SScanSS 2—a redesigned strain scanning simulation software (Version 2.1.0). '
f'<a href="http://doi.org/10.5281/zenodo.7625691" style="color:{self.parent().themes.html_anchor.name()};">'
f'http://doi.org/10.5281/zenodo.7625691</a>.</li>'
'<li>Nneji Stephen, Buchanan Rob, Farooq Rabiya, Sharp Paul, Zavileiskii Timofei, & Cooper Joshaniel FK. (2024). '
'SScanSS 2—a redesigned strain scanning simulation software (Version 2.2.0). '
f'<a href="http://doi.org/10.5281/zenodo.13359743" style="color:{self.parent().themes.html_anchor.name()};">'
f'http://doi.org/10.5281/zenodo.13359743</a>.</li>'
'</ol>'
'<h3>Credit</h3>'
'<ul><li>Icons from FontAwesome</li></ul>'
Expand Down

0 comments on commit c37d13c

Please sign in to comment.