frankyeh / DSI-Studio

A Tractography Tool for Diffusion MRI
http://dsi-studio.labsolver.org
Other
118 stars 54 forks source link

Get version number without launching GUI #73

Closed dmd closed 1 year ago

dmd commented 1 year ago

Is there a way to get the version number without launching the GUI?

frankyeh commented 1 year ago

You can call the command line to get it. DSI Studio uses the date as the version, so the file date of the executive is also the version. Frank

On Fri, Oct 7, 2022 at 9:05 AM Daniel M. Drucker @.***> wrote:

Is there a way to get the version number without launching the GUI?

— Reply to this email directly, view it on GitHub https://github.com/frankyeh/DSI-Studio/issues/73, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACDI4O63DGM6KHFYDHE763WCANY7ANCNFSM6AAAAAAQ7SODDQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dmd commented 1 year ago

What am I missing? If I run without a $DISPLAY, I get:

$ singularity run /data/singularity-images/dsistudio_latest.sif dsi_studio
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[1]    35194 abort      singularity run /data/singularity-images/dsistudio_latest.sif dsi_studio

$
frankyeh commented 1 year ago

dsi_studio --action=qc --source=.

On Fri, Oct 7, 2022 at 11:30 AM Daniel M. Drucker @.***> wrote:

What am I missing? If I run without a $DISPLAY, I get:

$ singularity run /data/singularity-images/dsistudio_latest.sif dsi_studio qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[1] 35194 abort singularity run /data/singularity-images/dsistudio_latest.sif dsi_studio

$

— Reply to this email directly, view it on GitHub https://github.com/frankyeh/DSI-Studio/issues/73#issuecomment-1271744574, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACDI4OGVGMD3SLU6GR3RADWCA62FANCNFSM6AAAAAAQ7SODDQ . You are receiving this because you commented.Message ID: @.***>

dmd commented 1 year ago

Might I suggest implementing dsi_studio --version?

frankyeh commented 1 year ago

Sure. on my to-do list now.

On Fri, Oct 7, 2022 at 12:05 PM Daniel M. Drucker @.***> wrote:

Might I suggest implementing dsi_studio --version?

— Reply to this email directly, view it on GitHub https://github.com/frankyeh/DSI-Studio/issues/73#issuecomment-1271780525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACDI4M4BUVFCDSFGXZQGVLWCBC4HANCNFSM6AAAAAAQ7SODDQ . You are receiving this because you commented.Message ID: @.***>

frankyeh commented 1 year ago

DSI Studio updated to provide this function. Build status: https://github.com/frankyeh/DSI-Studio/actions/runs/3211602576