Mercurial > repos > sanbi-uwc > neo4j_datatypes
annotate neo4j.py @ 6:643e3ebaa907 draft
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 9d8d51693f14824c421f2e493dfc54939032a229
author | sanbi-uwc |
---|---|
date | Wed, 18 May 2016 08:17:59 -0400 |
parents | 7f262236d352 |
children | ac9f9d1b2c00 |
rev | line source |
---|---|
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
1 """ |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
2 Neo4j Composite Dataset |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
3 """ |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
4 import logging |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
5 import sys |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
6 |
6
643e3ebaa907
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 9d8d51693f14824c421f2e493dfc54939032a229
sanbi-uwc
parents:
5
diff
changeset
|
7 from galaxy.datatypes.images import Html |
643e3ebaa907
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 9d8d51693f14824c421f2e493dfc54939032a229
sanbi-uwc
parents:
5
diff
changeset
|
8 from galaxy.datatypes.data import Data, Text, Html |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
9 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
10 gal_Log = logging.getLogger(__name__) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
11 verbose = True |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
12 |
5
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
13 |
6
643e3ebaa907
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 9d8d51693f14824c421f2e493dfc54939032a229
sanbi-uwc
parents:
5
diff
changeset
|
14 class Neo4j(Html): |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
15 """ |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
16 base class to use for neostore datatypes |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
17 derived from html - composite datatype elements |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
18 stored in extra files path |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
19 """ |
5
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
20 file_ext = 'neo4j' |
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
21 |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
22 def get_mime(self): |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
23 """Returns the mime type of the datatype""" |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
24 return 'text/html' |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
25 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
26 def set_peek(self, dataset, is_multi_byte=False): |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
27 """Set the peek and blurb text""" |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
28 if not dataset.dataset.purged: |
1
9f8e04bd6fa9
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 3f5361a7226127ec8b8d6cb5591b5bb4f52bb6fe
sanbi-uwc
parents:
0
diff
changeset
|
29 dataset.peek = 'Neo4j database (multiple files)' |
9f8e04bd6fa9
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 3f5361a7226127ec8b8d6cb5591b5bb4f52bb6fe
sanbi-uwc
parents:
0
diff
changeset
|
30 dataset.blurb = 'Neo4j database (multiple files)' |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
31 else: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
32 dataset.peek = 'file does not exist' |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
33 dataset.blurb = 'file purged from disk' |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
34 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
35 def display_peek(self, dataset): |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
36 """Create HTML content, used for displaying peek.""" |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
37 try: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
38 return dataset.peek |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
39 except Exception: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
40 return "NEO4J database (multiple files)" |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
41 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
42 def display_data(self, trans, data, preview=False, filename=None, |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
43 to_ext=None, size=None, offset=None, **kwd): |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
44 """Documented as an old display method, but still gets called via tests etc |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
45 This allows us to format the data shown in the central pane via the "eye" icon. |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
46 """ |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
47 if filename is not None and filename != "index": |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
48 # Change nothing - important for the unit tests to access child files: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
49 return Data.display_data(self, trans, data, preview, filename, |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
50 to_ext, size, offset, **kwd) |
1
9f8e04bd6fa9
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 3f5361a7226127ec8b8d6cb5591b5bb4f52bb6fe
sanbi-uwc
parents:
0
diff
changeset
|
51 if self.file_ext == "neostore": |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
52 title = "This is a NEO4J database" |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
53 msg = "" |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
54 try: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
55 # Try to use any text recorded in the dummy index file: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
56 handle = open(data.file_name, "rU") |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
57 msg = handle.read().strip() |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
58 handle.close() |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
59 except Exception: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
60 pass |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
61 if not msg: |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
62 msg = title |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
63 # Galaxy assumes HTML for the display of composite datatypes, |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
64 return "<html><head><title>%s</title></head><body><pre>%s</pre></body></html>" % (title, msg) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
65 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
66 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
67 class Neo4jDB(Neo4j, Data): |
1
9f8e04bd6fa9
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 3f5361a7226127ec8b8d6cb5591b5bb4f52bb6fe
sanbi-uwc
parents:
0
diff
changeset
|
68 """Class for neo4jDB database files.""" |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
69 file_ext = 'neostore' |
4
4b1d16644ec2
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 63871d62b7acd851ff2d50dc08520c17bdf834f6
sanbi-uwc
parents:
3
diff
changeset
|
70 allow_datatype_change = False |
4b1d16644ec2
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 63871d62b7acd851ff2d50dc08520c17bdf834f6
sanbi-uwc
parents:
3
diff
changeset
|
71 composite_type = 'basic' |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
72 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
73 def __init__(self, **kwd): |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
74 Data.__init__(self, **kwd) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
75 self.add_composite_file('neostore', substitute_name_with_metadata='neostore', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
76 self.add_composite_file('neostore.id', substitute_name_with_metadata='neostore', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
77 self.add_composite_file('neostore.counts.db.a', substitute_name_with_metadata='neostore_count_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
78 self.add_composite_file('neostore.counts.db.b', substitute_name_with_metadata='neostore_count_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
79 self.add_composite_file('neostore.labeltokenstore.db', substitute_name_with_metadata='neostore_labeltokenstore_db_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
80 self.add_composite_file('neostore.labeltokenstore.db.id', substitute_name_with_metadata='neostore_labeltokenstore_db_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
81 self.add_composite_file('neostore.labeltokenstore.db.names', substitute_name_with_metadata='neostore_labeltokenstore_db_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
82 self.add_composite_file('neostore.labeltokenstore.db.names.id', substitute_name_with_metadata='neostore_labeltokenstore_db_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
83 self.add_composite_file('neostore.nodestore.db', substitute_name_with_metadata='neostore_nodestore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
84 self.add_composite_file('neostore.nodestore.db.id', substitute_name_with_metadata='neostore_nodestore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
85 self.add_composite_file('neostore.nodestore.db.labels', substitute_name_with_metadata='neostore_nodestore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
86 self.add_composite_file('neostore.nodestore.db.labels.id', substitute_name_with_metadata='neostore_nodestore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
87 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
88 self.add_composite_file('neostore.propertystore.db', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
89 self.add_composite_file('neostore.propertystore.db.id', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
90 self.add_composite_file('neostore.propertystore.db.arrays', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
91 self.add_composite_file('neostore.propertystore.db.arrays.id', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
92 self.add_composite_file('neostore.propertystore.db.index', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
5
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
93 self.add_composite_file('neostore.propertystore.db.index.id', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
94 self.add_composite_file('neostore.propertystore.db.index.keys', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
95 self.add_composite_file('neostore.propertystore.db.index.keys.id', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
96 self.add_composite_file('neostore.propertystore.db.strings', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
97 self.add_composite_file('neostore.propertystore.db.strings.id', substitute_name_with_metadata='neostore_propertystore_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
98 |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
99 self.add_composite_file('neostore.relationshipgroupstore.db', substitute_name_with_metadata='neostore_relationship_group_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
100 self.add_composite_file('neostore.relationshipgroupstore.db.id', substitute_name_with_metadata='neostore_relationship_group_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
101 self.add_composite_file('neostore.relationshipstore.db', substitute_name_with_metadata='neostore_relationship_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
102 self.add_composite_file('neostore.relationshipstore.db.id', substitute_name_with_metadata='neostore_relationship_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
103 self.add_composite_file('neostore.relationshiptypestore.db.names', substitute_name_with_metadata='neostore_relationship_type_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
104 self.add_composite_file('neostore.relationshiptypestore.db.names.id', substitute_name_with_metadata='neostore_relationship_type_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
105 self.add_composite_file('neostore.schemastore.db', substitute_name_with_metadata='neostore_schema_store_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
106 self.add_composite_file('neostore.schemastore.db.id', substitute_name_with_metadata='neostore_schema_store_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
107 self.add_composite_file('neostore.transaction.db.0', substitute_name_with_metadata='neostore_count_file', is_binary=True) |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
108 |
5
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
109 |
0
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
110 if __name__ == '__main__': |
ba6fe46519e4
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 6f0defa160a42559d15bc47768b845f24227dc03
sanbi-uwc
parents:
diff
changeset
|
111 import doctest |
5
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
112 |
6
643e3ebaa907
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit 9d8d51693f14824c421f2e493dfc54939032a229
sanbi-uwc
parents:
5
diff
changeset
|
113 |
5
7f262236d352
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/datatypes/neo4j_datatypes commit ebd884bad7609048e02d1ef04985cf812ab142a3
sanbi-uwc
parents:
4
diff
changeset
|
114 doctest.testmod(sys.modules[__name__]) |