Prepare for submitting data to geo by:
authorDiane Trout <diane@caltech.edu>
Sat, 12 May 2012 00:38:27 +0000 (17:38 -0700)
committerDiane Trout <diane@caltech.edu>
Sat, 12 May 2012 00:41:49 +0000 (17:41 -0700)
commit67cd4be9225f13805454f4ca012a3e7de769683f
tree2f233c2ea067297312e4733ad765ef531ef49562
parent95cc7bd7ff8511a218251dab4b588eff74b96b25
Prepare for submitting data to geo by:
Adding a new namespace for them.
Creating something to simplify namespace qualified names to short normal names.

Also I implemented an option to import other RDF files.
I made a small attempt to at least partially sanitize strings being loaded
to only include "safe" html.

Most of the changes to test_rdfhelp came because I reindented it to 4 spaces.

Though I did add in tests for the new functions.
htsworkflow/util/rdfhelp.py
htsworkflow/util/test/extra.turtle [new file with mode: 0644]
htsworkflow/util/test/test_rdfhelp.py