Skip to content

Commit

Permalink
Remove workaround for protocol validation in `PwBandStructureWorkChai…
Browse files Browse the repository at this point in the history
…n` (aiidateam#315)

The original problem has been fixed in `plumpy==0.14.0` which ships with
the just released `aiida-core==1.0.0b3`.
  • Loading branch information
borellim authored and sphuber committed May 16, 2019
1 parent 27973fc commit 9eade0a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions aiida_quantumespresso/workflows/pw/band_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@

def _validate_protocol(protocol_dict):
""" Check that the protocol is one for which we have a definition. """
if protocol_dict == ():
# Work around this issue in plumpy: https://github.com/aiidateam/plumpy/issues/102
return
try:
protocol_name = protocol_dict['name']
except KeyError as e:
Expand Down

0 comments on commit 9eade0a

Please sign in to comment.