-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable
--input-dir
flag to allow custom input directories (#29)
* Search for AHB data in both the submodule as well as project root * Make CLI accept `--input-dir` flag * Add import/export tests for CLI commands * Log absolute path Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de> * Log absolute path Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de> * Use logger `exception` instead of `error` Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de> * Rename `SUBMODULE` to `RELATIVE_PATH_TO_SUBMODULE` * Remove unused variable * Force `--output-dir` by removing default output destination * Add `data/output` as output directory to CLI test workflow * Use kwargs for `_process_files` * Use lowercase `tuple[]` * Add `_is_formatversion_dir()` to check if path leads to FV directory * Raise error instead of returning empty lists and warnings * Grammar and typo adjustments * Remove (default) fallback input directory * Add `-i` and `-o` aliases for input and output directory, respectively * Add missing input flag to CLI testing workflow * Fix typo in submodule path * Catch 'em all --------- Co-authored-by: konstantin <konstantin.klein@hochfrequenz.de>
- Loading branch information
Showing
5 changed files
with
144 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters