-
Notifications
You must be signed in to change notification settings - Fork 72
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
For MEDIA_ASGN_F2H where mua/mus are nan ensure that the provided g/n… #224
For MEDIA_ASGN_F2H where mua/mus are nan ensure that the provided g/n… #224
Conversation
… values are nontheless read
With 80b5794 I see very different behaviour in the MEDIA_ASGN_F2H case with boundary padding. I think this is because
Lines 3526 to 3532 in 80b5794
Lines 3534 to 3539 in 80b5794
So I think the g/n values are now being read, but the boundary mua/mus values are now nan instead of 0 |
sorry for taking a while to get back to this - let me know if the above commit fixes the issue. |
Thanks! With this commit the behaviour is the same as #224 - the https://gist.github.com/lkeegan/ee77309c2b48883278fd9716c95d1c34 And there are also many error messages of the form:
(see #225, https://groups.google.com/g/mcx-users/c/bToGluYYdao/m/5XGk9jeHAAAJ) |
ok, let me do more test on this. |
I was wondering if there are any updates on this. |
@lkeegan and @kdreher, sorry for my late response. I could not find the files
with the above script, I was able to get non-empty dref, see screenshot below - can you reproduce this in your environments (mcx binary+python)? |
closing for now as the issue can no longer be reproduced. feel free to reopen if the problem persists. |
Thanks, I'll try to reproduce your example script with python+mcx. To reproduce the original reported issue, here is a zipfile with vol_bg.bin and vol_bg.json: And the command line args for mcx:
Running the above results in no reflectance data and many error messages of the form:
If I set Many thanks for your help! |
… values are nontheless read
Check List
Before you submit your pull-request, please verify and check all below items
make pretty
(requiresastyle
in the command line) under thesrc/
folder and formatted your C/C++/CUDA source codes before every commit; similarly, you should runpython3 -m black *.py
(pip install black
first) to reformat all modified Python codes, or runmh_style --fix .
(pip install miss-hit
first) at the top-folder to format all MATLAB scripts.doxygen
C formatIf your commits included in this PR contain changes that did not follow the above guidelines, you are strongly recommended to create a clean patch using
git rebase
andgit cherry-pick
to prevent in-compliant history from appearing in the upstream code.Moreover, you are highly recommended to
mcx/test/testmcx.sh
script, following existing examples, to test the newly added feature; or add a MATLAB script undermcxlab/examples
to gives examples of the desired outputsPlease copy/paste the corresponding Issue's URL after the below dash