Project

General

Profile

Developers guide » History » Version 4

Neil Voss, 04/08/2011 08:26 AM

1 1 Amber Herold
h1. Developers guide
2
3
h2. Common variables used
4
5
6
7
8 3 Amber Herold
* $outdir is the directory that contains the disk, session, jobtype, but not the runname: For example: /data/appion/10dec16a/extract
9 1 Amber Herold
10 3 Amber Herold
* $rundir = $outdir + runname, For example: /data/appion/10dec16a/extract/dogrun1
11 1 Amber Herold
note: appion python code only accepts $rundir
12
13
* $description 
14
15
* $commit
16
17
* $command
18
19
* $sessiondata'
20
21
* $sessionid vs. $sessionId vs. $expid vs. $expId
22
23
* $apix vs. $pixelsize
24
25
* $box vs. $boxsize
26 4 Neil Voss
27
h2. variable dump
28
29
<pre>
30
cd ~/myami/myamiweb/processing
31
cat *.php | grep '\$[A-Za-z]' | sed 's/\$_[A-Za-z]*//' | sed 's/[^$]*\(\$[A-Za-z0-9]*\)[^$]*/\1 \
32
/g' | sort | uniq -c | sort -rn | head -50
33
</pre>
34
35
<# of occurrences> <variable name>
36
<pre>
37
1066 $command 
38
1001 $particle 
39
 943 $ 
40
 854 $expId 
41
 630 $i 
42
 387 $formAction 
43
 385 $html 
44
 366 $javascript 
45
 349 $outdir 
46
 337 $projectId 
47
 327 $runname 
48
 326 $sessionId 
49
 299 $extra 
50
 213 $description 
51
 200 $graph 
52
 198 $stackid 
53
 198 $sessioninfo 
54
 186 $apix 
55
 180 $sessiondata 
56
 162 $display 
57
 160 $title 
58
 158 $templatetable 
59
 157 $user 
60
 136 $line 
61
 131 $javafunctions 
62
 127 $heading 
63
 126 $numpart 
64
 125 $jobinfo 
65
 117 $errors 
66
 114 $stackinfo 
67
 110 $t 
68
 110 $key 
69
 109 $s 
70
 108 $templateinfo 
71
 101 $sessionpath 
72
  98 $bin 
73
  96 $tomogram 
74
  96 $sub 
75
  96 $nproc 
76
  96 $filename 
77
  94 $stackId 
78
  91 $headinfo 
79
  90 $sessionname 
80
  90 $data 
81
  89 $j 
82
  89 $cmd 
83
  89 $box 
84
  89 $alignId 
85
  86 $r 
86
</pre>