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

Modified the R/L/C sort to try to make sense of the multiplier #82

Merged
merged 1 commit into from
Jul 19, 2020

Conversation

set-soft
Copy link
Contributor

It helps to get 5 pF before 1 nF

@SchrodingersGat
Copy link
Owner

Please fix conflicts here

@set-soft
Copy link
Contributor Author

Done, now is referenced to your HEAD commit.

set-soft added a commit to INTI-CMNB/KiBoM that referenced this pull request Jul 18, 2020
- **Pull-request**: [SchrodingersGat#82](SchrodingersGat#82)
- **Opened**: 2020-03-18
- **Status**: Open
- **Branch**: column_rename

-## Description

Column names displayed in the table head are the names of the KiCad fields or the internal names used by KiBoM.
Sometimes the names aren't pretty. As an example is common to use `manf#` for the part name used by the component manufacturer.
Using long names for KiCad fields is a bad idea.

This patch allows to rename the columns names so you can use pretty names in the headings.

You must define a `COLUMN_RENAME` section in the configuration file.
Then add entries with the name of the original field and the name you want, separated by a tab (ASCII 9).
Here is an example:

```
[COLUMN_RENAME]
manf#	Manufacturer part number
```

Note that you must use a tab as separator. Using a space won't work because *Manufacturer part number* also has spaces.

-## Limitations

The separator must be a tab.

-## Additional notes

- This patch also makes the `prefs.ignore` list lowercase.
  This is to avoid converting it to lower case all the time.
- `prefs.colRename` is a hash. I saw that various preference options should also be a *dict* instead of a *list*.
@SchrodingersGat
Copy link
Owner

Thanks!

@SchrodingersGat SchrodingersGat merged commit 34cd343 into SchrodingersGat:master Jul 19, 2020
set-soft added a commit to INTI-CMNB/KiBoM that referenced this pull request May 24, 2021
- **Pull-request**: [SchrodingersGat#82](SchrodingersGat#82)
- **Opened**: 2020-03-18
- **Status**: Open
- **Branch**: column_rename

-## Description

Column names displayed in the table head are the names of the KiCad fields or the internal names used by KiBoM.
Sometimes the names aren't pretty. As an example is common to use `manf#` for the part name used by the component manufacturer.
Using long names for KiCad fields is a bad idea.

This patch allows to rename the columns names so you can use pretty names in the headings.

You must define a `COLUMN_RENAME` section in the configuration file.
Then add entries with the name of the original field and the name you want, separated by a tab (ASCII 9).
Here is an example:

```
[COLUMN_RENAME]
manf#	Manufacturer part number
```

Note that you must use a tab as separator. Using a space won't work because *Manufacturer part number* also has spaces.

-## Limitations

The separator must be a tab.

-## Additional notes

- This patch also makes the `prefs.ignore` list lowercase.
  This is to avoid converting it to lower case all the time.
- `prefs.colRename` is a hash. I saw that various preference options should also be a *dict* instead of a *list*.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants