FireDynamics / FireDynamics/LectureFireSimulation

The python code examples in section 3.1 don't work.

Offen
#96 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
33
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When executing python code, an error message is displayed in section 3.1.:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_3356/82368212.py in
16 to_del.append(s.mesh)
17 for m in to_del:
---> 18 del slice._subslices[m]
19
20 extent = (slice.extent[0][0], slice.extent[0][1],

TypeError: unhashable type: 'Mesh'

Version: fdsreader1.9.1 , FDS 6.7.5

I ask you to update the python code in section 3.1.

I'm new to the fdsreader library

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Open the code examples in section 3.1 and reproduce the reported TypeError at the line deleting from slice._subslices, using fdsreader 1.9.1 and FDS 6.7.5. Trace the example's use of the fdsreader objects and update the section so the examples execute successfully without this error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
documentation
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.