Commit 3028a36
Feature: loadtxt skiprows and max_rows (#652)
* stdlib_io: add skiprows to loadtxt
* Add test for skiprows in loadtxt
* stdlib_io: add check for skiprows >= 0
* stdlib_io: add max_rows to loadtxt
* Update src/stdlib_io.fypp
Co-authored-by: Ivan Pribec <ivan.pribec@gmail.com>
* loadtxt: Add test for max_rows
* loadtxt: treat negative skiprows as 0 (numpy like)
* stdlib_io: cut off skiprows
* stdlib_io: docs for cut off skiprows
* rename test in src/tests/io/test_loadtxt.f90
Co-authored-by: Ian Giestas Pauli <iangiestaspauli@gmail.com>
* update specs docs of loadtxt
* Update doc/specs/stdlib_io.md
Co-authored-by: Milan Curcic <caomaco@gmail.com>
* Update src/stdlib_io.fypp
Co-authored-by: Milan Curcic <caomaco@gmail.com>
* loadtxt: determine number of columns from first line to be read
* number_of_columns: bugfix for missing int
Co-authored-by: Ivan Pribec <ivan.pribec@gmail.com>
Co-authored-by: Ian Giestas Pauli <iangiestaspauli@gmail.com>
Co-authored-by: Milan Curcic <caomaco@gmail.com>1 parent 729d5d8 commit 3028a36
File tree
3 files changed
+65
-11
lines changed- doc/specs
- src
- tests/io
3 files changed
+65
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
317 | | - | |
| 321 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
114 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
115 | 125 | | |
116 | 126 | | |
117 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
118 | 133 | | |
119 | | - | |
| 134 | + | |
| 135 | + | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
123 | 139 | | |
124 | | - | |
125 | | - | |
| 140 | + | |
126 | 141 | | |
127 | | - | |
128 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
129 | 147 | | |
130 | 148 | | |
131 | 149 | | |
| |||
179 | 197 | | |
180 | 198 | | |
181 | 199 | | |
182 | | - | |
| 200 | + | |
183 | 201 | | |
184 | 202 | | |
185 | 203 | | |
186 | 204 | | |
| 205 | + | |
187 | 206 | | |
188 | | - | |
| 207 | + | |
189 | 208 | | |
190 | 209 | | |
191 | 210 | | |
| 211 | + | |
| 212 | + | |
192 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
193 | 219 | | |
194 | 220 | | |
195 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
137 | 161 | | |
138 | 162 | | |
139 | 163 | | |
| |||
0 commit comments