Commit b916f93f authored by payno's avatar payno
Browse files

[ewoks] rename INPUT_NAMES, OUTPUT_NAMES to _INPUT_NAMES, _OUTPUT_NAMES

update value from list to set
parent 3c7c0f44
......@@ -7,8 +7,8 @@ class IgnoreTask(Task):
class IgnoreInput(IgnoreTask):
INPUT_NAMES = []
OUTPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set([])
_OUTPUT_NAMES = set(["xas_obj"])
pass
# @staticmethod
......
......@@ -38,9 +38,9 @@ import pkg_resources
class DumpXasObject(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["result"]
_OUTPUT_NAMES = set(["result"])
def __init__(self, varinfo=None, **inputs):
super().__init__(name="dump xas object", varinfo=varinfo, **inputs)
......@@ -104,7 +104,7 @@ class DumpXasObject(Process):
class ReadXasObject(Process):
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
super().__init__(name="read xas", varinfo=varinfo, **inputs)
......
......@@ -136,9 +136,9 @@ _USE_MULTIPROCESSING_POOL = False
class Larch_autobk(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="autobk", varinfo=varinfo, **inputs)
......
......@@ -127,9 +127,9 @@ _USE_MULTIPROCESSING_POOL = False
class Larch_mback(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="mback", varinfo=varinfo, **inputs)
......
......@@ -132,9 +132,9 @@ _USE_MULTIPROCESSING_POOL = False
class Larch_pre_edge(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="pre_edge", varinfo=varinfo, **inputs)
......
......@@ -159,9 +159,9 @@ _USE_MULTIPROCESSING_POOL = False
class Larch_xftf(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="xftf", varinfo=varinfo, **inputs)
......
......@@ -149,9 +149,9 @@ class PyMca_exafs(Process):
"""Process spectra for exafs and get information about the processing
advancement"""
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="exafs", varinfo=varinfo, **inputs)
......
......@@ -152,9 +152,9 @@ _USE_MULTIPROCESSING_POOL = False
class PyMca_ft(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="ft", varinfo=varinfo, **inputs)
......
......@@ -141,9 +141,9 @@ _USE_MULTIPROCESSING_POOL = False
class PyMca_k_weight(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, name="k weight", varinfo=varinfo, **inputs)
......
......@@ -126,9 +126,9 @@ _USE_MULTIPROCESSING_POOL = False
class PyMca_normalization(Process):
INPUT_NAMES = ["xas_obj"]
_INPUT_NAMES = set(["xas_obj"])
OUTPUT_NAMES = ["xas_obj"]
_OUTPUT_NAMES = set(["xas_obj"])
def __init__(self, varinfo=None, **inputs):
Process.__init__(self, "normalization", varinfo=varinfo, **inputs)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment