Skip to content

Commit aca2b29

Browse files
committed
Update doc strings.
1 parent c3c4252 commit aca2b29

14 files changed

+0
-79
lines changed

tests/molecular/molecules/building_block/test_get_core_atom_ids.py

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ def test_get_core_atom_ids(case_data: CaseData) -> None:
1212
A test case. Holds the building block to test and the correct
1313
core atom ids.
1414
15-
Returns:
16-
:class:`NoneType`
17-
1815
"""
1916

2017
for id1, id2 in it.zip_longest(

tests/molecular/molecules/building_block/test_get_functional_groups.py

-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ def test_get_functional_groups(case_data: CaseData) -> None:
1515
A test case. Holds the building block to test and the correct
1616
functional groups.
1717
18-
Returns:
19-
:class:`NoneType`
20-
2118
"""
2219

2320
_test_get_functional_groups(
@@ -40,9 +37,6 @@ def _test_get_functional_groups(
4037
functional_groups:
4138
The correct functional groups.
4239
43-
Returns:
44-
:class:`NoneType`
45-
4640
"""
4741

4842
for fg1, fg2 in it.zip_longest(

tests/molecular/molecules/building_block/test_get_num_functional_groups.py

-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ def test_get_num_functional_groups(case_data: CaseData) -> None:
1010
A test case. Holds the building block to test and the correct
1111
functional groups.
1212
13-
Returns:
14-
:class:`NoneType`
15-
16-
1713
"""
1814

1915
assert case_data.building_block.get_num_functional_groups() == len(

tests/molecular/molecules/building_block/test_get_placer_ids.py

-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ def test_get_placer_ids(case_data: CaseData) -> None:
1313
A test case. Holds the building block to test and the
1414
correct placer ids.
1515
16-
Returns:
17-
:class:`NoneType`
18-
1916
"""
2017

2118
_test_get_placer_ids(
@@ -38,9 +35,6 @@ def _test_get_placer_ids(
3835
placer_ids:
3936
The correct placer ids.
4037
41-
Returns:
42-
:class:`NoneType`
43-
4438
"""
4539

4640
for placer1, placer2 in it.zip_longest(

tests/molecular/molecules/building_block/test_repr.py

-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ def test_repr(case_data: CaseData) -> None:
1111
case_data:
1212
A test case. Holds the building block to test.
1313
14-
Returns:
15-
:class:`NoneType`
16-
1714
"""
1815

1916
_test_repr(
@@ -33,9 +30,6 @@ def _test_repr(building_block: stk.BuildingBlock, known_repr: str) -> None:
3330
known_repr:
3431
The correct representation.
3532
36-
Returns:
37-
:class:`NoneType`
38-
3933
"""
4034

4135
print(building_block.__repr__(), known_repr)

tests/molecular/molecules/building_block/test_with_functional_groups.py

-6
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ def test_with_functional_groups(
2323
Takes a single parameter, `building_block` and returns the
2424
`functional_groups` parameter to use for this test.
2525
26-
Returns:
27-
:class:`NoneType`
28-
2926
"""
3027

3128
# Save clone to check immutability.
@@ -52,9 +49,6 @@ def _test_with_functional_groups(
5249
functional_groups:
5350
The functional groups the new building block should hold.
5451
55-
Returns:
56-
:class:`NoneType`
57-
5852
"""
5953

6054
new = building_block.with_functional_groups(functional_groups)

tests/molecular/writers/mdl_mol/test_to_string.py

-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ def test_to_string(case_data: CaseData) -> None:
1111
case_data:
1212
A test case.
1313
14-
Returns:
15-
:class:`NoneType`
16-
1714
"""
1815

1916
_test_to_string(
@@ -41,9 +38,6 @@ def _test_to_string(
4138
string:
4239
The expected output string.
4340
44-
Returns:
45-
:class:`NoneType`
46-
4741
"""
4842

4943
test_string = writer.to_string(molecule)

tests/molecular/writers/mdl_mol/test_write.py

-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ def test_write(case_data: CaseData, tmp_path: pathlib.Path) -> None:
1515
tmp_path:
1616
Path to temporary directory.
1717
18-
Returns:
19-
:class:`NoneType`
20-
2118
"""
2219

2320
_test_write(
@@ -50,9 +47,6 @@ def _test_write(
5047
file_path:
5148
Path to temporary file.
5249
53-
Returns:
54-
:class:`NoneType`
55-
5650
"""
5751

5852
writer.write(molecule, file_path)

tests/molecular/writers/pdb/test_to_string.py

-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ def test_to_string(case_data: CaseData) -> None:
1111
case_data:
1212
A test case.
1313
14-
Returns:
15-
:class:`NoneType`
16-
1714
"""
1815

1916
_test_to_string(
@@ -46,9 +43,6 @@ def _test_to_string(
4643
periodic_info:
4744
Periodic information.
4845
49-
Returns:
50-
:class:`NoneType`
51-
5246
"""
5347

5448
test_string = writer.to_string(

tests/molecular/writers/pdb/test_write.py

-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ def test_write(case_data: CaseData, tmp_path: pathlib.Path) -> None:
1515
tmp_path:
1616
Path to temporary directory.
1717
18-
Returns:
19-
:class:`NoneType`
20-
2118
"""
2219

2320
_test_write(
@@ -55,9 +52,6 @@ def _test_write(
5552
periodic_info:
5653
Periodic information.
5754
58-
Returns:
59-
:class:`NoneType`
60-
6155
"""
6256

6357
writer.write(

tests/molecular/writers/turbomole/test_to_string.py

-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ def test_to_string(case_data: CaseData) -> None:
1111
case_data:
1212
A test case.
1313
14-
Returns:
15-
:class:`NoneType`
16-
1714
"""
1815

1916
_test_to_string(
@@ -46,9 +43,6 @@ def _test_to_string(
4643
periodic_info:
4744
Periodic information.
4845
49-
Returns:
50-
:class:`NoneType`
51-
5246
"""
5347

5448
test_string = writer.to_string(

tests/molecular/writers/turbomole/test_write.py

-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ def test_write(case_data: CaseData, tmp_path: pathlib.Path) -> None:
1515
tmp_path:
1616
Path to temporary directory.
1717
18-
Returns:
19-
:class:`NoneType`
20-
2118
"""
2219
_test_write(
2320
molecule=case_data.molecule,
@@ -54,9 +51,6 @@ def _test_write(
5451
periodic_info:
5552
Periodic information.
5653
57-
Returns:
58-
:class:`NoneType`
59-
6054
"""
6155

6256
writer.write(

tests/molecular/writers/xyz/test_to_string.py

-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ def test_to_string(case_data: CaseData) -> None:
1111
case_data:
1212
A test case.
1313
14-
Returns:
15-
:class:`NoneType`
16-
1714
"""
1815

1916
_test_to_string(
@@ -41,9 +38,6 @@ def _test_to_string(
4138
string:
4239
The expected output string.
4340
44-
Returns:
45-
:class:`NoneType`
46-
4741
"""
4842

4943
test_string = writer.to_string(molecule)

tests/molecular/writers/xyz/test_write.py

-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ def test_write(case_data: CaseData, tmp_path: pathlib.Path) -> None:
1515
tmp_path:
1616
Path to temporary directory.
1717
18-
Returns:
19-
:class:`NoneType`
20-
2118
"""
2219

2320
_test_write(
@@ -50,9 +47,6 @@ def _test_write(
5047
file_path:
5148
Path to temporary file.
5249
53-
Returns:
54-
:class:`NoneType`
55-
5650
"""
5751

5852
writer.write(molecule, file_path)

0 commit comments

Comments
 (0)