Skip to content

Commit

Permalink
Fix deprecated access (#10)
Browse files Browse the repository at this point in the history
* Fix deprecated access

* prettify
  • Loading branch information
addman2 authored Nov 2, 2023
1 parent f145e70 commit cbd2dcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/gol/tests/test_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def test_SerializerGOL(aiida_local_code_factory, clear_database, entry_points):
from aiida.orm import Int
from aiida.orm import ArrayData

serializer = tuple(entry_points.eps().select(
group='aiida_python.serializers',
name='aiida_python.gol.system'))[0].load()
serializer = tuple(
entry_points.eps().select(group='aiida_python.serializers',
name='aiida_python.gol.system'))[0].load()

obj = serializer.deserialize(np.array([[True, True], [True, False]]))
array = serializer.serialize(obj)
Expand Down

0 comments on commit cbd2dcf

Please sign in to comment.