mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #16910 from mvdbeek/sort1_fix
[23.1] Fix missing grep input in sort1 tool
This commit is contained in:
@@ -41,7 +41,8 @@ def main():
|
||||
|
||||
# grep comments
|
||||
grep_comments = ["grep", "^#"]
|
||||
exit_code = subprocess.call(grep_comments, stdout=output_fh)
|
||||
exit_code = subprocess.call(grep_comments, stdin=input_fh, stdout=output_fh)
|
||||
input_fh.seek(0)
|
||||
if exit_code not in [0, 1]:
|
||||
stop_err("Searching for comment lines failed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user