Conversation
|
Hi @soumide1102 - we need to change "return start_img, end_img, Dt, self.channel_map" to "return start_img, self.channel_map, end_img, self.channel_map, Dt" to align with what @hickmank wants the method to return, i.e., it should pass the t=t_0 array, the t=t_0 map, the t=t_1 array, the t=t_1 map, and Dt. |
bekaiser-LANL
left a comment
There was a problem hiding this comment.
need to change "return start_img, end_img, Dt, self.channel_map" to "return start_img, self.channel_map, end_img, self.channel_map, Dt" to align with what hickmank wants the method to return, i.e., it should pass the t=t_0 array, the t=t_0 map, the t=t_1 array, the t=t_1 map, and Dt. Also, the sequential_Dataset does not accommodate for changing channel maps as the sequence progresses. I think that's ok, we can do that later (if we ever need to)
hickmank
left a comment
There was a problem hiding this comment.
I don't think this will pass our linting right now. If you need help running that locally let me know.
- The positions need to be passed through meshgrid so they are 2D arrays like the rest of the channels.
- You need a 2D-array defining the detonator positions as a channel
- If there are two parts with the same material those fields need to be added together into a single channel. Can you point me to this logic in this PR.
- You need tests written for these new classes and functions.
|
Hi @soumide1102 , |
|
@bekaiser-LANL @soumide1102 Looks like the dataset file needs to be linted. But, this PR is also changing a LOT of files. I think something is strange about how your branches are being merged. Can you take a look at it? |
|
yeah, I'm trying to get rid of the extra commits. Looks like Bryan's copy of this branch picked up these already merged commits somehow. |
8e442ef to
91bf3e4
Compare
|
@soumide1102 @bekaiser-LANL This looks great. Functionally, very good. You just need to get it through the linter and write tests. |
__getitem__ method of temporal_Dataset returns the correct variables Signed-off-by: Bryan Kaiser <94638081+bekaiser-LANL@users.noreply.github.com>
1c8e8cc to
8ef99c6
Compare
…set script where all ruff checks pass locally
|
@soumide1102 @bekaiser-LANL let's get this merged in. Let me know what you need help with. |
|
@hickmank I'll push the tests in a few minutes. Just fixing the last linting complaints for the tests. |
|
@hickmank @bekaiser-LANL I've pushed tests for the npz dataloader. If you're fine with the additions, we can merge this. |
hickmank
left a comment
There was a problem hiding this comment.
Looks good to me! Yay!
|
@bekaiser-LANL you need to re-review to unblock the merge. Assuming you're okay with the present state being merged. |
|
@bekaiser-LANL re-review please so we can merge this! |
@hickmank this should be ready for your review.
Don't know if Bryan can look at this PR as I am not being able to add him as a reviewer. Maybe he can see this once he's added to lanl github?