Skip to content

Commit

Permalink
Fixed alias utility module
Browse files Browse the repository at this point in the history
  • Loading branch information
markgw committed Jul 9, 2020
1 parent a051aa4 commit b422bf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions src/python/pimlico/datatypes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,11 +1043,7 @@ def __init__(self, input_name=None):
self.input_name = input_name

def get_datatype(self, module_info):
datatype = module_info.get_input_datatype(self.input_name)
# If the input datatype emulates another, it is that other that we will produce as output
if datatype.emulated_datatype is not None:
datatype = datatype.emulated_datatype
return datatype
return module_info.get_input_datatype(self.input_name)


class DatatypeLoadError(Exception):
Expand Down
1 change: 0 additions & 1 deletion src/python/pimlico/modules/utility/alias/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
AWAITING_UPDATE = True

0 comments on commit b422bf6

Please sign in to comment.