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
I am translating a graph which has a Scatter component, in which there are application and data drops. These drops are properly unrolled; however, there is an additional node that is created, but is not connected to anything.
I believe this is the result of a placeholder function that has not been deprecated in the dlg.dropmake.pg_generator module.
In the class pg_generater.LG, the method lgn_to_pgn calls make_single_drop(miid) in the following context:
if (extra_links_drops and not lgn.is_loop()): # make GroupBy and Gather drops
src_gdrop = lgn.make_single_drop(miid)
self._drop_dict[lgn.id].append(src_gdrop)
if (lgn.is_groupby()):
self._drop_dict['new_added'].append(src_gdrop['grp-data_drop'])
elif (lgn.is_gather()):
pass
Following through to make_single_drop, we see a function call to _create_test_drop_spec(oid, kwargs):
@myxie thanks for the report. Just for reference, how did you create the LG (i.e., the "old" editor or EAGLE)? I'm not sure of the whole history of the graph unrolling logic (this was Chen's corner of the code mostly), but it might be possible that old graphs stopped being correctly supported in the process of adjusting the translation logic to what EAGLE produces. If this is a new graph created by EAGLE, would you mind appending it here for reference?
@KevinVinsen how advanced is the current work on the split between dlg's runtime and graph translation? The fix for this problem would end up in the new repo for the translator I'd say, but if that doesn't exist yet then we could solve it here.
I am translating a graph which has a Scatter component, in which there are application and data drops. These drops are properly unrolled; however, there is an additional node that is created, but is not connected to anything.
When unrolled, it looks like the following:
I believe this is the result of a placeholder function that has not been deprecated in the
dlg.dropmake.pg_generator
module.In the class
pg_generater.LG
, the methodlgn_to_pgn
callsmake_single_drop(miid)
in the following context:Following through to
make_single_drop
, we see a function call to_create_test_drop_spec(oid, kwargs)
:There is a comment in this code that states this is a test function; and it hard-codes the
app':'dlg.apps.simple.SleepApp'
into a node.Any information on how to stop this from occurring would be greatly appreciated!
The text was updated successfully, but these errors were encountered: