Skip to content

Commit

Permalink
empty df
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipbear committed Sep 5, 2024
1 parent 9f5f82f commit 5ce9b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/create_library/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def create_library(compound_df, feature_df,
# Merge the compound and feature tables
df = merge_compound_feature_tables(compound_df, feature_df)

if not df:
if df is None or df.empty:
return None, None

if filter_library:
Expand Down
2 changes: 1 addition & 1 deletion workflowinput.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
workflowname: reverse_metabolomics_create_library_workflow
workflowdescription: This is to create MS/MS libraries using reverse metabolomics.
workflowlongdescription: This is the workflow to create a tsv library from a set of mzML files and compound csv files. The tsv file is ready to be uploaded to GNPS library.
workflowversion: "2024.09.04"
workflowversion: "2024.09.05"
workflowfile: nf_workflow.nf
workflowautohide: false
adminonly: false
Expand Down

0 comments on commit 5ce9b58

Please sign in to comment.