port filename annotation not working

Issue #34 closed
Amjad Alkodsi created an issue

Here is an example:

import anduril.tools. import org.anduril.runtime. object filename {

val seed = Randomizer(columns=1,rows=5,distribution="normal",mean=0) seed._filename("out","foo.mtx")

}

Comments (5)

  1. Ville Rantanen
    • changed status to open

    Still not working for Generic output ports. See this example

    #!/usr/bin/env anduril
    import anduril.tools._
    import org.anduril.runtime._
    object filename {
        val qb = QuickBash(script="touch $out")
        qb._filename("out","foo.mtx")
        val seed = Randomizer(columns=1, rows=5, distribution="normal", mean=0)
        seed._filename("out","foo.mtx")
        ////
    
        val be=BashEvaluate(script="touch @out1@")
        be._filename("out1","fksdod")
        be._filename("scriptOut","fksdofksd")
    }
    

    Here, the output ports that have an actual datatype get a new name (Randomizer.out and BashEvaluate.scriptOut). But ports with generic data type (quickbash.out and bashevaluate.out1) are not changed.

  2. Log in to comment