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

MAINT: pysat 3.2.0 compatibility #51

Open
jklenzing opened this issue Dec 1, 2023 · 1 comment
Open

MAINT: pysat 3.2.0 compatibility #51

jklenzing opened this issue Dec 1, 2023 · 1 comment

Comments

@jklenzing
Copy link
Member

pysat 3.2.0 changes how parse_fixed_width_filenames works. For an empty fileset, values are returned as None rather than an empty list. This is a breaking change for the cosmic_gps instrument.

Since len cannot be run on NoneType, the check for files is updated to

stored['year'] is not None and len(stored['year']) > 0

where the first bit is the pysat 3.2.0 version, and the second bit is the pysat 3.1.0 check. When 3.2.0 is released, this can be simplified and a version limit can be added.

@jklenzing
Copy link
Member Author

There is an additional issue with pysat 3.2.0 tests failing on github actions. The tests are killed prematurely.

Cannot test this locally, as tests are killed for any pysat version prematurely.

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

No branches or pull requests

1 participant