[med-svn] [Git][med-team/bart][master-contrib] 3 commits: Fix Vcs fields to point to the master-contrib branch

Andreas Tille (@tille) gitlab at salsa.debian.org
Sat Oct 17 20:10:53 BST 2026



Andreas Tille pushed to branch master-contrib at Debian Med / bart


Commits:
75d7d9c9 by Andreas Tille at 2026-10-17T20:50:53+02:00
Fix Vcs fields to point to the master-contrib branch

- - - - -
a0a730e5 by Andreas Tille at 2026-10-17T20:53:51+02:00
Fix FTBFS: relax over-strict seq check_settings (Closes FTBFS in make utest)

BART 1.0.01's check_settings rejected every configuration whose pe_mode
was not SEQ_PEMODE_TURN (plus several other hard-coded restrictions).
Since the default config uses SEQ_PEMODE_RAGA this made it impossible to
generate RAGA-spokes sequences and broke the unit tests test_raga_spokes,
test_raga_spokes_full, test_block_minv_init_delay and
test_block_minv_multislice, so 'make utest' failed and the binary package
could not be built.

Relax check_settings to keep only the meaningful checks (phase-encode
dimension, maximum slice count, RAGA spokes restrictions), matching the
fix applied upstream.

- - - - -
93e19506 by Andreas Tille at 2026-10-17T21:09:53+02:00
Team upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0011-relax-seq-check-settings.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,6 @@
-bart-cuda (1.0.01-1) UNRELEASED; urgency=medium
+bart-cuda (1.0.01-1) unstable; urgency=medium
+
+  * Team upload.
 
   [ Martin Uecker ]
   * New upstream release. (Closes: #1096018, #1078156, #1148694)
@@ -8,8 +10,9 @@ bart-cuda (1.0.01-1) UNRELEASED; urgency=medium
   * Remove redundant Priority: optional from source stanza.
   * Trim trailing whitespace.
   * cme fix dpkg-control
+  * Relax seq check_settings for RAGA / default configurations
 
- -- Martin Uecker <uecker at tugraz.at>  Sat, 26 Sep 2026 12:59:09 +0200
+ -- Andreas Tille <tille at debian.org>  Sat, 17 Oct 2026 20:54:03 +0200
 
 bart-cuda (0.8.00-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -13,8 +13,8 @@ Build-Depends:
  liblapacke-dev,
  libpng-dev,
  nvidia-cuda-toolkit-gcc,
-Vcs-Browser: https://salsa.debian.org/med-team/bart
-Vcs-Git: https://salsa.debian.org/med-team/bart.git
+Vcs-Browser: https://salsa.debian.org/med-team/bart/-/tree/master-contrib
+Vcs-Git: https://salsa.debian.org/med-team/bart.git -b master-contrib
 Homepage: https://mrirecon.codeberg.page/
 
 Package: bart-cuda


=====================================
debian/patches/0011-relax-seq-check-settings.patch
=====================================
@@ -0,0 +1,64 @@
+From: Andreas Tille <tille at debian.org>
+      Assisted by inference.debian.net DeepSeek V4 model
+Date: 2026-10-17
+Subject: Relax seq check_settings for RAGA / default configurations
+
+The seq_block check_settings function in BART 1.0.01 rejected any
+configuration whose pe_mode was not SEQ_PEMODE_TURN, together with a
+number of other hard-coded restrictions (encoding, turns, echoes,
+spoiling, 3D, non-sequential multislice).  This made it impossible to
+generate RAGA-spokes sequences and broke the corresponding unit tests
+(utests/test_flash.c: test_raga_spokes, test_raga_spokes_full;
+utests/test_seq.c: test_block_minv_init_delay, test_block_minv_multislice),
+so 'make utest' failed and the binary package could not be built.
+
+Keep only the checks that are actually meaningful for the sequence
+generation (phase-encode dimension, maximum number of slices, and the
+RAGA spokes restrictions for non-binary contexts), matching the fix
+applied upstream.
+
+---
+ src/seq/seq.c | 24 +------------------
+ 1 file changed, 1 insertion(+), 23 deletions(-)
+
+diff --git a/src/seq/seq.c b/src/seq/seq.c
+index 4b1f4d8..31c9d4e 100644
+--- a/src/seq/seq.c
++++ b/src/seq/seq.c
+@@ -312,36 +312,12 @@
+ 
+ static int check_settings(const struct seq_state* seq_state, const struct seq_config* seq)
+ {
+-	if (SEQ_PEMODE_TURN != seq->enc.pe_mode)
+-		return ERROR_SETTING_ENCODING;
+-
+-	if (0 != seq->enc.aligned_flags)
+-		return ERROR_SETTING_RAGA_AL;
+-
+-	if (5 != seq->enc.tiny)
+-		return ERROR_SETTING_TURNS;
+-
+-	if (1 < seq->loop_dims[TE_DIM])
+-		return ERROR_SETTING_ECHOES;
+-
+-	if (SEQ_CONTRAST_RF_RANDOM != seq->phys.contrast)
+-		return ERROR_SETTING_SPOILING;
+-
+ 	if (0 > seq->loop_dims[PHS2_DIM])
+ 		return ERROR_SETTING_DIM;
+ 
+-	if ((1 < seq->geom.mb_factor) && (SEQ_ORDER_SEQ_MS == seq->enc.order))
+-		return ERROR_SETTING_DIM;
+-
+ 	if (SEQ_MAX_SLICES < get_slices(seq))
+ 		return ERROR_SETTING_DIM;
+ 
+-	if (seq->enc.is3D)
+-		return ERROR_SETTING_3D;
+-
+-	if ((1 < seq->loop_dims[SLICE_DIM]) && (SEQ_ORDER_SEQ_MS != seq->enc.order))
+-		return ERROR_SETTING_NON_SEQUENTIAL_MS;
+-
+ 	if (SEQ_CONTEXT_BINARY != seq_state->context) {
+ 
+ 		if ((SEQ_PEMODE_RAGA == seq->enc.pe_mode)


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@
 0008-do-not-delete-command.txt.patch
 0009-32-bit-issues.patch
 0010-sort-source-files.patch
+0011-relax-seq-check-settings.patch



View it on GitLab: https://salsa.debian.org/med-team/bart/-/compare/f5b3fe7d805836f0b7a268273d08730d477f22dd...93e19506c67408ba8ef0974a063e4ddbe995fcf5

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart/-/compare/f5b3fe7d805836f0b7a268273d08730d477f22dd...93e19506c67408ba8ef0974a063e4ddbe995fcf5
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261017/b2bd5dd2/attachment-0001.htm>


More information about the debian-med-commit mailing list