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

Indexing #8

Closed
sekineh opened this issue Jul 17, 2020 · 2 comments
Closed

Indexing #8

sekineh opened this issue Jul 17, 2020 · 2 comments

Comments

@sekineh
Copy link
Owner

sekineh commented Jul 17, 2020

No description provided.

@sekineh
Copy link
Owner Author

sekineh commented Jul 17, 2020

__getitem__(self, key) is implemented in 8483b4a

@sekineh
Copy link
Owner Author

sekineh commented Jul 17, 2020

Now basic indexing works (read only).

As shown in README:

import ffptutils
pt = ffptutils.load('test/2.ffpt')

assert pt['param1'] == 'some value'
assert pt['param2'] == True
assert pt['param3'] == False
assert pt['param5'] == 24
assert pt['param6'] == 1.0
assert pt['param7/param1'] == 'hoge'
assert pt['param7/param2/param1'] == 'fuga'

@sekineh sekineh closed this as completed Jul 17, 2020
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