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

fixed bug in CF where incorrect parameter was being passed to GNN.uti… #1

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

jcadena001
Copy link

…ls.data_utils add_edges_to_nodes

Fixes/Addresses:

(replace this with the issue # fixed or addressed, if no issue exists then a brief statement of what this PR does)

Summary/Motivation:

Changes proposed in this PR:

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the copyright and license terms described in the LICENSE.md file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@pn51 pn51 self-requested a review October 18, 2023 16:03
@@ -460,7 +461,8 @@ def get_graph_for_simulation(self, traj_idx):
subtype_graph = transforms(subtype_graph)
elif graph_type in ["radius", "knn"]:
subtype_graph = add_edges_to_nodes(
subtype_graph, num_nodes, graph_type, radius=self.radius, k=self.k
subtype_graph, num_nodes, non_fluid_nodes,
Copy link
Owner

@pn51 pn51 Oct 18, 2023

Choose a reason for hiding this comment

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

non_fluid_nodes -> non_fluid_indices

Copy link
Owner

@pn51 pn51 left a comment

Choose a reason for hiding this comment

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

Change non_fluid_nodes -> non_fluid_indices

@pn51 pn51 merged commit eab7f45 into pn51:v2_release Oct 18, 2023
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.

2 participants