Skip to content

Commit

Permalink
some warning about numbers for technical/biological and fractions
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Jul 30, 2024
1 parent 67b667e commit 8f03ae2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdrf_pipelines/sdrf/sdrf.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def check_integer_columns(df, columns):
# Specify the columns to check
columns_to_check = ["comment[technical replicate]", "characteristics[biological replicate]", "comment[fraction identifier]"]

## Remove columns that are not present in the dataframe
columns_to_check = [col for col in columns_to_check if col in self.columns]

# Find rows that do not contain only integers in the specified columns
non_integer_rows = check_integer_columns(self, columns_to_check)

Expand Down

0 comments on commit 8f03ae2

Please sign in to comment.