-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdump.py
More file actions
30 lines (24 loc) · 883 Bytes
/
dump.py
File metadata and controls
30 lines (24 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import os
import biothings, config
biothings.config_for_app(config)
from config import DATA_ARCHIVE_ROOT
import biothings.hub.dataload.dumper
class LSTAnnDumper(biothings.hub.dataload.dumper.DummyDumper):
SRC_NAME = "covid19_LST_annotations"
__metadata__ = {
"src_meta": {
"author":{
"name": "Ginger Tsueng",
"url": "https://github.com/gtsueng"
},
"code":{
"branch": "main",
"repo": "https://github.com/gtsueng/covid19_LST_annotations.git"
},
"url": "https://www.covid19lst.org/",
"license": "http://creativecommons.org/licenses/by-nc-sa/4.0/"
}
}
# override in subclass accordingly
SRC_ROOT_FOLDER = os.path.join(DATA_ARCHIVE_ROOT, SRC_NAME)
SCHEDULE = "15 14 * * 1" # mondays at 14:15UTC/7:15PT