[ENH] File: Allow selecting files with arbitrary extensions#6894
Merged
markotoplak merged 5 commits intobiolab:masterfrom Oct 24, 2025
Merged
[ENH] File: Allow selecting files with arbitrary extensions#6894markotoplak merged 5 commits intobiolab:masterfrom
markotoplak merged 5 commits intobiolab:masterfrom
Conversation
bac30c7 to
c0bd819
Compare
c0bd819 to
6cb4225
Compare
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (94.73%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #6894 +/- ##
==========================================
+ Coverage 88.71% 88.73% +0.01%
==========================================
Files 332 332
Lines 73388 73409 +21
==========================================
+ Hits 65108 65137 +29
+ Misses 8280 8272 -8 🚀 New features to boost your workflow:
|
3e30c97 to
5cd773b
Compare
04e615f to
6c00ce1
Compare
6cb8503 to
d6c4a21
Compare
9b59eab to
700e08e
Compare
Member
|
I was able to reproduce the error locally by, khm, running tests from a separate directory. :) I hope now some of them will finally work. |
Contributor
Author
🙈 |
7a4537f to
c75bbf1
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Resolves #6792. Requires biolab/orange-widget-base#278 (without, it should work, but without offering the . option).
Description of changes
Following the discussion with @markotoplak, I propose the following.
Readers are determined as follows:
Notes:
Usage scenarios
Here are a few interesting sequences and the way they are resolved according to the above rules, which should also serve to write tests if we agree upon this.
In the following "Load" refers to clicking ... and selecting the file in directory, and "Select" refers to selecting the file from the recent file list.
(... continues in 3)
(continued from above)
Notes
add_all="*"and a few different error messages, the most complicated change is in_get_reader. Reviewer should concentrate on this.mark_problematic_readerwas needed because the combo state was not changed to the reader from the recent path. This is no longer the case._initialize_reader_combocould be shorter (block signals, reinitialize, set the current index to previous value), but the current form makes its function more explicit.Includes