Skip to content

Commit

Permalink
unique() fix and template updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcantor22 committed Aug 30, 2024
1 parent 79ee4a6 commit 2d1dba6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mmeds/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,10 +1032,8 @@ def get_sequencing_run_locations(self, metadata, user, column=("RawDataProtocol"
df = pd.read_csv(metadata, sep='\t', header=[0, 1], skiprows=[2, 3, 4])

# Store run names from metadata
runs = []
for run in df[column]:
if run not in runs:
runs.append(run)
runs = list(df[column].unique())

# Get paths, these should exist due to already checking during validation
run_paths = {}
for run in runs:
Expand Down
Binary file modified test_files/Specimen_Example.xlsx
Binary file not shown.
Binary file modified test_files/Subject_Example.xlsx
Binary file not shown.

0 comments on commit 2d1dba6

Please sign in to comment.