Fri, 09/01/2023 - 11:23
Sometimes when I work with the WWZ analysis it gives me an error, which says "java.lang.IllegalArgumentException: A positive range length is required" then it says the range is from the value I set to the minimum frequency, to the value I set to the minimum frequency (so the same value), even though I set different values for the minimum and maximum. I can't figure out what causes the error, I've tried changing each of the inputs individually to see what causes it and I'm still not sure. Can anyone explain what the source of this issue is?
To reproduce this, we need a few things:
This may relate to a known bug or it could be something we don't know about.
Thanks.
David
Sorry for the late response. Attached is the data file:
/sites/default/files/users/user69044/LS-Her_maxes.txt
For the series I just selected "unspecified".
I am only analyzing the data before day 2010 though, as the data afterwards has a large gap, so I created a simple filter and selected "filtered" for the analysis.
The parameters are:
min = 0.055
max = 0.065
step = 0.00001
decay = 0.01
time divisions = 50
I tried changing some of the parameters in different ways and still got the same error. If you're able to find the source of the error, please let me know.
Thank you
I've just created the GitHub issue for this: https://github.com/AAVSO/VStar/issues/390 including steps to repeat and some observations about what happens and when it doesn't happen.
I've also committed a fix to the code that is under review.
David