Bug - Metric.Values - duplicate column names
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start with the code around line 662 in the Metric.Values implementation, where names are converted to upper case, and trace how duplicate column names reach the error. Reproduce the issue with both mixed-case and uppercase versions of Index_Name or Index_Class. Done means the duplicate is detected and a warning is issued before the error, with a soft exit.
Written by the indexing model from the issue text.
Description
Describe the bug
Need a check for duplicate column names.
If have "Index_Name" and/or "Index_Class" along with upper case versions (INDEX_NAME and/or INDEX_CLASS) will get an error.
Due to the code converting all names to upper case.
Fails on line 662.
To Reproduce
Steps to reproduce the behavior:
Add duplicate names and run code.
See screen shot.
Expected behavior
Should get a warning and soft exit prior to (unknown to user) error.
Screenshots
Additional context
Add any other context about the problem here.
- Dominant language
- R
- Stars
- 15
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from leppott/BioMonTools
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
leppott/BioMonTools#162 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
leppott/BioMonTools#156 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
leppott/BioMonTools#160 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
leppott/BioMonTools#158 ·
-
More TolVal fieldsOpen
Difficulty 4/5 3-5 days Newbie friendliness 43/100
leppott/BioMonTools#146 · 2 comments ·
All issues in leppott/BioMonTools
Similar issues
-
publications
Difficulty 1/5 Under an hour Newbie friendliness 85/100
epiforecasts/epiforecasts.github.io#161 ·
Maintainers usually reply within 1 day
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlightingPossibly taken @michaelmayer2 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microbiome/OMA#1031 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ThinkR-open/golem#1265 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
furrer-lab/abn#291 · 2 comments ·