Skip to content

Fix output folder collision in geothermalExampleWellbore - #46

Open
FrancescaWatson wants to merge 1 commit into
mainfrom
claude/geothermal-wellbore-test-issue-00eff5
Open

FrancescaWatson wants to merge 1 commit into
mainfrom
claude/geothermal-wellbore-test-issue-00eff5

Conversation

@FrancescaWatson

Copy link
Copy Markdown
Contributor

With hashing disabled (the default), the wellbore and reference packed problems in geothermalExampleWellbore were stored in the same output folder. The reference run overwrote the wellbore results, and reading them back failed with "Unrecognized field name Wellbore".

convertToReservoirWellboreModel was meant to rename the case with a '_wb' suffix, but used isfield, which is always false for TestCase objects. Also check isprop so TestCase instances are renamed, and give the two problems in the example explicit names.

With hashing disabled (the default), the wellbore and reference packed
problems in geothermalExampleWellbore were stored in the same output
folder. The reference run overwrote the wellbore results, and reading
them back failed with "Unrecognized field name Wellbore".

convertToReservoirWellboreModel was meant to rename the case with a
'_wb' suffix, but used isfield, which is always false for TestCase
objects. Also check isprop so TestCase instances are renamed, and give
the two problems in the example explicit names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant