You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if you go to this snippet and use the copy function of the code box, you get the following:
fromaiida.ormimportIntfromaiida.engineimportWorkChainclassOutputInputWorkChain(WorkChain):
"""Toy WorkChain that simply passes the input as an output."""@classmethoddefdefine(cls, spec):
"""Specify inputs, outputs, and the workchain outline."""super().define(spec)
spec.input("x", valid_type=Int)
spec.outline(cls.result)
spec.output("workchain_result", valid_type=Int)
defresult(self):
"""Pass the input as an output."""# Declaring the outputself.out("workchain_result", self.inputs.x)
Not sure if this is an issue of how we have it set up, or of the underlying library we are using for the rendering.
The text was updated successfully, but these errors were encountered:
For example, if you go to this snippet and use the copy function of the code box, you get the following:
Not sure if this is an issue of how we have it set up, or of the underlying library we are using for the rendering.
The text was updated successfully, but these errors were encountered: