-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pims.open should handle lists of URLs #310
Comments
cc @jakirkham |
Hmm. Does the |
In [1]: import pims
In [2]: pims.ImageSequence(['https://pydata.org/images/logo.png'])
Out[2]:
<Frames>
Source: (list of images)
Length: 1 frames
Frame Shape: (53, 126, 4)
Pixel Datatype: uint8 |
Great! I just confirmed that |
(In the meantime we have |
From the perspective of someone who makes tools downstream of this package the former would be preferred. It would stop me having to have branching downstream. |
Looks like a duplicate of issue ( #295 ). |
Maybe PR ( #316 ) helps? |
This may take some more work. The issue is >>> import glob
>>> glob.glob("about.png")
['about.png']
>>> glob.glob("http://www.imagexd.org/images/about.png")
[] |
Thanks for identifying this issue and proposing a (starting) solution! I agree that #316 leads to more complication. The behavior of One solution is to just replicate this behavior in @mrocklin would this address the issue? |
Yes, that sounds good to me |
I have several images on a cloud object store. I can get normal http routes to these images and I'm happy to see that pims can read these individually. However, my guess is that normal
glob
processing won't successfully find all of the images on the cloud object store. I'm happy to provide this list myself, but it looks like I'm unable to past a list of filenames intopims.open
.Note that this behavior is currently advertised in the docstring
The text was updated successfully, but these errors were encountered: