Skip to content

Commit 81a5504

Browse files
committed
Docs fix
1 parent 520bf12 commit 81a5504

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

docs/content/user_guide/surveys.ipynb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"metadata": {},
128128
"outputs": [],
129129
"source": [
130-
"potentials = PotentialElectrode.create(workspace, vertices=vertices, current_electrodes=currents)"
130+
"potentials = PotentialElectrode.create(workspace, vertices=vertices)"
131131
]
132132
},
133133
{
@@ -290,14 +290,6 @@
290290
"\n",
291291
"![dcip_survey](./images/dcip_survey.png)"
292292
]
293-
},
294-
{
295-
"cell_type": "code",
296-
"execution_count": null,
297-
"id": "0ec845cc",
298-
"metadata": {},
299-
"outputs": [],
300-
"source": []
301293
}
302294
],
303295
"metadata": {

geoh5py/objects/surveys/direct_current.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def current_electrodes(self, current_electrodes: CurrentElectrode):
136136
self.ab_cell_id, ReferencedData
137137
):
138138
self.ab_cell_id.entity_type = current_electrodes.ab_cell_id.entity_type
139-
self.workspace.finalize()
139+
self.workspace.finalize()
140140

141141
@property
142142
def potential_electrodes(self):

0 commit comments

Comments
 (0)