Skip to content

Instantly share code, notes, and snippets.

@stain
Created October 17, 2019 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stain/c3c500af16cdac9fc0797acc5712bd5d to your computer and use it in GitHub Desktop.
Save stain/c3c500af16cdac9fc0797acc5712bd5d to your computer and use it in GitHub Desktop.
Long-running script killed after 20 seconds: Javascript expression was: { return {"lines": inputs.file.contents.trim().split(/\r?\n/g) }; }
stdout was:
stderr was:
WARNING Failed to evaluate expression:
Expression evaluation error:
Expecting value: line 1 column 1 (char 0)
script was:
01 "use strict";
02 var inputs = {
03 "file": {
04 "checksum": "sha1$327b5c15f16730612116973387ec7a683bf69bca",
05 "size": 390,
06 "class": "File",
07 "nameroot": "xcz",
08 "contents": "https://zenodo.org/api/records/1144469\nhttps://zenodo.org/api/records/1144475\nhttps://zenodo.org/api/records/1144439\nhttps://zenodo.org/api/records/1144457\nhttps://zenodo.org/api/records/1144437\nhttps://zenodo.org/api/records/1144461\nhttps://zenodo.org/api/records/1144607\nhttps://zenodo.org/api/records/1144603\nhttps://zenodo.org/api/records/1144617\nhttps://zenodo.org/api/records/1144609\n",
09 "nameext": "",
10 "location": "file:///home/stain/ro-index-paper/code/data-gathering/test/zenodo-records-full/.cache/96d8f0ec04a52317093094fe1cdbcdec/xcz",
11 "basename": "xcz",
12 "http://commonwl.org/cwltool#generation": 0
13 }
14 };
15 var self = null;
16 var runtime = {
17 "outdir": "/tmp/.cachecln0n8mi",
18 "tmpdir": "/tmp/tmpn6qw2yp2",
19 "cores": 1,
20 "ram": 1024
21 };
22 (function(){ return {"lines": inputs.file.contents.trim().split(/\r?\n/g) }; })()
stdout was: ''
stderr was: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment