ytree-project / ytree

A yt-based merger-tree code.
Other
15 stars 10 forks source link

Use smarter regexes to get AHF naming scheme. #118

Closed brittonsmith closed 2 years ago

brittonsmith commented 2 years ago

PR Summary

This resolves Issue #116. I attempt to use a more sophisticated regular expression relying on the assumption that the file have a common prefix, a number, then a common suffix. This solution works for the existing AHF test data as well as the data supplied in Issue #116.

PR Checklist