-
Notifications
You must be signed in to change notification settings - Fork 184
Fix readCAPYTAINE #884
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
Fix readCAPYTAINE #884
Conversation
|
@akeeste I tried running the Capytaine with the example cases as well as the demo cases, and all of them came out with the "new" format. Were you using Capytaine 1.3 when you tried it? |
|
@jtgrasb Yes I used Capytaine v1.3 with the demo.py file as is. However I still don't see any changes to how the body name or real/imaginary indices format in Adam |
|
@akeeste This is strange. I have checked a lot of potential sources for this error, but can't seem to figure it out.
Let me know if you have any ideas where these error might be coming from. Thanks, |
|
@jtgrasb Thanks for the update. I'm not sure where our workflows are differing or why R2021b and R2020b give different errors. At the next team meeting let's assign a couple different developers to try and recreate this issue and pin down what is happening. |
Nothing changed in these modules of Capytaine for years. I expect the change to come from either Maybe the "old" format could be reproduced using a conda environment with an old version of |
|
@akeeste and @jtgrasb I can confirm this issue with the body name. I just reran the OSWEC case in Capytaine v1.4, and ran BEMIO in 2022a. I got the following error: Error using split
First argument must be text.
Error in readCAPYTAINE (line 91)
hydro(F).body = split(hydro(F).body,'+');
Error in bemio (line 4)
hydro = readCAPYTAINE(hydro,'oswec.nc');@mancellin's suggestion that these issues could be due to a change in one of the Capytaine dependencies, like |

This PR addresses issue #875. The issue has 2 parts: