work
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 11 Aug 2025 20:28:08 +0000 (13:28 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 11 Aug 2025 20:28:08 +0000 (13:28 -0700)
rust/pspp/src/dictionary.rs
rust/pspp/src/sys/testdata/multiple_response_sets.expected
rust/pspp/src/sys/testdata/multiple_response_sets_bad_name.expected

index 035c8425c6b8db4c6690d82235264f6dafcdb5c2..fdc68f685355c29a5f33198dde5564ecfa73af25 100644 (file)
@@ -940,7 +940,8 @@ impl<'a> OutputMrsets<'a> {
         let mut pt = PivotTable::new([
             (Axis3::Y, Dimension::new(mrsets)),
             (Axis3::X, Dimension::new(attributes)),
-        ]);
+        ])
+        .with_title("Multiple Response Sets");
         for (row, mrset) in self.dictionary.mrsets.iter().enumerate() {
             pt.insert(&[row, 0], mrset.label.as_str());
 
index 07b7cf28395cddefadee4bb346a39a73f7e55fcf..6bacc195f37399a16009a9aeb1d049f42d1bdd9c 100644 (file)
@@ -35,6 +35,7 @@
 │p │      16│     │Nominal          │Input│    6│Left     │A6          │A6          │              │
 ╰──┴────────┴─────┴─────────────────┴─────┴─────┴─────────┴────────────┴────────────┴──────────────╯
 
+                     Multiple Response Sets
 ╭────┬─────────────┬───────────┬─────────────┬────────────────╮
 │Name│    Label    │  Encoding │Counted Value│Member Variables│
 ├────┼─────────────┼───────────┼─────────────┼────────────────┤
index 9635997a71bfc0374b3c78c3efef769c8964f353..0e7f37317d7cbf70b565b836f856f1e2931b13a9 100644 (file)
@@ -39,6 +39,7 @@ Invalid multiple response set name.  Multiple response set name "e" does not beg
 │p │      16│     │Nominal          │Input│    6│Left     │A6          │A6          │              │
 ╰──┴────────┴─────┴─────────────────┴─────┴─────┴─────────┴────────────┴────────────┴──────────────╯
 
+                     Multiple Response Sets
 ╭────┬─────────────┬───────────┬─────────────┬────────────────╮
 │Name│    Label    │  Encoding │Counted Value│Member Variables│
 ├────┼─────────────┼───────────┼─────────────┼────────────────┤