-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
searching files recursively in nested directories (#501)
* fix merge conflicts * searching files recursively in nested directories * fix empty directory error * fix numpy package in toml file * fix regex for file matching * fix annotations * fix ruff checks * fix ruff checks * fix pre-commit checks * fix merge confilcts * deleted file * fix plugin manifest * fix plugin manifest * fix repo name in manifest
- Loading branch information
1 parent
2ed6f47
commit 014f4dd
Showing
8 changed files
with
144 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
## File Renaming(v0.2.0) | ||
|
||
1. This plugin is updated only to the new plugin standards and no additional functionality is added. | ||
2. This plugin is now installable with pip. | ||
3. Argparse package is replaced with Typer package for command line arguments. | ||
4. `baseCommand` added in a plugin manifiest. | ||
5. `--preview` flag is added which shows outputs to be generated by this plugin along with the outFilePattern used. | ||
6. Use `python -m python -m polus.plugins.formats.ome_converter` to run plugin from command line. | ||
7. Replaced `Unittest` with `pytest` package. | ||
8. Code is optimized for parallel execution of tasks | ||
9. New feature/input argument `mapDirectory` implemented to include directory name in renamed files. It is optional if `raw` selected then orignal directory name is added in renamed files and `map` for mapped values for subdirectories `d0, d1, d2, ... dn`. If no value is passed then it rename files only for the selected directory. | ||
10. Added a support of handling nested files in nested directories. | ||
## [0.2.4-dev0] - 2024-01-17 | ||
### Added | ||
- Pytests to test this plugin | ||
- Added a support for recursively searching for files within a directory and its subdirectories of specified pattern by passing value either raw or map for `mapDirectory` input argument. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"description": "Rename and store image collection files in a new image collection", | ||
"author": "Melanie Parham ([email protected]), Hamdah Shafqat Abbasi ([email protected])", | ||
"institution": "National Center for Advancing Translational Sciences, National Institutes of Health", | ||
"repository": "https://github.com/PolusAI/polus-plugins", | ||
"repository": "https://github.com/PolusAI/image-tools", | ||
"website": "https://ncats.nih.gov/preclinical/core/informatics", | ||
"citation": "", | ||
"containerId": "polusai/file-renaming-tool:0.2.4", | ||
|
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
Oops, something went wrong.