Uploaded image for project: 'DataWolf'
  1. DataWolf
  2. WOLF-189

Commandline executor expects only one file per dataset

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 4.0
    • Component/s: Core
    • Labels:
      None

      Description

      The issue is here: https://opensource.ncsa.illinois.edu/bitbucket/projects/WOLF/repos/datawolf/browse/datawolf-executor-commandline/src/main/java/edu/illinois/ncsa/datawolf/executor/commandline/CommandLineExecutor.java#164

      One possible solution is to iterate over the file descriptor list and assuming the files in the list have unique names, possibly with file extensions, we can:

      1) Check if each file has an extension and write the file to the run folder as "filename" + extension where filename comes from line 146. A user that specified "input" in the filename field when creating the tool, we would write, for example: input.shp, input.dbf and "input".

      I'm open to other possible solutions to fix this issue.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              cnavarro Christopher Navarro
              Reporter:
              cnavarro Christopher Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 6 hours
                  2h

                    Tasks