Skip to content

Adjust use of GetDefaultOpenOptions in PlainText quickrecipes #19829

Open
@brugger1

Description

@brugger1

I was looking at the Python code example in PlainText file format section of the Getting Data into VisIt chapter and found what I that was incorrect code.

On further investigation, I found it was referencing a snippet of code from our test suite so it must work. The issue is that the function to get the file open options is GetDefaultFileOpenOptions, but the example code used GetDefaultOpenOptions. It turns out the test suite code defines a GetDefaultOpenOptions that calls GetDefaultFileOpenOptions. Someone viewing that example would never know that and if they tried to use the code it wouldn't work.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocsupdate to the documentationimpact mediumProductivity partially degraded (not easily mitigated bug) or improved (enhancement)likelihood mediumNeither low nor high likelihoodreviewedIssue has been reviewed and labeled by a developer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions