boutproject / boutdata

GNU Lesser General Public License v3.0
0 stars 2 forks source link

Save version when squashing #79

Closed johnomotani closed 2 years ago

johnomotani commented 2 years ago

When squashing data with squashoutput() (or the bout-squashoutput command line tool), record the version of boutdata being used as an attribute squashoutput_version of the output file. Might be useful if/when some bug in squashoutput(), etc., might affect the output file, to find out if it did or didn't.

johnomotani commented 2 years ago

PS the "Test / lint" failures I think are due to flake8 version 5.x.y not seeing our configuration in the .flake8 file. There are a few issues on their Github page that sound similar, but from what I can see it's still supposed to use a .flake8 and other people's issues were due to having flake8 configuration in 2 different files, which we don't. So maybe it's a problem because flake8 is now stricter about something (but I don't know what), or it's a bug in flake8 that hasn't been fixed between 5.0.0 and 5.0.4.