You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The fileName local variable in MagneticFieldWMM::initializeWmm is a fixed length char array. When basilisk is located in a folder tree depth whith a path string length of great than the fixed 100 characters, the module fails to find the WMM.COF because the path is malformed (cut off).
To Reproduce
Steps to reproduce the behavior:
Install basilisk in a directory structure where the path to the WMM.COF file is more than 100 characters in length.
Build and run all tests and those using MagneticFieldWMM will fail.
Expected behavior
The module to find WMM.COF regardless of location of basilisk on the OS. Tests to pass
Desktop (please complete the following information):
OS: Macos
Version 12.6.1
Python version 3.9.15
Additional context
I realize that any solution might not sufficiently account for the OS limits on path length. That's a much deeper and more nuanced topic.
The text was updated successfully, but these errors were encountered:
Describe the bug
The fileName local variable in
MagneticFieldWMM::initializeWmm
is a fixed length char array. When basilisk is located in a folder tree depth whith a path string length of great than the fixed 100 characters, the module fails to find the WMM.COF because the path is malformed (cut off).To Reproduce
Steps to reproduce the behavior:
MagneticFieldWMM
will fail.Expected behavior
The module to find WMM.COF regardless of location of basilisk on the OS. Tests to pass
Desktop (please complete the following information):
Additional context
I realize that any solution might not sufficiently account for the OS limits on path length. That's a much deeper and more nuanced topic.
The text was updated successfully, but these errors were encountered: