File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
LoopStructural/modelling/input Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,19 @@ def stratigraphic_column(self):
133133 val = self ._stratigraphic_value ()
134134 for name , sg in self ._stratigraphic_order :
135135 stratigraphic_column [name ] = {}
136- for g in reversed (sg ):
136+ for i , g in enumerate ( reversed (sg ) ):
137137 if g in self .thicknesses :
138138 stratigraphic_column [name ][g ] = {
139139 "max" : val [g ] + self .thicknesses [g ],
140140 "min" : val [g ],
141141 "id" : unit_id ,
142142 "colour" : self .colours [g ],
143143 }
144+ if i == 0 :
145+ stratigraphic_column [name ][g ]["min" ] = - np .inf
146+ if i == len (sg )- 1 :
147+ stratigraphic_column [name ][g ]["max" ] = np .inf
148+
144149 unit_id += 1
145150 # add faults into the column
146151 if self .fault_properties is not None :
You can’t perform that action at this time.
0 commit comments