-
Notifications
You must be signed in to change notification settings - Fork 211
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
Detect and parse any input syntax type (string, obj) in addSteps, replaceImage methods #731
Comments
Just a note that:
Thanks! |
And actually we should check that there's a test for their chainability -- i think there is, if I remember right! |
Hmm. Working on this! |
Awesome!!
…On Wed, Jan 30, 2019, 3:04 PM Vibhor Gupta ***@***.*** wrote:
Hmm. Working on this!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#731 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ7r_jl3bPugLdgO9JPZBuxQI0WKOks5vIfrIgaJpZM4aa3Fy>
.
|
Ah, actually maybe what we should say is that any of the following methods should accept full range of input syntaxes, including string, object:
any others? We could have a method called |
I just linked to this from publiclab/leaflet-tile-filter#3 because once this is complete we should be able to vastly improve that use case! Thanks @VibhorCodecianGupta ! |
I noticed that
sequencer.addSteps('invert,ndvi')
doesn't work because it doesn't recognize and parse the string. We should detect commas and pre-filter the input usingsequencer.importString()
so that we can simply pass multiple steps in viaaddSteps()
This shouldn't be too hard, and we can add this as an example to the README too, where actually we don't show the use of string syntax -- we can demonstrate in a new subsection:
This'd be a really nice refinement!
The text was updated successfully, but these errors were encountered: