-
Notifications
You must be signed in to change notification settings - Fork 12
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
Testing for variables #19
Comments
Thanks for creating the issue! |
Version 1.4.0-beta1 published on nuget.org contains this change. Feel free to test it. |
Great, working for me! |
It would be very usefull to have the same interface for IStructureArray - currently you need to iterate over the FieldNames property. Exposing the TryGet method of the underlying Dictionary would help. |
There doesn't seem to be an easy way to check if a variable exists in a given file, and unfortunately the
IMatFile
indexer throws an exception when a variable does not exist. It would be useful to have a more tolerant way to access variables, such as one of the following:IMatFile[string]
returnnull
if variable does not existIMatFile.TryGetVariable(string, out IVariable)
methodIReadOnlyDictionary<string, IVariable>
The text was updated successfully, but these errors were encountered: