Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dc2d app #21

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
add try and except for pardiso
not sure why pardiso does not work on travis.
  • Loading branch information
sgkang committed Oct 3, 2019
commit 5de21c5c8bffa5d7c7bb2faccda7aaf051e98836
5 changes: 4 additions & 1 deletion geoscilabs/inversion/DCResistivity.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import numpy as np
from pymatsolver import Pardiso
try:
from pymatsolver import Pardiso as Solver
except:
from SimPEG import Solver
from SimPEG import DC, Utils, Maps
from SimPEG import (
DataMisfit, Regularization, Optimization,
Expand Down
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
testipynb
pytest
flake8
black
pymatsolver
black
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ numpy>=1.7
scipy>=1.0
matplotlib>2.1
ipywidgets
pymatsolver
SimPEG>=0.10.4
empymod
jupyter
Expand Down