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

[feature] Support cable type rev2 #54

Merged
merged 4 commits into from
Jul 2, 2020
Merged

Conversation

kvid
Copy link
Collaborator

@kvid kvid commented Jul 2, 2020

New implementation of #28

kvid added 4 commits July 1, 2020 22:47
Avoid duplications of BOM entry grouping definitions by moving
each grouping into a single lambda function.

Use the 'group' term in the involved variable names for clarity.

The BOM output is unchanged by this change. It is verified using:
  python build_examples.py
  git diff ../../{examples,tutorial}/*.tsv
Simplify the grouping loop slightly, by moving the filtering out.

The category of bundle entries is allways the same and is therefore
not needed for grouping.

The BOM output is unchanged by this change. It is verified using:
      python build_examples.py
      git diff ../../{examples,tutorial}/*.tsv
Add cable type to diagram and BOM entries.
@kvid
Copy link
Collaborator Author

kvid commented Jul 2, 2020

See #28

@17o2 17o2 merged commit 77bf398 into wireviz:dev Jul 2, 2020
@17o2
Copy link
Collaborator

17o2 commented Jul 2, 2020

Thanks so much

@kvid
Copy link
Collaborator Author

kvid commented Jul 2, 2020

Thank you for for accepting my contribution now, and doing the merger with #11. I am on vacation now and cannot put in so much effort this week. I was thinking cable type values could be, e.g. Cat5e cable or PN wire, but did not find a matching example. However, that can be changed later.

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