Skip to content

Commit

Permalink
Some CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Dec 3, 2024
1 parent 198acd6 commit 09f6d74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .teamcity/Templates/Build.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fun generateBuildHeader(platformOs: String): String {
source /usr/share/Modules/init/bash
module load pixi
module load gcc/11.3.0
module load gcc/12.2.0_gcc12.2.0
""".trimIndent() + System.lineSeparator()
}

Expand Down Expand Up @@ -59,4 +59,4 @@ open class Build(platformOs: String) : Template() {
}

object BuildWindows : Build("Windows")
object BuildLinux : Build("Linux")
object BuildLinux : Build("Linux")
4 changes: 2 additions & 2 deletions python/ribasim/ribasim/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _has_valid_neighbor_amount(

# count occurrence of "from_node" which reflects the number of outneighbors
from_node_count = (
df_graph.groupby("from_node_id").size().reset_index(name="from_node_count") # type: ignore
df_graph.groupby("from_node_id").size().reset_index(name="from_node_count")
)

# append from_node_count column to from_node_id and from_node_type
Expand All @@ -384,7 +384,7 @@ def _has_valid_neighbor_amount(

# count occurrence of "to_node" which reflects the number of inneighbors
to_node_count = (
df_graph.groupby("to_node_id").size().reset_index(name="to_node_count") # type: ignore
df_graph.groupby("to_node_id").size().reset_index(name="to_node_count")
)

# append to_node_count column to result
Expand Down

0 comments on commit 09f6d74

Please sign in to comment.