Skip to content

Fix version info#776

Merged
m-reuter merged 1 commit intoDeep-MI:devfrom
dkuegler:fix/version-freeze
Jan 28, 2026
Merged

Fix version info#776
m-reuter merged 1 commit intoDeep-MI:devfrom
dkuegler:fix/version-freeze

Conversation

@dkuegler
Copy link
Member

@dkuegler dkuegler commented Jan 28, 2026

This PR fixes version.py (and FastSurferCNN.version.main()) not returning, if there are no checkpoints in the checkpoints folder.

This may happen for native installations, if the checkpoints have not manually been downloaded. The cause was that md5sum was called with no arguments, which expects the file/data to be passed from STDIN, which may not be connected, thus blocking further execution.

This PR is related to #699 and #774.

This commit fixes version.py (and FastSurferCNN.version.main()) not returning, if there are no checkpoints in the checkpoints folder.

This may happen for native installations if the checkpoints have not manually been downloaded. The cause was that md5sum was called with no arguments, which expects the file/data to be passed from STDIN, which may not be connected, thus blocking further execution.
@m-reuter m-reuter merged commit 1b9423c into Deep-MI:dev Jan 28, 2026
2 checks passed
@dkuegler dkuegler deleted the fix/version-freeze branch January 28, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants