Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String Representaion of Fields uses instance ID instead of values #3

Closed
axlan opened this issue Aug 31, 2018 · 2 comments
Closed

String Representaion of Fields uses instance ID instead of values #3

axlan opened this issue Aug 31, 2018 · 2 comments

Comments

@axlan
Copy link
Contributor

axlan commented Aug 31, 2018

File "/home/axlan/virt_envs/gnss_analysis/local/lib/python2.7/site-packages/okcompute/okc.py", line 615, in run
    skipped_metrics = graph.prune_outputs(desired_output_fields)
  File "/home/axlan/virt_envs/gnss_analysis/local/lib/python2.7/site-packages/okcompute/okc.py", line 224, in prune_outputs
    for d in self.G.predecessors(node):
  File "/home/axlan/virt_envs/gnss_analysis/local/lib/python2.7/site-packages/networkx/classes/digraph.py", line 793, in predecessors
    raise NetworkXError("The node %s is not in the digraph." % (n,))

This may be specific to python2 since most testing was on python3. Probably just need to update some of the magic functions. https://rszalski.github.io/magicmethods/

@axlan
Copy link
Contributor Author

axlan commented Aug 31, 2018

Was actual caused by removing NamedTuple parent from Field and MetricSpec.

@axlan
Copy link
Contributor Author

axlan commented Aug 31, 2018

Fixed in #4

@axlan axlan closed this as completed Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant