forked from krzywon/saspubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
45 lines (40 loc) · 1.05 KB
/
config.py
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SASVIEW_HEADER = r"""
<p>If you have written a paper that reports measurements using SasView and you do not see it in the list below, or if the paper is listed but the
information is incorrect or out of date, please inform <a href="mailto:[email protected]">Jeff Krzywon</a> and/or <a href="mailto:[email protected]">SasView Help</a>.</p>
"""
SASVIEW_FOOTER = r""""""
GROUPS = {
"SASVIEW": {
"group": "2309096",
"collection": "46Q9CENK",
"title": "Publications",
"header": SASVIEW_HEADER,
"footer": SASVIEW_FOOTER
}
}
crossref_keys_to_import = [
"title",
"author",
"container-title-short",
"container-title",
"volume",
"page",
"article-number",
"issued",
"ISSN",
"DOI",
"URL",
"type",
"is-referenced-by-count"
]
crossref_keys_to_update = [
"title",
"volume",
"issue",
"page",
"date",
]
DB_PATH = "./data"
DB_FILENAME_FMT = "{group}.json"
VERSION_FILENAME_FMT = ".{group}_version.json"
REMOTE_PATH = "https://github.com/sasview/sasview.github.io/"