Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal] [Bug] "DataFrame columns are not unique" in BioSample #230

Open
1 task done
jessicarowell opened this issue Dec 11, 2024 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jessicarowell
Copy link
Collaborator

tostadas/bin/submission_new.py:380: UserWarning: DataFrame columns are not unique, some columns will be omitted.
return self.metadata_df[available_columns].to_dict(orient='records')[0] if available_columns else {}
Submission requested for genbank,biosample,sra

Probably just need to add a check for duplicates, but also make sure template doesn't have duplicates. If dupe cols, check if values are same and if not, exit with error.

Place an ❌ in a Box that Best Matches the Bug's Importance:

  • [] 1 - Most severe (a full-break in core function)
  • [] 2-4 - Moderate (break for a particular aspect/feature) (how integral is the broken feature?)
  • 5 - Least severe (non-functional issue, such as inconsitency / error in documentation or administrative in nature) 

Please Complete the Following Information:

  • OS: [e.g. iOS]:
  • Browser [e.g. chrome, safari]:
  • Version [e.g. 22]:
  • Run environment (container, cloud service, HPC, platform, etc.):

nextflow run main.nf -profile test,singularity --species rsv --annotation false --submission true --output_dir test_rsv --submission_config /scicomp/home-pure/ick4/02.scratch/submission_config.yaml --meta_path ~/02.scratch/custom_test_metadata.xlsx --custom_fields_file ~/02.scratch/metadata_custom_fields.json

Any Additional Context or Information? Has There Been Any Progress Made So Far Towards this Request? Any Concrete Instructions to Resolve the Bug or Helpful Resources to Reference? Screenshots or Logs?

@jessicarowell jessicarowell added the bug Something isn't working label Dec 11, 2024
@jessicarowell jessicarowell added this to the v4.1.0 milestone Dec 11, 2024
@jessicarowell jessicarowell self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant