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

Closed
matthewturk opened this issue Apr 26, 2024 · 0 comments · Fixed by #4884
Closed

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

matthewturk opened this issue Apr 26, 2024 · 0 comments · Fixed by #4884
Milestone

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:.

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.

2 participants