systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Weidner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYSTEMML-1609) Update dmlFromResource to not require initial slash
Date Sat, 09 Sep 2017 00:07:00 GMT

     [ https://issues.apache.org/jira/browse/SYSTEMML-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Glenn Weidner updated SYSTEMML-1609:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.15

> Update dmlFromResource to not require initial slash
> ---------------------------------------------------
>
>                 Key: SYSTEMML-1609
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1609
>             Project: SystemML
>          Issue Type: Improvement
>          Components: APIs
>            Reporter: Deron Eriksson
>            Assignee: Deron Eriksson
>            Priority: Minor
>             Fix For: SystemML 0.15
>
>
> Currently ScriptFactory's dmlFromResource (and pydmlFromResource) resourcePath requires
an initial slash, such as:
> {code}
> ScriptFactory.dmlFromResource("/scripts/datagen/genRandData4ALS.dml");
> {code}
> Update dmlFromResource to not require an initial slash so that it mirrors dmlFromFile's
behavior:
> {code}
> ScriptFactory.dmlFromFile("scripts/datagen/genRandData4ALS.dml");
> ScriptFactory.dmlFromResource("scripts/datagen/genRandData4ALS.dml");
> // initial slash also still works for dmlFromResource
> ScriptFactory.dmlFromResource("/scripts/datagen/genRandData4ALS.dml");
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message