cloudpss 4.0.10__tar.gz → 4.0.11__tar.gz
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.
- {cloudpss-4.0.10 → cloudpss-4.0.11}/PKG-INFO +1 -1
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/model.py +14 -0
- cloudpss-4.0.11/cloudpss/version.py +1 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss.egg-info/PKG-INFO +1 -1
- cloudpss-4.0.10/cloudpss/version.py +0 -1
- {cloudpss-4.0.10 → cloudpss-4.0.11}/README.md +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/function/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/function/function.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/function/functionExecution.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/function/job.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/ieslab/DataManageModel.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/ieslab/EvaluationModel.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/ieslab/IESLabPlan.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/ieslab/IESLabSimulation.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/ieslab/PlanModel.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/ieslab/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/implements/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/implements/component.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/implements/diagram.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/implements/implement.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/jobDefinitions.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/revision.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/model/topology.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/project/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/project/project.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/IESLabEvaluationResult.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/IESLabPlanResult.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/IESLabTypicalDayResult.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/MessageStreamReceiver.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/receiver.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/result.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/runner.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/storage.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/runner/transform.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/IO.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/__init__.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/dataEncoder.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/graphqlUtil.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/httprequests.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/matlab.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/utils/yamlLoader.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss/verify.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss.egg-info/SOURCES.txt +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss.egg-info/dependency_links.txt +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss.egg-info/requires.txt +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/cloudpss.egg-info/top_level.txt +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/setup.cfg +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/setup.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-async.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-async2.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-async3.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-plot.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-sdk.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-sdk1.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-snapshot.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test-topology.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test7950.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/testAsync.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/testEvent.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/testRt.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/testRt2.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/testSend.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test_in_new_web_1.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test_ws.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/test_ws2.py +0 -0
- {cloudpss-4.0.10 → cloudpss-4.0.11}/test/testb.py +0 -0
@@ -205,6 +205,7 @@ class Model(object):
|
|
205
205
|
|
206
206
|
config = deepcopy(self.configs[0])
|
207
207
|
config['name'] = name
|
208
|
+
self.__updateConfigDefault(config)
|
208
209
|
return config
|
209
210
|
|
210
211
|
def addConfig(self, config):
|
@@ -218,6 +219,7 @@ class Model(object):
|
|
218
219
|
"""
|
219
220
|
|
220
221
|
self.configs.append(config)
|
222
|
+
self.__updateConfigDefault(config)
|
221
223
|
return config
|
222
224
|
|
223
225
|
@staticmethod
|
@@ -324,6 +326,7 @@ class Model(object):
|
|
324
326
|
if config is None:
|
325
327
|
currentConfig = self.context['currentConfig']
|
326
328
|
config = self.configs[currentConfig]
|
329
|
+
self.__updateConfigDefault(config)
|
327
330
|
return self.revision.run(job, config, name, self.rid, **kwargs)
|
328
331
|
|
329
332
|
def iesSimulationRun(self, job=None, config=None, name=None, **kwargs):
|
@@ -552,6 +555,16 @@ class Model(object):
|
|
552
555
|
maximumDepth)
|
553
556
|
return None
|
554
557
|
|
558
|
+
def __updateConfigDefault(self, config):
|
559
|
+
paramters = self.revision.parameters
|
560
|
+
if paramters is None:
|
561
|
+
return
|
562
|
+
for param in paramters:
|
563
|
+
for val in param['items']:
|
564
|
+
if config['args'].get(val['key'],None) is None:
|
565
|
+
print(val['key'])
|
566
|
+
config['args'][val['key']] = val['value']
|
567
|
+
|
555
568
|
def runEMT(self,job=None,config=None)->Runner[EMTResult]:
|
556
569
|
'''
|
557
570
|
运行 emtp 内核,如果当前 model 没有创建 Job 时报错,默认使用第一个计算方案,进行仿真。
|
@@ -575,6 +588,7 @@ class Model(object):
|
|
575
588
|
if config is None:
|
576
589
|
currentConfig = self.context['currentConfig']
|
577
590
|
config = self.configs[currentConfig]
|
591
|
+
|
578
592
|
return self.run(job=job, config=config)
|
579
593
|
|
580
594
|
def runSFEMT(self,job=None,config=None)->Runner[EMTResult]:
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '4.0.11'
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = '4.0.10'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|