Commit a234da04 authored by Christopher Combs's avatar Christopher Combs
Browse files

Added instructions on how to use IgnoreFilePaths in pvldiff to the app test guide. References #2230

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7797 41f8697f-d340-4b68-9986-7bafba869bb8
parent cb09ba36
Loading
Loading
Loading
Loading
+35 −10
Original line number Diff line number Diff line
@@ -382,6 +382,9 @@
              Group = IgnoreKeys
              End_Group

              Group = IgnoreFilePaths
              End_Group

              End
            </code>
          </pre>
@@ -402,6 +405,14 @@
            </code>
          </pre>
          Note: The value of this keyword does not matter.

          To ignore a file's path up until the name, Put a corresponding
          keyword set to true inside the IgnoreFilePaths group.
          <pre>
            <code>
              KeywordName = true
            </code>
          </pre>
          <br />
          With these formats in mind, to give a tolerance for the keyword
          StandardDeviation of 0.0000000001 and ignore the keyword FileName
@@ -416,6 +427,10 @@
              FileName = true
              End_Group

              Group = IgnoreFilePaths
              FilePath = true
              End_Group

              End
            </code>
          </pre>
@@ -432,6 +447,7 @@
            <code>
              Object = IsisCube
              Object = Core
              SomeFile = /foo/bar/fakefile.cub
              StartByte   = 65537
              Format      = Tile
              TileSamples = 128
@@ -460,9 +476,10 @@
            </code>
          </pre>
          The SomeCalculation keyword may vary by 0.000000001 and the
          ByteOrder could be MSB or LSB. To compensate for this, you would add
          a file named cubelabels.pvl.DIFF in the input folder with the
          following:
          ByteOrder could be MSB or LSB. SomeFile could have a different path if
          the tester is not using the default data area. To compensate for
          this, you would add a file named cubelabels.pvl.DIFF in the input
          folder with the following:
          <pre>
            <code>
              Group = Tolerances
@@ -473,11 +490,15 @@
              ByteOrder = true
              End_Group

              Group = IgnoreFilePaths
              SomeFile = true
              End_Group

              End
            </code>
          </pre>
          This would ignore the value of ByteOrder always and SomeCalculation
          if it were within the tolerance.
          This would ignore the value of ByteOrder always, the path of SomeFile,
          and the value of SomeCalculation if it were within the tolerance.
          <p>
            Finally, you can create unique tolerances and ignore keys for each
            element of an array contained within a keyword, like so:
@@ -493,6 +514,10 @@
              SomeArray =(false, true, false)
              End_Group

              Group = IgnoreFilePaths
              SomeArray = (false, false, true)
              End_Group

              End
            </code>
          </pre>