Ignition Delay Time Error

21 views
Skip to first unread message

Dudley Moore

unread,
Aug 31, 2022, 9:03:43 AM8/31/22
to Cantera Users' Group
Hello,

I'm trying to run the python code used in the attached Juypter Notebook example, it runs seamlessly in Juypter Notebook, but I get an error when running in Spyder. How can I remedy this issue?


Error:
self._output_dummy = self._states[..., 0]

TypeError: list indices must be integers or slices, not tuple

Your help would be greatly appreciated!

Best Regards,
Dudley

Steven DeCaluwe

unread,
Aug 31, 2022, 10:05:54 AM8/31/22
to canter...@googlegroups.com
Hi Dudley,

1. Can you tell us which version of Cantera you are running, and how you installed it?

2. Is that the full error message? It seems like there is probably more into, since “ self._output_dummy = self._states[..., 0]” does not appear anywhere directly in the sample script. 

Best,
Steven

Sent from my iPhone

On Aug 31, 2022, at 7:06 AM, Dudley Moore <dudley...@gmail.com> wrote:

Hello,
--
You received this message because you are subscribed to the Google Groups "Cantera Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cantera-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cantera-users/72f8523d-8390-4071-aaa9-eadf570206e8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages