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

Create general Excel/csv -> yaml conversion script #17

Open
BoergeSt opened this issue Jul 3, 2022 · 0 comments
Open

Create general Excel/csv -> yaml conversion script #17

BoergeSt opened this issue Jul 3, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@BoergeSt
Copy link
Member

BoergeSt commented Jul 3, 2022

for large projects, the config.yaml file can become quite large und confusing. Therefore we used a simple convertion script in the past in order to convert excel or csv files into config.yaml files. While this worked very well, it is annoying to write such a script for every project. Therefore we came up with the following csv format:

A header Line:
| <Type 1> | Name | <property 1-1> | <property 1-2> | .... | <property 1-N> | | | <Type 2> | Name | <property 2-1> | <property 2-2> | .... | <property 2-N> |
multiple node description lines, read from left to right. If name is identical, the node is reused, if a property isn't given, and the node has not been initiated yet, leave the property out.

At Least One Space
Same as above => New Header and new node description lines,

Repeat!

@BoergeSt BoergeSt added the enhancement New feature or request label Jul 3, 2022
@BoergeSt BoergeSt added this to the Release v1.1 milestone Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant