From 04d18b958460ee26677f9cf96b3530cf6f7cfe21 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 May 2024 20:41:44 +0000 Subject: [PATCH] Committing clang-format changes --- .../fragmenting/fragment_weights.hpp | 16 ++++++++++++++++ src/ghostfragment/drivers/fragment.cpp | 4 ++-- src/ghostfragment/fragmenting/gmbe_weights.cpp | 16 ++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/include/ghostfragment/property_types/fragmenting/fragment_weights.hpp b/include/ghostfragment/property_types/fragmenting/fragment_weights.hpp index b99db473..5d7f1f6e 100644 --- a/include/ghostfragment/property_types/fragmenting/fragment_weights.hpp +++ b/include/ghostfragment/property_types/fragmenting/fragment_weights.hpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 GhostFragment + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include diff --git a/src/ghostfragment/drivers/fragment.cpp b/src/ghostfragment/drivers/fragment.cpp index 13478cde..06d72ae1 100644 --- a/src/ghostfragment/drivers/fragment.cpp +++ b/src/ghostfragment/drivers/fragment.cpp @@ -62,11 +62,11 @@ MODULE_RUN(Fragment) { auto& graph_mod = submods.at("Molecular Graph"); const auto& graph = graph_mod.run_as(mol); - auto& frags_mod = submods.at("Molecular graph to fragments"); + auto& frags_mod = submods.at("Molecular graph to fragments"); const auto& frags_no_ints = frags_mod.run_as(graph); auto& intersect_mod = submods.at("Intersection finder"); - const auto& frags = intersect_mod.run_as(frags_no_ints); + const auto& frags = intersect_mod.run_as(frags_no_ints); auto& bonds_mod = submods.at("Find broken bonds"); const auto& conns = graph.edges(); diff --git a/src/ghostfragment/fragmenting/gmbe_weights.cpp b/src/ghostfragment/fragmenting/gmbe_weights.cpp index 2ce68478..ed376d05 100644 --- a/src/ghostfragment/fragmenting/gmbe_weights.cpp +++ b/src/ghostfragment/fragmenting/gmbe_weights.cpp @@ -1,3 +1,19 @@ +/* + * Copyright 2024 GhostFragment + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "fragmenting.hpp" #include #include