Skip to content

Commit 6f1dd10

Browse files
committed
No check for equality when computational type is None
1 parent 6e0a3bc commit 6f1dd10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fairworkflows/fairstep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def uri(self):
7171
return self._uri
7272

7373
def __eq__(self, other):
74-
return self.name == other.name and self.computational_type == other.computational_type
74+
return self.name == other.name and ((self.computational_type == other.computational_type) or (self.computational_type is None))
7575

7676
def __hash__(self):
7777
return hash(str(self))

0 commit comments

Comments
 (0)