-
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.
- Static __all__ for pyinstaller compatibility.
- Loading branch information
Wim Pomp
committed
Dec 7, 2023
1 parent
cbeca59
commit 735523a
Showing
2 changed files
with
2 additions
and
5 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,4 +1 @@ | ||
from pathlib import Path | ||
|
||
__all__ = [file.stem for file in Path(__file__).parent.iterdir() | ||
if file.suffix == ".py" and not file == Path(__file__) and not file.stem.startswith('.')] | ||
__all__ = 'bfread', 'cziread', 'fijiread', 'ndread', 'seqread', 'tifread' |
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