1 Commits

Author SHA1 Message Date
FilippoOlivo
b00e65d872 fix collect_data 2025-11-18 17:08:22 +01:00
6 changed files with 8 additions and 4 deletions

View File

@@ -7,8 +7,8 @@ SPDX-License-Identifier: Apache-2.0
<table> <table>
<tr> <tr>
<td> <td>
<a href="readme/pina_logo.png"> <a href="https://github.com/mathLab/PINA/raw/master/readme/pina_logo.png">
<img src="readme/pina_logo.png" <img src="https://github.com/mathLab/PINA/raw/master/readme/pina_logo.png"
alt="PINA logo" alt="PINA logo"
style="width: 220px; aspect-ratio: 1 / 1; object-fit: contain;"> style="width: 220px; aspect-ratio: 1 / 1; object-fit: contain;">
</a> </a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 KiB

After

Width:  |  Height:  |  Size: 177 KiB

View File

@@ -337,6 +337,10 @@ class AbstractProblem(metaclass=ABCMeta):
# If the condition does not have a domain attribute, store # If the condition does not have a domain attribute, store
# the input and target points # the input and target points
keys = condition.__slots__ keys = condition.__slots__
values = [getattr(condition, name) for name in keys] values = [
getattr(condition, name)
for name in keys
if getattr(condition, name) is not None
]
data[condition_name] = dict(zip(keys, values)) data[condition_name] = dict(zip(keys, values))
self._collected_data = data self._collected_data = data

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "pina-mathlab" name = "pina-mathlab"
version = "0.2.5" version = "0.2.4"
description = "Physic Informed Neural networks for Advance modeling." description = "Physic Informed Neural networks for Advance modeling."
readme = "README.md" readme = "README.md"
authors = [ authors = [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 KiB

After

Width:  |  Height:  |  Size: 51 KiB