Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Unexpected symbol when parsing 'setter'. #47

Open
dasari-mohana opened this issue Oct 5, 2023 · 1 comment
Open

ERROR: Unexpected symbol when parsing 'setter'. #47

dasari-mohana opened this issue Oct 5, 2023 · 1 comment

Comments

@dasari-mohana
Copy link

I'm encountering an error while working with a WDL (Workflow Description Language) script. The error message is as follows:

```ERROR: Unexpected symbol (line 8, col 5) when parsing 'setter'.

Expected equal, got "command ".

command {
^
$setter = :equal $e -> $1 ```

The issue seems to be related to the command block within one of the tasks in my WDL script. I'm not sure what's causing this error, and I would appreciate any guidance on how to resolve it.

Here's the relevant portion of the WDL script:

  ``` task CreateOutputDirectory {
      File outputDir
      
      # Input block for the task.
      input {
          File outputDir
      }
      
      command {
          mkdir -p ~{outputDir}  
      }
      
      output {
          File createdOutputDir = "~{outputDir}"  # Define the created output directory as an output.
      }
  } ```

Could someone please help me understand what's causing this error and how to correct it? Your assistance would be greatly appreciated.
I tried " command <<< >>>" method also.

I wrote this script using WDL docs tutorial and this github
https://docs.openwdl.org/en/latest/WDL)

@llangit-broad
Copy link
Collaborator

Would it be possible for you to provide the complete WDL script that is causing the error? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants