-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWormbaseLinkGlobals.pm
executable file
·46 lines (36 loc) · 2.02 KB
/
WormbaseLinkGlobals.pm
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
46
package WormbaseLinkGlobals;
use strict;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(SY_ALLELE_SUFFIXES LEFT_DELIMITERS RIGHT_DELIMITERS DEVELOPER_EMAIL CURATOR_EMAILS FINAL_EMAILS);
use constant SY_ALLELE_SUFFIXES => ['ts', 'sd', 'gf', 'cs', 'lf', 'mx']; # these were the ones given by Tim Schedl
# tight coupling below - bad programming practice!
# these delimiters require that ReplaceSpecChar is called before linking!
use constant LEFT_DELIMITERS => ' |\_|\-|^|\n'; # space, hyphen are usual delimiters;
# underscore bcos of TextpressoGeneralTasks::ReplaceSpecChar
use constant RIGHT_DELIMITERS => ' |\_|\-|$|\n'; # stuff like periods are all replaced with _PRD_ by
# TextpressoGeneralTasks::ReplaceSpecChar
# also recall that data objects in GSA articles are always inside some tags, so an object will not start
# at the beginning of a line or won't end a line. Not the case with plain text articles!
# Having extra delimiters which will handle text files properly does not hurt XML files though!
# the developer is the sender
use constant DEVELOPER_EMAIL => '[email protected]';
# keep developer in the loop
use constant CURATOR_EMAILS => [
];
# ppl who need to be notifed after everything is done
use constant FINAL_EMAILS => [
];
1;