Skip to content

Commit 6dd31cd

Browse files
committed
Create directory for plot images.
1 parent b165458 commit 6dd31cd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
*.user
2+
*.csv
3+
/src/images
24
/src/x64
35
/src/.vs
6+
/Kst2

src/mkplots.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
$kst = "..\Kst2\bin\kst2.exe"
2+
$imgs = "images\"
3+
New-Item -Path $imgs -Type Directory -Force
24
$csvfiles = Get-ChildItem "." -Filter *.csv
35
foreach ($f in $csvfiles) {
4-
$png = "images\" + $f.Basename + ".png"
6+
$png = $imgs + $f.Basename + ".png"
57
&$kst sim_fast_sample.kst -F $f --pngHeight 1500 --pngWidth 1500 --png $png
68
}

0 commit comments

Comments
 (0)