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
Add mesh reader test for trusses #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues discussed in chat must be addressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
et22sfse.inp file is copyrighted by Dassault Systems, file needs to be fetch from external location
Function can be used to download test models from internet. In order to use function, one must set environment variable ABAQUS_DOWNLOAD_URL.
We are not sure if it is ok to add that test file into the repository, it probably is copyrighted by Dassault. I implemented a new function Could you do the following changes:
If you want to do local testing, you must do something like Also, consider squashing changes to keep version history clean. This also prevents the file |
Looks that my test is breaking further tests. I have to fix it. |
First of all, apologies for not looking at the terms and conditions. |
Return environment variables to the original state after finish test.
It was another test messing up environment variables and not returning the original state. If you now rebase again for newest master this should work. |
If I run it locally after setting the env. variable, including the reader and including runtests.jl, it seems to succeed. But if do an include("runtests.jl") again, it fails on my machine |
New argument introduced, env=ENV.
One more time, rebase for the newest master. |
Do I need to protect the test by checking for an empty string returned from abaqus_download? |
Well the test probably should work, if branch is under JuliaFEM/AbaqusReader.jl, let see what happens when I opened a new PR based on this change. PR #32. |
So that worked. But it is unfortunate that the forks don't build. |
Ok this is now merged in PR #32. |
Yes, but there is a good reason why environment variables are not set for pull requests coming outside of the organization. Someone could do something like |
The mesh part is now read. Need to do the model part later, keyword density isn't recognized yet