@@ -136,29 +136,29 @@ translation of a table of error messages into another language.
136
136
| code | message |
137
137
| ---- | ------------------------------------------------------------ |
138
138
| -1 | not an XDI file, no XDI versioning information in first line |
139
- | -2 | <word > -- invalid family name in metadata |
140
- | -4 | <word > -- invalid keyword name in metadata |
141
- | -8 | <word > -- not formatted as Family.Key: Value |
139
+ | -2 | ` <word> ` -- invalid family name in metadata |
140
+ | -4 | ` <word> ` -- invalid keyword name in metadata |
141
+ | -8 | ` <word> ` -- not formatted as Family.Key: Value |
142
142
| -16 | number of columns changes in data table |
143
- | -32 | non-numeric value in data table: <word > |
143
+ | -32 | non-numeric value in data table: ` <word> ` |
144
144
145
145
Here ` <word> ` will be the the text that triggered the error.
146
146
147
147
### XDI_readfile warning codes
148
148
149
- | code | message |
150
- | ----- | ------------------------------------------------------------ |
151
- | 1 | no mono.d_spacing given with angle array |
152
- | 2 | no line of minus signs '#-----' separating header from data |
153
- | 4 | contains unrecognized header lines |
154
- | 8 | element.symbol missing or not valid |
155
- | 16 | element.edge missing or not valid |
156
- | 32 | element.reference not valid |
157
- | 64 | element.ref\_ edge not valid |
158
- | 128 | extension field used without versioning information |
159
- | 256 | Column.1 is not "energy" or "angle" |
160
- | 512 | invalid timestamp: format should be ISO 8601 (YYYY-MM-DD HH:MM: SS ) |
161
- | 1024 | invalid timestamp: date out of valuid range |
149
+ | code | message |
150
+ | ----- | ------------------------------------------------------------ |
151
+ | 1 | no mono.d_spacing given with angle array |
152
+ | 2 | no line of minus signs '#-----' separating header from data |
153
+ | 4 | contains unrecognized header lines |
154
+ | 8 | element.symbol missing or not valid |
155
+ | 16 | element.edge missing or not valid |
156
+ | 32 | element.reference not valid |
157
+ | 64 | element.ref\_ edge not valid |
158
+ | 128 | extension field used without versioning information |
159
+ | 256 | Column.1 is not "energy" or "angle" |
160
+ | 512 | invalid timestamp: format should be ISO 8601 (YYYY-MM-DD HH:MM: SS ) |
161
+ | 1024 | invalid timestamp: date out of valuid range |
162
162
163
163
164
164
### XDI_required_metadata return codes
@@ -167,24 +167,24 @@ The return code from `XDI_required_metadata` can be interpreted
167
167
bitwise. That is, a return code of 7 means that all three required
168
168
metadata fields were missing.
169
169
170
- | code | message |
171
- | ---- | ----------------------------------- |
172
- | 1 | Element.symbol missing or not valid |
173
- | 2 | Element.edge missing or not valid |
174
- | 4 | Mono.d\_ spacing missing |
175
- | 4 | Mono.d\_ spacing not valid |
170
+ | code | message |
171
+ | ---- | ----------------------------------- |
172
+ | 1 | Element.symbol missing or not valid |
173
+ | 2 | Element.edge missing or not valid |
174
+ | 4 | Mono.d\_ spacing missing |
175
+ | 8 | Mono.d\_ spacing not valid |
176
176
177
177
### XDI_recommended_metadata return codes
178
178
179
179
The return code from ` XDI_recommended_metadata ` can be interpreted
180
180
bitwise. That is, a return code of 7 means that the first three
181
181
recommendation metadata fields were missing.
182
182
183
- | code | message |
184
- | ---- | --------------------------------------------------- |
185
- | 1 | Missing recommended metadata field: Facility.name |
186
- | 2 | Missing recommended metadata field: Facility.source |
187
- | 4 | Missing recommended metadata field: Beamline.name |
188
- | 8 | Missing recommended metadata field: Scan.start_time |
189
- | 16 | Missing recommended metadata field: Column.1 |
183
+ | code | message |
184
+ | ---- | --------------------------------------------------- |
185
+ | 1 | Missing recommended metadata field: Facility.name |
186
+ | 2 | Missing recommended metadata field: Facility.source |
187
+ | 4 | Missing recommended metadata field: Beamline.name |
188
+ | 8 | Missing recommended metadata field: Scan.start_time |
189
+ | 16 | Missing recommended metadata field: Column.1 |
190
190
0 commit comments