Skip to content

Commit

Permalink
Syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-shepherd committed Jun 20, 2024
1 parent 263f3e0 commit b7e5e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netcdf_examples/quantize_test/test_quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ def test_check_output(self):
'{}.cdl'.format(netcdf_fileroot)],
cwd=self.test_dir)
test_results = netCDF4.Dataset(
os.path.join(self.test_dir, netcdf_file)['field'][:])
os.path.join(self.test_dir, netcdf_file))['field'][:]
expected = netCDF4.Dataset(
os.path.join(self.test_dir, reference_ncfile)['field'][:])
os.path.join(self.test_dir, reference_ncfile))['field'][:]
diff = test_results - expected
result = numpy.allclose(test_results, expected, rtol=self.tolerance)
if not result:
Expand Down

0 comments on commit b7e5e48

Please sign in to comment.