Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Only open auxilliary files for Tipsy as needed #4883

Open
matthewturk opened this issue Apr 26, 2024 · 0 comments · May be fixed by #4884
Open

ENH: Only open auxilliary files for Tipsy as needed #4883

matthewturk opened this issue Apr 26, 2024 · 0 comments · May be fixed by #4884

Comments

@matthewturk
Copy link
Member

Bug report

Bug summary

In yt/frontends/tipsy/io.py around line 160-ish we set up a dict of filehandles for the auxiliary files. These aren't actually necessary to set up unless we want to read from them. That determination happens later on, around line 172.

It might be possible to simple change the iteration for afield in self._aux_fields: to for afield in afields:.

@matthewturk matthewturk linked a pull request Apr 26, 2024 that will close this issue
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 a pull request may close this issue.

1 participant