Skip to content
Snippets Groups Projects
Commit 761c56f8 authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

Task #9091 - Re-generated ltasip.py with latest pyxb version (there were...

Task #9091 - Re-generated ltasip.py with latest pyxb version (there were missing type attributes on extended non-abstract classes with pyxb 1.2.4). Tests were now properly integrated in build setup.
parent 4da92b89
No related branches found
No related tags found
No related merge requests found
# $Id$
lofar_add_bin_scripts(generatesip feedback2sip)
lofar_add_bin_scripts(generatesip feedback2sip validatesip)
#!/usr/bin/python
from lofar.lta.sip.validator import main
import sys
XSD_PATH = "/home/jkuensem/dev/SIP-lib/SIPlib-Task9091/LTA/LTAIngest/doc/LTA-SIP.xsd" # # todo fix path for distribution
if __name__ == '__main__':
main(sys.argv[1], XSD_PATH)
......@@ -6,8 +6,11 @@ include(PythonInstall)
set(_py_files
__init__.py
siplib.py
ltasip.py
feedback.py
validator.py
constants.py
station_coordinates.conf
)
python_install(${_py_files}
......
This diff is collapsed.
This diff is collapsed.
......@@ -2,4 +2,3 @@
include(LofarCTest)
lofar_add_test(test_siplib)
This diff is collapsed.
......@@ -4,3 +4,4 @@
source python-coverage.sh
python_coverage_test "sip.*" test_siplib.py
<?xml version="1.0" ?>
<ns1:ltaSip xmlns:ns1="http://www.astron.nl/SIP-Lofar">
<sipGeneratorVersion>SIPlib 0.1</sipGeneratorVersion>
<project>
<projectCode>code</projectCode>
<primaryInvestigator>pi</primaryInvestigator>
<coInvestigator>sidekick1</coInvestigator>
<coInvestigator>sidekick2</coInvestigator>
<contactAuthor>coauthor</contactAuthor>
<telescope>LOFAR</telescope>
<projectDescription>awesome project</projectDescription>
</project>
<dataProduct>
<dataProductType>Unknown</dataProductType>
<dataProductIdentifier>
<source>space</source>
<identifier>42</identifier>
</dataProductIdentifier>
<storageTicket>ticket</storageTicket>
<size>1024</size>
<checksum>
<algorithm>MD5</algorithm>
<value>hash1</value>
</checksum>
<checksum>
<algorithm>Adler32</algorithm>
<value>hash2</value>
</checksum>
<fileName>/home/paulus/test.h5</fileName>
<fileFormat>HDF5</fileFormat>
<processIdentifier>
<source>someone gave it to me</source>
<identifier>SIPlib 0.1</identifier>
</processIdentifier>
</dataProduct>
</ns1:ltaSip>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment