-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
enhancementNew feature or requestNew feature or requestnext-coding-sessionLook into during the next CS.Look into during the next CS.next-releaseIssues blocking the next releaseIssues blocking the next release
Milestone
Description
Idea would be to improve that method to fill the role of another one of Kai's functions:
def add_results(rt, column, row, value):
"""Add a value in specified rows of a given column.
Parameters
----------
rt : ij.measure.ResultsTable
A reference to the IJ-ResultsTable.
column : str
The column in which to add the values.
row : list of int
The row numbers in which to add the values.
value : str, float, or int
The value to be set.
"""
# Iterate over each row index in the row list
for i in range(len(row)):
# Set the specified value in the given column and row
rt.setValue(column, row[i], value)
# Display the updated ResultsTable
rt.show("Results")
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnext-coding-sessionLook into during the next CS.Look into during the next CS.next-releaseIssues blocking the next releaseIssues blocking the next release
Type
Projects
Status
Done