Comments (17)
Is Python's glob.glob
(https://docs.python.org/3/library/glob.html) going to be sufficient? Do you also want me to expand environment variables?
BTW mock up below. Is this ok? User will have to click "Expand Wildcards" (or Alt+E)
from tuiview.
I think the glob.glob or possibly/optionally glob.iglob would be fine from James's description @gillins.
from tuiview.
ping @shepjd
from tuiview.
@shepjd are you happy with the mock up above?
from tuiview.
Yep, looks good, will be awesome to be able to expand "210619" and get all the files for a particular day
from tuiview.
that should have read "210619"
from tuiview.
bugger the * is not showing
from tuiview.
210619
from tuiview.
One more try... * 210619 *
from tuiview.
Yeah the * is italic (can escape with back slash). I'll put something together and get you to test it first like the other one.
from tuiview.
OK @shepjd I have something for you to test:
cd /tmp
git clone https://github.com/gillins/tuiview.git
cd tuiview
git checkout wildcards
python setup.py install
Let me know how it goes. You can either click the button or press Alt+E.
I've only enabled this for rasters. As an aside, for vectors we only ever add the first file they selected - even if they select multiple. I'm guessing this because we have a dialog asking which layer in the vector to add and this would get confusing if there we multiple files. Dunno, maybe it's ok - no one has complained!
from tuiview.
As an aside, with this change the Qt File Open dialog will be used on all platforms for opening rasters. Previously, the native File Open would have been used on Windows and OSX.... Any objections to this?
from tuiview.
@shepjd did this work for you?
from tuiview.
Hi @shepjd I'm keen to do a new release soon... Did you have any luck testing this?
from tuiview.
I'm working from home because of lockdown, but have linux on laptop, will give it a go this afternoon
from tuiview.
Just tested it, worked great, bloody cool and very useful, thanks
from tuiview.
Good to hear it will be useful!
from tuiview.
Related Issues (20)
- Tuivew - Negative Stretch HOT 15
- Crashes on PyQt5 when mouse wheel is used HOT 3
- Tuiview 1.2.1 crashes on Qsize for python 2.7 HOT 2
- Enable user to choose its default colour palette HOT 3
- Multi viewer vector layer open HOT 10
- Sort multiple layers by dates in name HOT 11
- Roll layer/file list when bottom of list is reached HOT 8
- I tried to load vector data, but an error occurred HOT 4
- Allow Surrogate Table Lookup from floating point columns HOT 1
- Change pluginmanager to use importlib
- ImportError: cannot import name 'vectorrasterizer' from 'tuiview' HOT 3
- NumPy 1.24.0 deprecated np.bool HOT 1
- Format Floating point values better in Query Window
- Support multiple monitors with the tile window functionality
- Coordinate readout in lat,lon HOT 4
- How to install latest version? HOT 6
- Palette images not recognised HOT 1
- Profile tool is empty HOT 2
- Multiple Profiles in the Same Window HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuiview.