-
Notifications
You must be signed in to change notification settings - Fork 4
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
Bug at "--period" option #17
Comments
We fixed the bug and tested it. Please try the new docker image.
--
Yu S. Huang
http://www.yfish.org/
https://sites.google.com/site/polyactis/
…On Tue, Mar 1, 2022 at 10:12 AM asangphukieo ***@***.***> wrote:
Hi,
I tried the new mode "--period" option and found small bug in the main.py
script at line 540.
It shows "period" parameter not defind.
To fix this, I just removed Line 540-543, and the script works!
if (ap.period < 0):
msg = (f"Argument period is non-negative integer-value, but you have "
f"specified {ap.period}. O will be used instead.")
sys.stderr.write(msg)
Thank you for your nice tool.
Apiwat
—
Reply to this email directly, view it on GitHub
<#17>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF7C2IQWAIQQKPVUP72VN3U5V4KVANCNFSM5PSXCLGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Also let us know how different the period estimated is from the one from
imaging/expert-viewing.
…On Wed, Mar 2, 2022 at 7:58 PM Yu Huang ***@***.***> wrote:
We fixed the bug and tested it. Please try the new docker image.
--
Yu S. Huang
http://www.yfish.org/
https://sites.google.com/site/polyactis/
On Tue, Mar 1, 2022 at 10:12 AM asangphukieo ***@***.***>
wrote:
> Hi,
> I tried the new mode "--period" option and found small bug in the main.py
> script at line 540.
> It shows "period" parameter not defind.
> To fix this, I just removed Line 540-543, and the script works!
>
> if (ap.period < 0):
> msg = (f"Argument period is non-negative integer-value, but you have "
> f"specified {ap.period}. O will be used instead.")
> sys.stderr.write(msg)
>
> Thank you for your nice tool.
> Apiwat
>
> —
> Reply to this email directly, view it on GitHub
> <#17>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAF7C2IQWAIQQKPVUP72VN3U5V4KVANCNFSM5PSXCLGQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Your hack worked but the parameter wasn't passed down to the C++ program
"infer". I recommend you pull the image and run it again. :)
…On Tue, Mar 1, 2022 at 10:12 AM asangphukieo ***@***.***> wrote:
Hi,
I tried the new mode "--period" option and found small bug in the main.py
script at line 540.
It shows "period" parameter not defind.
To fix this, I just removed Line 540-543, and the script works!
if (ap.period < 0):
msg = (f"Argument period is non-negative integer-value, but you have "
f"specified {ap.period}. O will be used instead.")
sys.stderr.write(msg)
Thank you for your nice tool.
Apiwat
—
Reply to this email directly, view it on GitHub
<#17>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF7C2IQWAIQQKPVUP72VN3U5V4KVANCNFSM5PSXCLGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Ohh, tank you very much |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I tried the new mode "--period" option and found small bug in the main.py script at line 540.
It shows "period" parameter not defind.
To fix this, I just removed Line 540-543, and the script works!
if (ap.period < 0):
msg = (f"Argument
period
is non-negative integer-value, but you have "f"specified {ap.period}. O will be used instead.")
sys.stderr.write(msg)
Thank you for your nice tool.
Apiwat
The text was updated successfully, but these errors were encountered: