Skip to content

Commit

Permalink
Run formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Jan 31, 2020
1 parent b0bfe93 commit a4a5d0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gsd/gsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ int gsd_write_chunk(struct gsd_handle* handle,
if (retval != GSD_SUCCESS)
{
return retval;
}
}
}
}
else
Expand Down
6 changes: 3 additions & 3 deletions tests/test_fl.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_dtype(tmp_path, typ):
assert data2d.dtype == read_data2d.dtype
numpy.testing.assert_array_equal(data2d, read_data2d)
assert data_zero.dtype == read_data_zero.dtype
assert data_zero.shape == (0,)
assert data_zero.shape == (0, )

# test again with pygsd
with gsd.pygsd.GSDFile(
Expand Down Expand Up @@ -859,7 +859,7 @@ def test_zero_size(tmp_path, open_mode):
schema_version=[1, 2]) as f:
assert f.nframes == 1
data_read = f.read_chunk(frame=0, name='data')
assert data_read.shape == (0,)
assert data_read.shape == (0, )
assert data_read.dtype == numpy.float32

# test again with pygsd
Expand All @@ -868,5 +868,5 @@ def test_zero_size(tmp_path, open_mode):
/ 'test_zero.gsd'), mode=open_mode.read)) as f:
assert f.nframes == 1
data_read = f.read_chunk(frame=0, name='data')
assert data_read.shape == (0,)
assert data_read.shape == (0, )
assert data_read.dtype == numpy.float32

0 comments on commit a4a5d0d

Please sign in to comment.