Barrold
Barrold
SSolara
Created by Barrold on 7/31/2023 in #general
The timer thread is an infinte loop That
Actually, I just looked at the example you posted this morning (8:39 CST). I'm surprised that DataDashboard re-executes when counter.value is passed. Value passing didn't work for me!
18 replies
SSolara
Created by Barrold on 7/31/2023 in #general
The timer thread is an infinte loop That
That was at like line 13. In the code below, dateTime is just a datetime object. I have to learn to think more like a compiler! @solara.component def updateGlobe(dateTime, COLZ, localTimeZone, localLat, localLong): x=dateTime for cob in CC.Celestial(localTimeZone, localLat, localLong).iterrows(): ...
18 replies
SSolara
Created by Barrold on 7/31/2023 in #general
The timer thread is an infinte loop That
The problem was that I was passing passing the value and not the reaction object itself. The state updating is working well for all the display objects. Thanks for your help! Now most of what I have to deal with is formatting.
18 replies
SSolara
Created by Barrold on 7/31/2023 in #general
The timer thread is an infinte loop That
I'll see what I can do. Can you point me to a solara example of timer-driven component updates? Have a great vacation!
18 replies
SSolara
Created by Barrold on 7/31/2023 in #general
The timer thread is an infinte loop That
Btw, here's the streamlit version of the app: https://celestialcompanion.streamlit.app/
18 replies
SSolara
Created by Barrold on 7/31/2023 in #general
The timer thread is an infinte loop That
OK. This is all the solara-specifc code. If you want to see it, I can paste the file imported as CC as well.
18 replies