Is this a bug?
@brmather @lauren-ilano @jcannon-gplates See the code below. The 'continue' statement will skip the current loop iteration. The current point will not be reconstructed. But according to the comments, it should be reconstructed. https://github.com/GPlates/gplately/blob/f49b31695882df362fda45f7ad7fcc5bf5c7d68e/gplately/reconstruction.py#L2563-L2570
Yeah I think that's a bug. Good spot! I think that's been in there since the beginning. Removing continue should fix it, I think.
On a related note, as mentioned in #101, at some stage all that code can get replaced (since it's now in pyGPlates). For example, I recently did a similar thing for the Predicting Sediment Thickness workflow by changing this to this.
Yeah I think that's a bug. Good spot! I think that's been in there since the beginning. Removing
continueshould fix it, I think.On a related note, as mentioned in #101, at some stage all that code can get replaced (since it's now in pyGPlates). For example, I recently did a similar thing for the Predicting Sediment Thickness workflow by changing this to this.
Thanks John.
I will remove the "continue" and do some tests.
fixed in e7112cac760e3317e312d6c89a30392f61c8fee7