Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AIFDR/inasafe
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Aug 15, 2012
2 parents ef1b7ef + 5f8d27e commit 6c0b58a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions safe_qgis/clipper.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,13 @@ def _clipRasterLayer(theLayer, theExtent, theCellSize=None,
'Versions/1.9/Programs/')
myCommand = myExecutablePrefix + myCommand

# For debugging only
# myCommand = myExecutablePrefix + myCommand
# myFile = file('C:/temp/command.txt', 'wt')
# myFile.write(myCommand)
# myFile.close()
# Now run GDAL warp scottie...

try:
myResult = call(myCommand, shell=True)
del myResult
Expand Down
6 changes: 6 additions & 0 deletions safe_qgis/test_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def test_getLegend(self):
'e65853e217a4c9b0c2f303dd2aadb373', # ub12.04 xvfb
#'e4273364b33a943e1108f519dbe8e06c', # ub12.04-64
'91177a81bee4400be4e85789e3be1e91', # binary read
'57da6f81b4a55507e1bed0b73423244b', # wVistaSP2-32
''
]
assertHashesForFile(myExpectedHashes, myPath)

Expand All @@ -121,6 +123,8 @@ def test_getVectorLegend(self):
#'e4273364b33a943e1108f519dbe8e06c', # ub12.04-64
# ub11.04-64 laptop
'91177a81bee4400be4e85789e3be1e91', # Binary Read
'57da6f81b4a55507e1bed0b73423244b', # wVistaSP2-32
''
]
assertHashesForFile(myExpectedHashes, myPath)

Expand All @@ -144,6 +148,7 @@ def test_getRasterLegend(self):
#'a654d0dcb6b6d14b0a7a62cd979c16b9', # ub12.04-64
# ub11.04-64 laptop
'9692ba8dbf909b8fe3ed27a8f4924b78', # binary read
'5f4ef033bb1d6f36af4c08db55ca63be', # wVistaSP2-32
'',
]
assertHashesForFile(myExpectedHashes, myPath)
Expand Down Expand Up @@ -198,6 +203,7 @@ def test_addClassToLegend(self):
#'a37443d70604bdc8c279576b424a158c', # ub12.04-64
# ub11.04-64 laptop
'944cee3eb9d916816b60ef41e8069683', # binary read
'de3ceb6547ffc6c557d031c0b7ee9e75', # wVistaSP2-32
'',
]
assertHashesForFile(myExpectedHashes, myPath)
Expand Down

0 comments on commit 6c0b58a

Please sign in to comment.