Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-577

Scripting Engine should allow Relative File Paths

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently the IGB Scripting engine forces a user to enter the full file path when referring to a file path (such as when using the Snapshot command).

      It would be nice if the scripting engine would allow a user to enter the relative file path if they wanted to.

      This would increase usability and decrease possible user frustrations.

      We should also examine how these file paths work in Windows (may be different than Unix) when attempting to work on this story.

        Attachments

          Activity

          mason Mason Meyer (Inactive) created issue -
          mason Mason Meyer (Inactive) made changes -
          Field Original Value New Value
          Epic Link IGBF-568 [ 15637 ]
          mason Mason Meyer (Inactive) made changes -
          Description Currently the IGB Scripting engine forces a user to enter the full file path when referring to a file path (such as when using the Snapshot command)

          It would be nice if the scripting engine would allow a user to enter the relative file path if they wanted to.

          This would increase usability and decrease possible user frustrations.

          We should also examine how these file paths work in Windows (may be different than Unix) when attempting to work on this story.
          Currently the IGB Scripting engine forces a user to enter the full file path when referring to a file path (such as when using the Snapshot command).

          It would be nice if the scripting engine would allow a user to enter the relative file path if they wanted to.

          This would increase usability and decrease possible user frustrations.

          We should also examine how these file paths work in Windows (may be different than Unix) when attempting to work on this story.
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 17 [ 22 ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          mason Mason Meyer (Inactive) made changes -
          Assignee Tarun Mall [ tmall ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 17 [ 22 ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 18 [ 23 ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          tmall Tarun Mall (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          By "relative," do we mean relative to the script?

          For example, if a script resides in:

          /User/mary/myscripts

          And a script contains the command:

          load File.bed

          then will IGB look for "File.bed" in /User/mary/myscripts ?

          Show
          ann.loraine Ann Loraine added a comment - By "relative," do we mean relative to the script? For example, if a script resides in: /User/mary/myscripts And a script contains the command: load File.bed then will IGB look for "File.bed" in /User/mary/myscripts ?
          Hide
          mason Mason Meyer (Inactive) added a comment - - edited

          I think it could either be relative to the script OR relative to the home directory.

          I think you put it best in your e-mail:

          1. support true relative paths: when saving or accessing a file, if user does not specify the absolute path to a file, then the file path should be relative to the location of the script file (if the script file is local) or relative to the user’s home directory (if the script file is remote)

          Show
          mason Mason Meyer (Inactive) added a comment - - edited I think it could either be relative to the script OR relative to the home directory. I think you put it best in your e-mail: 1. support true relative paths: when saving or accessing a file, if user does not specify the absolute path to a file, then the file path should be relative to the location of the script file (if the script file is local) or relative to the user’s home directory (if the script file is remote)
          dcnorris David Norris (Inactive) made changes -
          Story Points 1
          dcnorris David Norris (Inactive) made changes -
          Status In Progress [ 3 ] Needs Testing [ 10002 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 18 [ 23 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 19 [ 24 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          mason Mason Meyer (Inactive) made changes -
          Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked lower
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 19 [ 24 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 20 [ 25 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          Testing verifies that the scripting engine allows relative file paths on Mac when using the tilda symbol. Since this story is resolved it will now be closed.

          Show
          mason Mason Meyer (Inactive) added a comment - Testing verifies that the scripting engine allows relative file paths on Mac when using the tilda symbol. Since this story is resolved it will now be closed.
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 15851 ] Fall 2019 Workflow Update [ 19449 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19449 ] Revised Fall 2019 Workflow Update [ 21566 ]

            People

            • Assignee:
              mason Mason Meyer (Inactive)
              Reporter:
              mason Mason Meyer (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: