File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ RUN pip3 install odml
59
59
# Copy odML validation script
60
60
COPY ./scripts/odml-validate /bin
61
61
62
+ # Copy test data
63
+ COPY ./resources /resources
64
+
62
65
# Install NIXPy for NIX validation
63
66
# Use master branch until new beta is released
64
67
RUN pip3 install --no-cache-dir -U git+https://github.com/G-Node/nixpy@master
@@ -81,5 +84,11 @@ ENV GIN_CONFIG_DIR /gin-valid/config/client
81
84
COPY --from=binbuilder /gin-valid/ginvalid /
82
85
COPY ./assets /assets
83
86
87
+ # Test validation
88
+ RUN odml-validate /resources/odmldata.odml
89
+ RUN nixio -h
90
+ RUN nixio validate /resources/nixdata.nix
91
+ RUN bids-validator --version
92
+
84
93
ENTRYPOINT /ginvalid --config=/gin-valid/config/cfg.json
85
94
EXPOSE 3033
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <?xml-stylesheet type =" text/xsl" href =" odmlDocument.xsl" ?>
3
+ <odML version =" 1.1" >
4
+ <id >4bb236c6-20f4-4ed5-9bc9-93be88ce3257</id >
5
+ <section >
6
+ <id >2a05c9fb-a667-4931-b3d2-7cf0adfe4d52</id >
7
+ <type >n.s.</type >
8
+ <name >sec</name >
9
+ <property >
10
+ <id >b97b08e8-4a8f-47b6-8799-dfac3b3e4b20</id >
11
+ <name >prop</name >
12
+ <value ></value >
13
+ </property >
14
+ </section >
15
+ </odML >
You can’t perform that action at this time.
0 commit comments