[Bio] / FigWebServices / SimPieces.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/SimPieces.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Fri Jan 13 06:58:02 2006 UTC revision 1.5, Tue Apr 29 08:18:58 2008 UTC
# Line 31  Line 31 
31  For debugging purposes, you can specify the B<Trace> parameter to  For debugging purposes, you can specify the B<Trace> parameter to
32  set the tracing level. So, for example,  set the tracing level. So, for example,
33    
34  C<< http://myseedurl/CGI/SimPieces.cgi?Trace=3 >>      http://myseedurl/CGI/SimPieces.cgi?Trace=3
35    
36  runs the standard processing script at a trace level of 3. Normally, only the  runs the standard processing script at a trace level of 3. Normally, only the
37  script itself and B<Tracer> tracing is active; however, you can activate other tracing modules  script itself and B<Tracer> tracing is active; however, you can activate other tracing modules
38  by appending them to the trace level. Thus,  by appending them to the trace level. Thus,
39    
40  C<< http://myseedurl/CGI/SimPieces.cgi?Trace=3%20SimBlocks%20DBObject >>      http://myseedurl/CGI/SimPieces.cgi?Trace=3%20SimBlocks%20ERDBObject
41    
42  activates tracing for the similarity block module (C<SimBlocks.pm>) and the data  activates tracing for the similarity block module (C<SimBlocks.pm>) and the data
43  base object (C<DBObject.pm>).  base object (C<ERDBObject.pm>).
44    
45  =cut  =cut
46    
# Line 51  Line 51 
51  use SimBlocks;  use SimBlocks;
52    
53  # Set up this script.  # Set up this script.
54  my ($query, $varHash) = ScriptSetup();  my ($query, $varHash) = Tracer::ScriptSetup();
55  # Do this next part safely.  # Do this next part safely.
56  eval {  eval {
57      # Get the incoming feature ID and the distance.      # Get the incoming feature ID and the distance.
# Line 87  Line 87 
87  if ($@) {  if ($@) {
88      Trace("Script error: $@") if T(0);      Trace("Script error: $@") if T(0);
89  }  }
90  ScriptFinish("Html/SimBlockPieces.html", $varHash);  Tracer::ScriptFinish("Html/SimBlockPieces.html", $varHash);
91    
92    
93  1;  1;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3