Skip to content

Testing multi-OS URL enhancement. #82

@DavidBrainard

Description

@DavidBrainard

I added a feature that you can specify a URL as an array of strings, with an even number of of entries. In this case, the odd entries specify strings that might be returned by Matlab's computer command, while even number strings specify the corresponding URL. Thus

"url": [
"MACI64"
"https://stanford.box.com/shared/static/j89elq3upt0ojxaju4cxwyft6heuiwnk.zip"
"GLNXA64"
"https://stanford.box.com/shared/static/wnrmyhud3og6zcnevmpf2147e5trza7x.zip"
]
will fetch from different URLs in an OS-dependent manner.

This only works in 2016b or later.

I tested this feature for the one "webget" case I needed it for. But the processing of this format occurs early in the TbTb pipeline and should work for any TbTb strategy.

This feature is not well tested, so I am posting this issue just to note that it might be broken, or break working code.

The most likely boo-boo is that I did not defend sufficiently against the fact that versions of Matlab before 2016b do not contain the isstring function. But I tried to, and the validations all pass under 2015b.

Post here if it seems like this enhancement broke something, or doesn't work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions