Repository navigation
Commit 75c188c
committed
Allow writing variable layout multi-segment records.
The layout header of a variable layout multi-segment record lists its
signals as null signals (format 0, file name '~'), with no samples.
Writing such a record failed: the header validation rejected format 0
and the file name '~', and Record.wrsamp tried to compute checksums and
write dat files for signals with no data.
Null signals are now accepted (file name '~' together with format 0),
and only the header is written for a record whose signals have no
files. This applies to records written to files as well as to .wfdb
archives.1 parent 42988e1 commit 75c188c
4 files changed
Lines changed: 61 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
455 | 457 | | |
456 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
457 | 461 | | |
458 | 462 | | |
459 | 463 | | |
| |||
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
466 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
467 | 475 | | |
468 | 476 | | |
469 | 477 | | |
| |||
894 | 902 | | |
895 | 903 | | |
896 | 904 | | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
897 | 912 | | |
898 | 913 | | |
899 | 914 | | |
900 | | - | |
| 915 | + | |
901 | 916 | | |
902 | 917 | | |
903 | 918 | | |
| |||
908 | 923 | | |
909 | 924 | | |
910 | 925 | | |
911 | | - | |
| 926 | + | |
912 | 927 | | |
913 | 928 | | |
914 | 929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
811 | | - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
812 | 823 | | |
813 | 824 | | |
814 | 825 | | |
| 826 | + | |
| 827 | + | |
815 | 828 | | |
816 | 829 | | |
817 | 830 | | |
| |||
824 | 837 | | |
825 | 838 | | |
826 | 839 | | |
827 | | - | |
828 | | - | |
829 | | - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1117 | 1117 | | |
1118 | 1118 | | |
1119 | 1119 | | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1120 | 1139 | | |
1121 | 1140 | | |
1122 | 1141 | | |
| |||
0 commit comments