Skip to content

Commit 60cef1c

Browse files
committed
v0.5.2
1 parent e9f963e commit 60cef1c

File tree

8 files changed

+12
-13
lines changed

8 files changed

+12
-13
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DECAES"
22
uuid = "d84fb938-a666-558e-89d9-d531edc6724f"
33
authors = ["Jonathan Doucette <jdoucette@physics.ubc.ca>"]
4-
version = "0.5.2-DEV"
4+
version = "0.5.2"
55

66
[deps]
77
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"

api/DECAESApp/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DECAESApp"
22
uuid = "d8797698-3039-405c-b3a8-98519dba00aa"
33
authors = ["Jonathan Doucette <jdoucette@physics.ubc.ca>"]
4-
version = "0.5.2-DEV"
4+
version = "0.5.2"
55

66
[deps]
77
DECAES = "d84fb938-a666-558e-89d9-d531edc6724f"

api/decaes.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
%
8989
% Note the separation of the Matlab-specific flags from the DECAES settings file.
9090
%
91-
% This version of decaes.m was written for DECAES v0.5.2-DEV.
91+
% This version of decaes.m was written for DECAES v0.5.2.
9292
% DECAES was written by Jonathan Doucette (jdoucette@physics.ubc.ca).
9393
% Original MATLAB implementation is by Thomas Prasloski (tprasloski@gmail.com).
9494

api/decaes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ parser = argparse.ArgumentParser(
2121
2222
./decaes.sh @/path/to/decaes_settings_file.txt
2323
24-
This version of decaes.sh was written for DECAES v0.5.2-DEV.
24+
This version of decaes.sh was written for DECAES v0.5.2.
2525
""",
2626
formatter_class = argparse.RawDescriptionHelpFormatter,
2727
)

api/decaes_pyjulia.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Call methods from the DECAES module as usual, e.g.
1717
DECAES.T2mapSEcorr(image, kwargs...)
1818
19-
This version of decaes.py was written for DECAES v0.5.2-DEV.
19+
This version of decaes.py was written for DECAES v0.5.2.
2020
"""
2121

2222
import julia

api/decaes_pyjuliacall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Call methods from the DECAES module as usual, e.g.
1515
DECAES.T2mapSEcorr(image, kwargs...)
1616
17-
This version of decaes.py was written for DECAES v0.5.2-DEV.
17+
This version of decaes.py was written for DECAES v0.5.2.
1818
"""
1919
from juliacall import Main as jl
2020
import juliapkg

src/DECAES.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module DECAES
22

3-
const VERSION = v"0.5.2-DEV"
3+
const VERSION = v"0.5.2"
44

55
# Standard libraries
66
using Dates: Dates

test/misc.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88
@test DECAES.VERSION == VersionNumber(decaes_app_proj["version"])
99

1010
(; major, minor, patch, prerelease) = DECAES.VERSION
11-
if prerelease == ()
12-
@test DECAES.VERSION == VersionNumber(decaes_app_proj["compat"]["DECAES"])
13-
@test DECAES.VERSION == VersionNumber(decaes_cli_proj["compat"]["DECAES"])
14-
else
11+
@test startswith(decaes_app_proj["compat"]["DECAES"], "=")
12+
@test startswith(decaes_cli_proj["compat"]["DECAES"], "=")
13+
@test DECAES.VERSION == VersionNumber(split(decaes_app_proj["compat"]["DECAES"], '=')[2])
14+
@test DECAES.VERSION == VersionNumber(split(decaes_cli_proj["compat"]["DECAES"], '=')[2])
15+
if prerelease != ()
1516
@test prerelease == ("DEV",)
16-
@test decaes_app_proj["compat"]["DECAES"] == "=$(major).$(minor).$(patch)"
17-
@test decaes_cli_proj["compat"]["DECAES"] == "=$(major).$(minor).$(patch)"
1817
end
1918

2019
for file in ["decaes.m", "decaes_pyjulia.py", "decaes_pyjuliacall.py", "decaes.sh"]

0 commit comments

Comments
 (0)