Skip to content

Commit 8e577c2

Browse files
committed
more tables...
1 parent 34ae0f8 commit 8e577c2

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

c/README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -136,29 +136,29 @@ translation of a table of error messages into another language.
136136
| code | message |
137137
| ---- | ------------------------------------------------------------ |
138138
| -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 |
142142
| -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>` |
144144

145145
Here `<word>` will be the the text that triggered the error.
146146

147147
### XDI_readfile warning codes
148148

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 |
162162

163163

164164
### XDI_required_metadata return codes
@@ -167,24 +167,24 @@ The return code from `XDI_required_metadata` can be interpreted
167167
bitwise. That is, a return code of 7 means that all three required
168168
metadata fields were missing.
169169

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 |
176176

177177
### XDI_recommended_metadata return codes
178178

179179
The return code from `XDI_recommended_metadata` can be interpreted
180180
bitwise. That is, a return code of 7 means that the first three
181181
recommendation metadata fields were missing.
182182

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 |
190190

0 commit comments

Comments
 (0)