Skip to content

Fixes for catalog handling and time parsing#119

Merged
MJWeberg merged 1 commit intoUSNavalResearchLaboratory:mainfrom
MJWeberg:main
Apr 10, 2025
Merged

Fixes for catalog handling and time parsing#119
MJWeberg merged 1 commit intoUSNavalResearchLaboratory:mainfrom
MJWeberg:main

Conversation

@MJWeberg
Copy link
Collaborator

Some minor bugfixes and quality-of-life improvements:

  • Improved searching and handling of the EIS as-run catalog
    • Inverted default search pattern (new order: input_dir -> current dir -> home -> SSW)
    • Will also check for write permissions, which are needed for updating the catalog and adding an extra search index
  • Improved reliability and flexibility of time format parsing used in the eis_catalog GUI and eispac.db.EISAsRun
    • Can now input a relative "end date" that specifies the number of days before or after the start date
    • Added convenience strings of "start" or "launch" for the first date in the catalog and "now", "today", or "end" for the current date.
  • Ensured that the list of templates returned by eispac.match_templates() is properly sorted alphabetically on all operating systems

@MJWeberg MJWeberg added bug Something isn't working code cleanup labels Apr 10, 2025
@MJWeberg MJWeberg self-assigned this Apr 10, 2025
@MJWeberg MJWeberg merged commit e4d2f82 into USNavalResearchLaboratory:main Apr 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working code cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant