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

Better codec for relations files #99

Closed
goodmami opened this issue Apr 3, 2017 · 0 comments
Closed

Better codec for relations files #99

goodmami opened this issue Apr 3, 2017 · 0 comments
Milestone

Comments

@goodmami
Copy link
Member

goodmami commented Apr 3, 2017

Relations files are yet another micro-format in use in DELPH-IN software, but PyDelphin only reads them. The ability to write them would also be useful at times. Also, the ability to read/write them from/to strings rather than files would be nice. E.g.

relations = itsdb.Relations('''
item:
  i-id :integer :key
  ...
''')
relations.write(filename)
@goodmami goodmami added this to the v0.7.0 milestone Apr 3, 2017
goodmami added a commit that referenced this issue Apr 19, 2018
Update Relations class so table relations are encapuslated with a
TableRelations class.

New elements still need docstrings and unit tests.

Addresses #89
Addresses #99
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

No branches or pull requests

1 participant