Updates to the asset folder location.

This commit is contained in:
Rowan Cockett
2016-06-22 12:38:19 -06:00
parent a79fc7456d
commit 64108eb36d
4 changed files with 22 additions and 20 deletions
+4 -1
View File
@@ -12,7 +12,10 @@ class MagSensProblemTests(unittest.TestCase):
def test_magnetics_inversion(self):
driver = PF.MagneticsDriver.MagneticsDriver_Inv(
os.path.sep.join(['assets', 'magnetics', 'PYMAG3D_inv.inp'])
os.path.sep.join([
os.path.split(__file__)[0],
'assets', 'magnetics', 'PYMAG3D_inv.inp'
])
)
print driver.mesh