Skip to content

Commit

Permalink
[Bug]
Browse files Browse the repository at this point in the history
- Hotfixed
  • Loading branch information
Leguark committed Mar 18, 2019
1 parent 562712d commit 13c2604
Show file tree
Hide file tree
Showing 9 changed files with 307 additions and 164 deletions.
7 changes: 5 additions & 2 deletions gempy/data_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,9 +1008,12 @@ def set_faults(self, series_name=None):
except AttributeError:
print("creating fautls")
if not series_name:
series_name = self.count_faults()
series_name_d = self.count_faults()
self.faults = pn.DataFrame(index=self.series.columns, columns=['isFault'])
self.faults['isFault'] = self.faults.index.isin(series_name)
self.faults['isFault'] = self.faults.index.isin(series_name_d)

if series_name:
self.faults['isFault'] = self.faults.index.isin(series_name)

self.interfaces.loc[:, 'isFault'] = self.interfaces['series'].isin(self.faults.index[self.faults['isFault']])
self.orientations.loc[:, 'isFault'] = self.orientations['series'].isin(self.faults.index[self.faults['isFault']])
Expand Down
190 changes: 156 additions & 34 deletions notebooks/examples/Gempy Modelle Lisa/GemPy Models_Examples.ipynb

Large diffs are not rendered by default.

274 changes: 146 additions & 128 deletions notebooks/tutorials/ch1.ipynb

Large diffs are not rendered by default.

Binary file modified test/figs/test_a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/figs/test_b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/figs/test_c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/figs/test_d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/figs/test_e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/figs/test_f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 13c2604

Please sign in to comment.