Skip to content

Conversation

@feefladder
Copy link
Contributor

@feefladder feefladder commented Mar 25, 2021

  • Closes #xxxx
  • Tests added
  • Passes black . && flake8
  • Fully documented, including whats-new.rst for all changes and api.rst for new API

#depends on #179 #178

what's new in #182

Comment on lines 474 to 510
{"a": A, "b": B, "c": C, "d": D},
custom_dependencies={"d": "c", "c": "b", "b": "a"},
{"a": A, "b": B, "c": C, "d": D, "e": E},
custom_dependencies={"d": "c", "c": "b", "b": {"a", "e"}},
)
model = model.drop_processes(["b", "c"])
assert model.dependent_processes["d"] == ["a"]
assert set(model.dependent_processes["d"]) == {"a", "e"}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was referenced Mar 26, 2021
feefladder pushed a commit to feefladder/xarray-simlab that referenced this pull request Apr 6, 2021
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

Successfully merging this pull request may close these issues.

1 participant