Skip to content

Commit 265700a

Browse files
authored
Merge pull request #15507 from mcgratta/master
FDS Validation: Fix pandas read_csv statements
2 parents 7b28166 + 7bdde56 commit 265700a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/Python/scripts/LNG_Dispersion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343

4444
for j in range(13):
4545
# Read devc and exp data (skip header lines to match MATLAB importdata)
46-
M = pd.read_csv(os.path.join(outdir, f"{labels[j]}_devc.csv"), skiprows=2)
47-
E = pd.read_csv(os.path.join(expdir, f"{labels[j]}_exp.csv"), skiprows=2)
46+
M = pd.read_csv(os.path.join(outdir, f"{labels[j]}_devc.csv"), skiprows=1)
47+
E = pd.read_csv(os.path.join(expdir, f"{labels[j]}_exp.csv"), skiprows=1)
4848

4949
# Prepare output file
5050
with open(os.path.join(outdir, f"{labels[j]}.csv"), 'w') as fid:

0 commit comments

Comments
 (0)