Project

General

Profile

Common variables used » History » Version 1

Amber Herold, 08/02/2011 10:10 AM

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