Skip to content

Commit 0a51d87

Browse files
maximecbk0kubun
andauthored
Update misc/graph.rb
Co-authored-by: Takashi Kokubun <[email protected]>
1 parent 166d5b7 commit 0a51d87

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

misc/graph.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ def render_graph(json_path, png_path, title_font_size: 16.0, legend_font_size: 1
6767
json_path = ARGV.first
6868
abort parser.help if json_path.nil?
6969

70-
# For compatibility as this script used to take the .csv as input
71-
if json_path.end_with? '.csv'
72-
png_path = json_path.sub(/\.csv\z/, '.json')
73-
end
74-
7570
png_path = json_path.sub(/\.json\z/, '.png')
7671
render_graph(json_path, png_path, **args)
7772

0 commit comments

Comments
 (0)