pyfemtet 1.0.3__py3-none-any.whl → 1.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyfemtet might be problematic. Click here for more details.

@@ -9,6 +9,16 @@ if platform.system() == 'Windows':
9
9
  from ._excel_interface import ExcelInterface
10
10
  from ._with_excel_settings import *
11
11
  from ._with_excel_settings import __all__ as _with_excel_settings__all__
12
+ else:
13
+ class DummyInterface:
14
+ def __init__(self, args, kwargs):
15
+ raise RuntimeError(f'{type(self).__name__} is only for Windows OS.')
16
+
17
+ class FemtetInterface(DummyInterface, AbstractFEMInterface): pass
18
+ class FemtetWithNXInterface(DummyInterface, AbstractFEMInterface): pass
19
+ class FemtetWithSolidworksInterface(DummyInterface, AbstractFEMInterface): pass
20
+ class ExcelInterface(DummyInterface, AbstractFEMInterface): pass
21
+
12
22
 
13
23
  from ._surrogate_model_interface import AbstractSurrogateModelInterfaceBase
14
24
  from ._surrogate_model_interface import BoTorchInterface
@@ -27,4 +37,5 @@ __all__ = [
27
37
  'PoFBoTorchInterface',
28
38
  ]
29
39
 
30
- __all__.extend(_with_excel_settings__all__)
40
+ if platform.system() == 'Windows':
41
+ __all__.extend(_with_excel_settings__all__)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyfemtet
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Design parameter optimization using Femtet.
5
5
  License: MIT
6
6
  Author: kazuma.naito
@@ -34,7 +34,7 @@ pyfemtet/opt/history/__init__.py,sha256=pUp3SO4R7RGzmpNDLBg_pQH0X2yzBd-oqsHXWmB3
34
34
  pyfemtet/opt/history/_history.py,sha256=_8cVEbAwj1C2El8dJ_eDVcFgN_IVPyGXVG28LH0OtMw,49263
35
35
  pyfemtet/opt/history/_hypervolume.py,sha256=_IvGH71ZNreWvDQCG815Q2hS1OEvPFPQhUnNXf1UxRQ,4449
36
36
  pyfemtet/opt/history/_optimality.py,sha256=6vLySZmrrklr04Qir0hGethTykf8NYFod88NDGrBrG0,2407
37
- pyfemtet/opt/interface/__init__.py,sha256=D88d0yj-pQNvDij4HI2BG3OPXP5tvc5ZOomd_Jp4UE0,964
37
+ pyfemtet/opt/interface/__init__.py,sha256=wiVSUlzLF_6gFXBw0T_JOKOOg5l5SJ24-HfaYWp7E0Y,1459
38
38
  pyfemtet/opt/interface/_base_interface.py,sha256=oz2PeEQHWD59xkRWFau3CpPpR8a_3NZjoY7YyYSr1sM,6464
39
39
  pyfemtet/opt/interface/_excel_interface/__init__.py,sha256=bFOmY18-j4RJc_dHQMe62GsxFwQSj7RWdvi6jxWuqyg,74
40
40
  pyfemtet/opt/interface/_excel_interface/debug-excel-interface.xlsm,sha256=TM1CEOC5XtU7qYKNnHScO02kdtXT-gc5y29m2hatsm0,114259
@@ -164,9 +164,9 @@ pyfemtet/opt/visualization/plotter/main_figure_creator.py,sha256=9RXz6Wt52MiSz3H
164
164
  pyfemtet/opt/visualization/plotter/pm_graph_creator.py,sha256=hUvvYeckMhkE1nH0FAOkXrA5K3A8PbfpxKYaYnBllB4,10864
165
165
  pyfemtet/opt/wat_ex14_parametric_jp.femprj,sha256=dMwQMt6yok_PbZLyxPYdmg5wJQwgQDZ4RhS76zdGLGk,177944
166
166
  pyfemtet/opt/worker_status.py,sha256=xSVW9lcw5jzYBwnmlVzk-1zCCyvmXVOH6EoRjqVbE9M,3605
167
- pyfemtet-1.0.3.dist-info/LICENSE,sha256=LWUL5LlMGjSRTvsalS8_fFuwS4VMw18fJSNWFwDK8pc,1060
168
- pyfemtet-1.0.3.dist-info/LICENSE_THIRD_PARTY.txt,sha256=8_9-cgzTpmeuCqItPZb9-lyAZcH2Qp9sZTU_hYuOZIQ,191
169
- pyfemtet-1.0.3.dist-info/METADATA,sha256=eK32dGgw9BBtWFj_ea8qGSPp9bg37aTLxy48L-KBn-4,3471
170
- pyfemtet-1.0.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
171
- pyfemtet-1.0.3.dist-info/entry_points.txt,sha256=Tsb_l_8Z6pyyq2tRfuKiwfJUV3nq_cHoLS61foALtsg,134
172
- pyfemtet-1.0.3.dist-info/RECORD,,
167
+ pyfemtet-1.0.4.dist-info/LICENSE,sha256=LWUL5LlMGjSRTvsalS8_fFuwS4VMw18fJSNWFwDK8pc,1060
168
+ pyfemtet-1.0.4.dist-info/LICENSE_THIRD_PARTY.txt,sha256=8_9-cgzTpmeuCqItPZb9-lyAZcH2Qp9sZTU_hYuOZIQ,191
169
+ pyfemtet-1.0.4.dist-info/METADATA,sha256=3VAnEmcfj84Jd6e3twV3kB6TyS7MvC76sU3NVR0v1Ho,3471
170
+ pyfemtet-1.0.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
171
+ pyfemtet-1.0.4.dist-info/entry_points.txt,sha256=Tsb_l_8Z6pyyq2tRfuKiwfJUV3nq_cHoLS61foALtsg,134
172
+ pyfemtet-1.0.4.dist-info/RECORD,,