Commit f5ca05a 1 parent 1b098b0 commit f5ca05a Copy full SHA for f5ca05a
File tree 4 files changed +6
-37
lines changed
4 files changed +6
-37
lines changed Original file line number Diff line number Diff line change 1
1
[MP2RAGE_data ]
2
2
git-tree-sha1 = " 04cd4c29bb9e2aeb5384fbc70a9af0e1a37ca369"
3
- lazy = true
4
3
5
4
[[MP2RAGE_data .download ]]
6
5
sha256 = " 1f1b703c79db66ba6ef620651eca431cb0319d87f1eafa53826cb11a93afe4a8"
Original file line number Diff line number Diff line change @@ -16,28 +16,11 @@ using CairoMakie # plotting
16
16
17
17
18
18
# ## Loading Package
19
- using Artifacts
20
19
using LazyArtifacts # loading data
21
20
using SEQ_BRUKER_a_MP2RAGE_CS_360
22
21
using CairoMakie # plotting
23
22
24
- artifact_data = """
25
- [MP2RAGE_data]
26
- git-tree-sha1 = "04cd4c29bb9e2aeb5384fbc70a9af0e1a37ca369"
27
- lazy = true
28
-
29
- [[MP2RAGE_data.download]]
30
- sha256 = "1f1b703c79db66ba6ef620651eca431cb0319d87f1eafa53826cb11a93afe4a8"
31
- url = "https://zenodo.org/records/14051522/files/data.tar.gz"
32
- """
33
- # ## Download the datasets
34
- temp_artifact_toml = tempname ()
35
- open (temp_artifact_toml, " w" ) do file
36
- write (file, artifact_data)
37
- end
38
- _hash = artifact_hash (" MP2RAGE_data" , temp_artifact_toml)
39
- datadir = artifact_path (_hash)
40
-
23
+ datadir = Main. MP2_artifacts
41
24
@info " The test data is located at $datadir ."
42
25
43
26
# If you want to perform your own reconstruction, you can change the following line in order to point to another a bruker dataset
Original file line number Diff line number Diff line change 8
8
#
9
9
10
10
# ## Loading Package
11
- using Artifacts
12
11
using LazyArtifacts # loading data
13
12
using SEQ_BRUKER_a_MP2RAGE_CS_360
14
13
using CairoMakie # plotting
15
14
16
15
# ## Download the datasets
17
- artifact_data = """
18
- [MP2RAGE_data]
19
- git-tree-sha1 = "04cd4c29bb9e2aeb5384fbc70a9af0e1a37ca369"
20
- lazy = true
21
-
22
- [[MP2RAGE_data.download]]
23
- sha256 = "1f1b703c79db66ba6ef620651eca431cb0319d87f1eafa53826cb11a93afe4a8"
24
- url = "https://zenodo.org/records/14051522/files/data.tar.gz"
25
- """
26
-
27
- # Write the data to a temporary file
28
- temp_artifact_toml = tempname ()
29
- open (temp_artifact_toml, " w" ) do file
30
- write (file, artifact_data)
31
- end
32
- _hash = artifact_hash (" MP2RAGE_data" , temp_artifact_toml)
33
- datadir = artifact_path (_hash)
34
16
17
+ datadir = Main. MP2_artifacts
35
18
@info " The test data is located at $datadir ."
36
19
37
20
# If you want to perform your own reconstruction, you can change the following line in order to point to another a bruker dataset
Original file line number Diff line number Diff line change 1
1
using SEQ_BRUKER_a_MP2RAGE_CS_360
2
2
using Documenter, Literate
3
+ using LazyArtifacts
4
+ using Artifacts
5
+
6
+ MP2_artifacts = artifact " MP2RAGE_data"
3
7
4
8
include (" generate_lit.jl" )
5
9
You can’t perform that action at this time.
0 commit comments