Skip to content

Commit

Permalink
Fix for segyio
Browse files Browse the repository at this point in the history
  • Loading branch information
dlilien committed Aug 15, 2019
1 parent 33f27e3 commit ed11dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impdar/tests/test_Migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@ def test_PhaseShiftLateral(self):
data = NoInitRadarData(big=True)
data = migrationlib.migrationPhaseShift(data, vel_fn=os.path.join(THIS_DIR, 'input_data', 'velocity_lateral.txt'))

@unittest.skipIf(sp.Popen(['which', 'sumigtk']).wait() != 0, 'SeisUnix not found')
@unittest.skipIf(sp.Popen(['which', 'sumigtk']).wait() != 0 or (not load_segy.SEGY), 'SeisUnix not found')
def test_sumigtk(self):
data = NoInitRadarData(big=True)
data.dt = 1.0e-9
data.travel_time = data.travel_time * 1.0e-9
data.fn = os.path.join(THIS_DIR, 'input_data', 'rectangle_sumigtk.mat')
migrationlib.migrationSeisUnix(data)

@unittest.skipIf(sp.Popen(['which', 'sustolt']).wait() != 0, 'SeisUnix not found')
@unittest.skipIf(sp.Popen(['which', 'sustolt']).wait() != 0 or (not load_segy.SEGY), 'SeisUnix not found')
def test_sustolt(self):
data = NoInitRadarData(big=True)
data.dt = 1.0e-9
Expand Down

0 comments on commit ed11dd9

Please sign in to comment.