Skip to content

Commit

Permalink
safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mdavid-m committed May 29, 2024
1 parent d62bb02 commit 644f4a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/FileUpload.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def parseUploadedFiles():

for tsv_file in new_tsv_files:
df = pd.read_csv(Path(st.session_state.workspace, tool, "tsv-files", tsv_file), sep='\t')
if 'TargetDecoyType' not in df.columns:
continue
st.session_state['parsed_tsv_files'][tsv_file] = df

def showUploadedFilesTable() -> bool:
Expand Down

0 comments on commit 644f4a9

Please sign in to comment.