FireDynamics / FireDynamics/LectureFireSimulation

fdsreader Module, DEVC data and meta information

オープン
#50 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
33
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

In the section [fdsreader Module](https://github.com/FireDynamics/LectureFireSimulation/blob/8b1f6f71e2891dc4e33020b688bae29c7c807863/book/content/tools/03_analysis/02_fdsreader.ipynb), I get the following error message with fdsreader `1.2.1`

```python
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
1 for i in devc:
----> 2 print(f"ID: {devc[i].id},\t quantity: {devc[i].quantity.quantity},\t position: {devc[i].position}")

AttributeError: 'Quantity' object has no attribute 'quantity'
```

for

```python
for i in devc:
print(f"ID: {devc[i].id},\t quantity: {devc[i].quantity.quantity},\t position: {devc[i].position}")
```

Shouldn't it be?
```python
for i in devc:
print(f"ID: {devc[i].id},\t quantity: {devc[i].quantity.name},\t position: {devc[i].position}")
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

book/content/tools/03_analysis/02_fdsreader.ipynb を開き、fdsreader Module セクションを確認します。示されている DEVC ループを fdsreader 1.2.1 で実行して AttributeError を再現し、その後、修正されたメタデータ式によってエラーなしで意図した quantity 情報が生成されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。