{"api_version":2,"name":"galaxy_add_line","version":"1.0","description":"Add a literal header or footer line to a text stream.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"parameters":{"type":"object","properties":{"text":{"type":"string","default":"header","maxLength":4096,"description":"Literal line content."},"position":{"type":"string","default":"header","maxLength":4096,"enum":["header","footer"],"description":"Insert the line as a header or footer."}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"UTF-8 bytes stream. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."},"outputs":{"result":"Add a literal header or footer line to a text stream. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row."},"parameters":{"text":{"description":"Literal line content.","help":"Literal line content. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row.","example":"header"},"position":{"description":"Insert the line as a header or footer.","help":"Insert the line as a header or footer. Existing data lines are normalized to LF; this avoids concatenating a footer onto an unterminated final row.","example":"header"}},"example_job":"name: Add a literal header or footer line to a text stream.\nsteps:\n- id: read\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/add_line.txt\n    view: bytes\n- id: process\n  operator: galaxy_add_line@1.0\n  inputs:\n    source: read\n  params:\n    text: header\n    position: header\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"jvm","entrypoint":"xstream.galaxy.AddLine","config":{}},"runtime":{"image":"sha256:23732819bf6777f314efc0454034fb8509caac9dc81b84538e52104274cb4af3","archive":{"sha256":"c2292f636d53fb70c0de30cf95b589b9eebd1d60c805465281a6980ff2889288","size":104964639,"filename":"jvm-arrow-2.1.tar.gz"}},"source_public":true,"provenance":{"source_archive":{"sha256":"dda731c5bb994c1ea06798b530d6f8a506beddf56c661259c2702a2d0dfea866","size":1100115,"filename":"galaxy_add_line-sources.zip"},"source_repository":"https://github.com/bgruening/galaxytools","source_revision":"cf3d3559b6102373ee65693e99e4ed928d459deb","license":"AFL-3.0 AND MIT","license_file":{"sha256":"b5c47c1fc99e3f0f24de342af06da7bbaf8f394f1b6be0295d0d2ebcf7e874cf","size":12526,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile every src/*.scala against the shared SDK using the jvm-arrow@2.1 Scala builder. Include resources/ in the thin JAR. No external dependencies. See extra-specs.json, README and upstream-extended/ for reviewed sources, explicit supported scope and test fixtures."},"artifact":{"sha256":"f7701111c8168f70b3e26efde4b4a47c41acea063246925c35ca16b3745bd331","size":213425,"filename":"operator.jar"},"categories":["Galaxy","Text processing","Tabular data"],"role":"transform","type":"sdk","outputs":{"result":{"view":"bytes"}},"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1794189227303},"publication":{"author":"dacp-examples","submitted_at_ms":1794189186287,"approved_at_ms":1794189227303,"last_submitted_at_ms":1794189186287,"last_approved_at_ms":1794189227303},"download_count":3}