mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-05 22:31:11 +08:00
Revert "Show message when No input data provided"
Uplot should expect cases where data takes a long time to reach the standard input.
This mechanism is not appropriate.
This reverts commit c40c59a21d
.
This commit is contained in:
parent
c40c59a21d
commit
84196c197d
@ -35,14 +35,8 @@ module Uplot
|
||||
exit
|
||||
end
|
||||
|
||||
watchman = Thread.new do
|
||||
sleep(1)
|
||||
warn 'No input file or piped data provided. Waiting for standard input:'
|
||||
end
|
||||
|
||||
# Sometimes the input file does not end with a newline code.
|
||||
while (input = Kernel.gets(nil))
|
||||
watchman.kill
|
||||
input.freeze
|
||||
@raw_inputs << input
|
||||
@data = Preprocessing.input(input, delimiter, headers, transpose)
|
||||
|
Loading…
Reference in New Issue
Block a user