Skip to content

Commit

Permalink
minor edit in geocubit
Browse files Browse the repository at this point in the history
to avoid calling "sys" before importing
  • Loading branch information
elifo committed Nov 10, 2023
1 parent bd9fa5a commit 2efc255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CUBIT_GEOCUBIT/geocubitlib/save_fault_nodes_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def __init__(self,id,surface_u,surface_d):
print('len(Ad):',len(quads_Ad))

if not (len(quads_Au) == len(quads_Ad)):
print('Number of elements for each fauld side up and down do not concide')
print('Number of elements for up and down fault sides does not coincide!')
import sys
sys.exit('goodbye')

save_elements_nodes(self.name,quads_Au,quads_Ad)
Expand Down

0 comments on commit 2efc255

Please sign in to comment.