You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After downloading and extracting the archive, you can run the executable.
32
+
33
+
**Testing:**
34
+
35
+
- Download and extract the datasets and scripts we prepared for testing by clicking here, [tests.zip](https://github.com/dmritrekker/trekker/releases/download/v1.0.0-rc3/tests.zip).
36
+
- Copy paste your executable under the ``testScripts`` folder.
37
+
- Run the provided test script for your operating system.
38
+
39
+
40
+
**Troubleshooting:**
41
+
42
+
-*permission denied error*: If you encounter this when trying to run the executable on Linux or macOS, open a terminal, navigate to the directory where you extracted the file, and run the following command:
43
+
44
+
```bash
45
+
chmod +x <executable name>
46
+
```
47
+
48
+
Replace ``<executable name>`` with the actual name of the executable file (e.g., ``trekker_linux`` or ``trekker_macOS``). Then, try running the executable again.
49
+
50
+
-*macOS errors related to llvm and libomp*: If you encounter errors related to missing OpenMP or libomp, please see the provided test script for macOS in this [link](https://github.com/dmritrekker/trekker/blob/main/tests/testScripts/test_macOS.sh), which gives an example for how to set these paths and install dependencies if needed.
28
51
29
-
**Note 2:** The stand-alone executables are optimized to work on a wide range of platforms and do not leverage hardware optimization to improve performance. For best performance, executables can be built from source.
After downloading and extracting the archive, you can run the executable.
41
+
42
+
**Testing:**
43
+
44
+
- Download and extract the datasets and scripts we prepared for testing by clicking here, `tests.zip <https://github.com/dmritrekker/trekker/releases/download/v1.0.0-rc3/tests.zip>`_.
45
+
- Copy paste your executable under the ``testScripts`` folder.
46
+
- Run the provided test script for your operating system.
47
+
48
+
49
+
**Troubleshooting:**
50
+
51
+
- *permission denied error*: If you encounter this when trying to run the executable on Linux or macOS, open a terminal, navigate to the directory where you extracted the file, and run the following command:
52
+
53
+
.. code-block:: bash
54
+
55
+
chmod +x <executable name>
56
+
57
+
Replace ``<executable name>`` with the actual name of the executable file (e.g., ``trekker_linux`` or ``trekker_macOS``). Then, try running the executable again.
58
+
59
+
- *macOS errors related to llvm and libomp*: If you encounter errors related to missing OpenMP or libomp, please see the provided test script for macOS in this `link <https://github.com/dmritrekker/trekker/blob/main/tests/testScripts/test_macOS.sh>`_, which gives an example for how to set these paths and install dependencies if needed.
60
+
61
+
34
62
35
63
Option 2: Building from source
36
64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37
65
38
-
Trekker relies on `nibrary <https://github.com/nibrary/nibrary>`_. To compile Trekker from source, ensure that nibrary is installed first. Then follow these steps to compile Trekker:
66
+
Trekker is natively supported on Linux, Windows, and macOS. Trekker can be installed with a minimal set of standard development tools.
67
+
68
+
For detailed instructions to build from source, please check the `Readme <https://github.com/dmritrekker/trekker/tree/main>`_ file in GitHub.
69
+
70
+
Shortly, if your system has CMake (min version 3.15), OpenMP, and a modern compiler. The following should be sufficient for the compilation.
71
+
72
+
*Note*: clang-v19 is known NOT to work with this version of Trekker due to a conflict with an internal dependency. Please use clang-v18 instead.
Copy file name to clipboardexpand all lines: src/cmd/track.cpp
+2-2
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ void track(CLI::App *app)
280
280
// General options
281
281
auto general = app->add_option_group(center_text("GENERAL OPTIONS",45));
282
282
283
-
general->add_option ("<FOD>", fod, "Input FOD image (.nii, .nii.gz). Trekker supports both symmetric and asymmetric FODs, i.e. spherical harmonics with both even and odd orders.")->required()->check(CLI::ExistingFile)->type_name("FILE");
283
+
general->add_option ("<FOD>", fod, "Input FOD image (.nii, .nii.gz). Trekker supports both symmetric and asymmetric FODs, i.e. spherical harmonics with both even and odd orders.")->required();
seeding->add_option ("--discard_seed", discardSeedInp, "If a seed point falls into this region, it will be discarded")->multi_option_policy(CLI::MultiOptionPolicy::Throw);
332
332
seeding->add_flag ("--skipSeed", skipSeed, "Does not output the points that are within seed region");
333
333
// seeding->add_flag ("--allowEdgeSeeds", allowEdgeSeeds, "Allows seeding at the edges of pathway rules. Default: false");
0 commit comments