Skip to content

[BUG]TaskGraph UI lacking "Add Nodes" menu item to start working #154

@complyue

Description

@complyue

Describe the bug

The actual RMB click menu appears very different than the screenshot animation, especially there is no [Add Nodes] entry so no way to start working at all.

Steps/Code to reproduce bug

Open notebook https://github.com/NVIDIA/fsi-samples/blob/main/gQuant/plugins/gquant_plugin/notebooks/01_tutorial.ipynb

Try follow the steps demonstrated in the screenshot animation, but right mouse button click gives a menu UI like this:

image

Expected behavior

To have the same or equivalent UI to accomplish the steps.

Environment overview (please complete the following information)

Environment details
Please run and paste the output of the /print_env.sh script here, to gather any other relevant environment details

N/A

Additional context

https://github.com/NVIDIA/fsi-samples/blob/main/gQuant/plugins/gquant_plugin/notebooks/cuIndicator/indicator_demo.ipynb would err out like this:

---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Input In [10], in <module>
      6 task_list = [task_load_csv_data, task_sort]
      7 task_graph = TaskGraph(task_list)
----> 9 df = task_graph.run(outputs=['sort.out'])[0]
     11 def one_stock(df, stock_id):
     12     return df.query('asset==%s' % stock_id)

File ~/anaconda3/envs/fsi/lib/python3.8/site-packages/greenflow/dataframe_flow/taskGraph.py:753, in TaskGraph.run(self, outputs, replace, profile, formated, build)
    751     return result
    752 else:
--> 753     return self._run(outputs=outputs, replace=replace, profile=profile,
    754                      formated=formated, build=build)

File ~/anaconda3/envs/fsi/lib/python3.8/site-packages/greenflow/dataframe_flow/taskGraph.py:524, in TaskGraph._run(self, outputs, replace, profile, formated, build)
    521 replace = dict() if replace is None else replace
    523 if build:
--> 524     self.build(replace, profile)
    525 else:
    526     if replace:

File ~/anaconda3/envs/fsi/lib/python3.8/site-packages/greenflow/dataframe_flow/taskGraph.py:454, in TaskGraph.build(self, replace, profile)
    452 profile = False if profile is None else profile
    453 # make connection only
--> 454 self._build(replace=replace, profile=profile)
    456 # Columns type checking is done in the :meth:`TaskGraph._run` after the
    457 # outputs are specified and participating tasks are determined.
    458 
    459 # this part is to update each of the node so dynamic inputs can be
    460 # processed
    461 self.breadth_first_update()

File ~/anaconda3/envs/fsi/lib/python3.8/site-packages/greenflow/dataframe_flow/taskGraph.py:405, in TaskGraph._build(self, replace, profile)
    403         node = get_node_obj(output_task, tgraph_mixin=True)
    404     else:
--> 405         node = get_node_obj(task, replace.get(task_id), profile,
    406                             tgraph_mixin=True)
    407     self.__node_dict[task_id] = node
    409 # build the graph

File ~/anaconda3/envs/fsi/lib/python3.8/site-packages/greenflow/dataframe_flow/config_nodes_modules.py:249, in get_node_obj(task, replace, profile, tgraph_mixin, dask_ray_setup)
    246                 continue
    248 if NodeClass is None:
--> 249     raise Exception("Cannot find the Node Class:" +
    250                     node_type)
    252 if module_dir:
    253     append_path(module_dir)

Exception: Cannot find the Node Class:CsvStockLoader

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions