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

🚸 Make specialCasings [more] comprehensive #95

Open
3 tasks
shnizzedy opened this issue Jul 28, 2021 · 0 comments
Open
3 tasks

🚸 Make specialCasings [more] comprehensive #95

shnizzedy opened this issue Jul 28, 2021 · 0 comments
Labels

Comments

@shnizzedy
Copy link
Member

shnizzedy commented Jul 28, 2021

Related problem
Related to #66, #76

Proposed feature

  • go through all the keys in default_pipeline.yml and add any exceptions not yet covered to the specialCasings dictionary
  • rename the variable specialCasings
  • add a step to developer documentation to add to this dictionary if adding/changing a key that won't already be handled correctly

Additional context
The labels in the GUI are derived from the keys in default_pipeline.yml by replacing _s with spaces and Title-Casing each word not in

const keepLower = ["at", "of", "per", "to"] // words to not capitalize

As I was working on #76, I made a dictionary of exceptions to expand differently:

const specialCasings = {
afni: "AFNI",
ants: "ANTs",
freesurfer: "FreeSurfer",
fsl: "FSL",
acpc: "ACPC",
aroma: "AROMA",
bet: "BET",
dir: "Directory",
epi: "EPI",
nlmf: "NLMF",
roi: "Region of Interest",
tse: "Timeseries Extraction",
}; // words with special casing or adjusted spelling

but I was not at all comprehensive. I just added items to that list as I noticed miscapitalized (at first just that, hence the name specialCasings) or ambiguous labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant