hpcflow-new2 0.2.0a202__py3-none-any.whl → 0.2.0a204__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.
hpcflow/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.2.0a202"
1
+ __version__ = "0.2.0a204"
hpcflow/sdk/app.py CHANGED
@@ -3580,27 +3580,27 @@ class BaseApp(metaclass=Singleton):
3580
3580
  style_wk_name = "grey42 strike" if deleted else style
3581
3581
  style_it = "italic grey42" if (no_access or not act_js) else "italic"
3582
3582
 
3583
- all_cells: dict[str, str | Text | Padding] = {}
3584
- if "status" in columns:
3585
- if act_js:
3586
- act_js_states = set(
3587
- state_i
3588
- for js_dat in act_js.values()
3589
- for block_dat in js_dat.values()
3590
- for state_i in block_dat.values()
3591
- )
3592
- all_cells["status"] = "/".join(
3593
- js_state.rich_repr
3594
- for js_state in sorted(act_js_states, key=lambda x: x.value)
3595
- )
3596
- else:
3597
- if deleted:
3598
- txt = "deleted"
3599
- elif unloadable:
3600
- txt = "unloadable"
3583
+ all_cells: dict[str, str | Text | Padding] = {}
3584
+ if "status" in columns:
3585
+ if act_js:
3586
+ act_js_states = set(
3587
+ state_i
3588
+ for js_dat in act_js.values()
3589
+ for block_dat in js_dat.values()
3590
+ for state_i in block_dat.values()
3591
+ )
3592
+ all_cells["status"] = "/".join(
3593
+ js_state.rich_repr
3594
+ for js_state in sorted(act_js_states, key=lambda x: x.value)
3595
+ )
3601
3596
  else:
3602
- txt = "inactive"
3603
- all_cells["status"] = Text(txt, style=style_it)
3597
+ if deleted:
3598
+ txt = "deleted"
3599
+ elif unloadable:
3600
+ txt = "unloadable"
3601
+ else:
3602
+ txt = "inactive"
3603
+ all_cells["status"] = Text(txt, style=style_it)
3604
3604
 
3605
3605
  if "id" in columns:
3606
3606
  all_cells["id"] = Text(str(dat_i["local_id"]), style=style)
@@ -1152,19 +1152,19 @@ class ValueSequence(_BaseSequence):
1152
1152
  def _values_from_geometric_space(
1153
1153
  cls, start: float, stop: float, num: int, **kwargs
1154
1154
  ) -> list[float]:
1155
- return np.geomspace(start, stop, num=num, **kwargs).tolist()
1155
+ return np.geomspace(start, stop, num=num, **kwargs).tolist() # type: ignore # mypy bug for numpy~2.2.4 https://github.com/numpy/numpy/issues/27944
1156
1156
 
1157
1157
  @classmethod
1158
1158
  def _values_from_log_space(
1159
1159
  cls, start: float, stop: float, num: int, base: float = 10.0, **kwargs
1160
1160
  ) -> list[float]:
1161
- return np.logspace(start, stop, num=num, base=base, **kwargs).tolist()
1161
+ return np.logspace(start, stop, num=num, base=base, **kwargs).tolist() # type: ignore # mypy bug for numpy~2.2.4 https://github.com/numpy/numpy/issues/27944
1162
1162
 
1163
1163
  @classmethod
1164
1164
  def _values_from_range(
1165
1165
  cls, start: int | float, stop: int | float, step: int | float, **kwargs
1166
1166
  ) -> list[float]:
1167
- return np.arange(start, stop, step, **kwargs).tolist()
1167
+ return np.arange(start, stop, step, **kwargs).tolist() # type: ignore # mypy bug for numpy~2.2.4 https://github.com/numpy/numpy/issues/27944
1168
1168
 
1169
1169
  @classmethod
1170
1170
  def _values_from_file(cls, file_path: str | Path) -> list[str]:
@@ -1185,7 +1185,7 @@ class ValueSequence(_BaseSequence):
1185
1185
  if coord is not None:
1186
1186
  return vals[coord].tolist()
1187
1187
  else:
1188
- return (vals.T).tolist()
1188
+ return (vals.T).tolist() # type: ignore # mypy bug for numpy~2.2.4 https://github.com/numpy/numpy/issues/27944
1189
1189
 
1190
1190
  @classmethod
1191
1191
  def _values_from_random_uniform(
@@ -1196,7 +1196,7 @@ class ValueSequence(_BaseSequence):
1196
1196
  seed: int | list[int] | None = None,
1197
1197
  ) -> list[float]:
1198
1198
  rng = np.random.default_rng(seed)
1199
- return rng.uniform(low=low, high=high, size=num).tolist()
1199
+ return rng.uniform(low=low, high=high, size=num).tolist() # type: ignore # mypy bug for numpy~2.2.4 https://github.com/numpy/numpy/issues/27944
1200
1200
 
1201
1201
  @classmethod
1202
1202
  def from_linear_space(
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hpcflow-new2
3
- Version: 0.2.0a202
3
+ Version: 0.2.0a204
4
4
  Summary: Computational workflow management
5
5
  License: MPL-2.0
6
6
  Author: aplowman
7
7
  Author-email: adam.plowman@manchester.ac.uk
8
- Requires-Python: >=3.9,<3.13
8
+ Requires-Python: >=3.9,<3.14
9
9
  Classifier: License :: OSI Approved
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.9
@@ -18,7 +18,10 @@ Requires-Dist: colorama (>=0.4.6,<0.5.0)
18
18
  Requires-Dist: fsspec (>=2022.2.0,<2023.0.0)
19
19
  Requires-Dist: h5py (>=3.9.0,<4.0.0)
20
20
  Requires-Dist: msgpack (>=1.0.4,<2.0.0)
21
- Requires-Dist: numpy (>=1.26.4,<2.0.0)
21
+ Requires-Dist: numcodecs (==0.12.1) ; python_version < "3.13"
22
+ Requires-Dist: numcodecs (>=0.13.1,<0.14.0) ; python_version >= "3.13"
23
+ Requires-Dist: numpy (>=1.26.4,<2.0.0) ; python_version < "3.13"
24
+ Requires-Dist: numpy (>=2.2.4,<3.0.0) ; python_version >= "3.13"
22
25
  Requires-Dist: paramiko (>=3.2.0,<4.0.0)
23
26
  Requires-Dist: platformdirs (>=4.2.1,<5.0.0)
24
27
  Requires-Dist: psutil (>=5.9.4,<6.0.0)
@@ -1,7 +1,7 @@
1
1
  hpcflow/__init__.py,sha256=WIETuRHeOp2SqUqHUzpjQ-lk9acbYv-6aWOhZPRdlhs,64
2
2
  hpcflow/__pyinstaller/__init__.py,sha256=YOzBlPSck6slucv6lJM9K80JtsJWxXRL00cv6tRj3oc,98
3
3
  hpcflow/__pyinstaller/hook-hpcflow.py,sha256=P2b-8QdQqkSS7cJB6CB3CudUuJ9iZzTh2fQF4hNdCa4,1118
4
- hpcflow/_version.py,sha256=6n34S37PKBPzwldhxAgF2xtyuty4i43bwa5Esg3M8HE,26
4
+ hpcflow/_version.py,sha256=PqFk1jT-nB41qEjcS-wFVdUs84fdsS32sYanb00cWsM,26
5
5
  hpcflow/app.py,sha256=gl2viVS65PbpDhUp2DARaYHFDqDWQjuoyB3ikrCNRW4,1367
6
6
  hpcflow/cli.py,sha256=G2J3D9v6MnMWOWMMWK6UEKLn_6wnV9lT_qygEBBxg-I,66
7
7
  hpcflow/data/demo_data_manifest/__init__.py,sha256=Hsq0jT8EXM13wu1MpGy5FQgyuz56ygep4VWOnulFn50,41
@@ -62,7 +62,7 @@ hpcflow/data/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
62
62
  hpcflow/data/workflows/workflow_1.yaml,sha256=lF7Re2SVc_5gQk5AwB0gXaq-n-T5ia4su3zNQ9oMRV0,220
63
63
  hpcflow/examples.ipynb,sha256=cLKp4QsxwwMXRanDnfWY9kqsV23q6G4raOpu6IZXnMw,28553
64
64
  hpcflow/sdk/__init__.py,sha256=BEbIz8adCAX06ZmvEcquEu29PmQDvVP1I1qn_q78dYc,6289
65
- hpcflow/sdk/app.py,sha256=13tof0UtuQwNhcZFq5xM4cQFrwSm2LxXdm6ENIcYrWo,146680
65
+ hpcflow/sdk/app.py,sha256=0-OwqnY0Rua73NquizqQEep1XDQGyo3mKPOPYkmwy8I,146764
66
66
  hpcflow/sdk/cli.py,sha256=C_7Ts6TbspTZtUXlPwF37Vt-t71NABJ_2zNpZLYFPUE,45563
67
67
  hpcflow/sdk/cli_common.py,sha256=MO0TbC280JdZTLnxSV15wE7PDNx83sotpJsyAN1E2F4,10458
68
68
  hpcflow/sdk/config/__init__.py,sha256=pkufl_CXm_Kswk1x7LTavuplWjUbUCitK0AJ2E60gwM,137
@@ -87,7 +87,7 @@ hpcflow/sdk/core/json_like.py,sha256=f3Q1lxebn79nHIIQ2iRw9MbIDByGmdnlGp4yW39p-9g
87
87
  hpcflow/sdk/core/loop.py,sha256=1GRUerSIAQ30KDi1-0M5gNiwzslSnmTTshLYUHwIMn0,50083
88
88
  hpcflow/sdk/core/loop_cache.py,sha256=C0t9UpvHFdTmw3bViZ2wccjZWtkbSbN9APvcwzBSREg,10801
89
89
  hpcflow/sdk/core/object_list.py,sha256=eX6jcJNlXcbiu3LMnU6kGOkBeUB9WUh9vrGsv97DInk,29906
90
- hpcflow/sdk/core/parameters.py,sha256=8c6zfnlk9iyOZLK0I4yZKjXisV4fodcO7fX68h8yHhI,97372
90
+ hpcflow/sdk/core/parameters.py,sha256=qN_Lg8nleKOJutt3JiifNCnT5TvALi8D9eWFbRVz3r4,97812
91
91
  hpcflow/sdk/core/rule.py,sha256=LiNyKp09a6TRGJvtiB1CcNqgyAIuPhuSW2RVfDWf5FE,6274
92
92
  hpcflow/sdk/core/run_dir_files.py,sha256=yh49BSlswqqyr97x5nDT87qu2MlOLMu7Arzl_B-fxy0,2061
93
93
  hpcflow/sdk/core/skip_reason.py,sha256=xPm8bd8sbPpiZ3sx9ZeW0jxgRQ0TBokSv0XIJKrEW2Y,113
@@ -215,8 +215,8 @@ hpcflow/tests/workflows/test_submission.py,sha256=SUbBUbD8C8LSulrI7aETkzP9RqED48
215
215
  hpcflow/tests/workflows/test_workflows.py,sha256=9z3rtXjA5iMOp4C0q4TkD_9kLzwourCY-obpeOtnNt0,18927
216
216
  hpcflow/tests/workflows/test_zip.py,sha256=MzEwsIAYV_1A3bD0XRo23zUwUKVzkkmNd8_cil6YdWQ,578
217
217
  hpcflow/viz_demo.ipynb,sha256=6D9uBbWK3oMfbaf93Tnv5riFPtW-2miUTWNr9kGcnd4,228913
218
- hpcflow_new2-0.2.0a202.dist-info/LICENSE,sha256=Xhxf_KsrJNJFGMogumZhXSTPhUOVHCWf7nU-TDzqg0E,16763
219
- hpcflow_new2-0.2.0a202.dist-info/METADATA,sha256=Iz98BopMc6Os0fqDVxV6MJZb-KJ4isvpGj3zoXtILP8,2447
220
- hpcflow_new2-0.2.0a202.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
221
- hpcflow_new2-0.2.0a202.dist-info/entry_points.txt,sha256=aoGtCnFdfPcXfBdu2zZyMOJoz6fPgdR0elqsgrE-USU,106
222
- hpcflow_new2-0.2.0a202.dist-info/RECORD,,
218
+ hpcflow_new2-0.2.0a204.dist-info/LICENSE,sha256=Xhxf_KsrJNJFGMogumZhXSTPhUOVHCWf7nU-TDzqg0E,16763
219
+ hpcflow_new2-0.2.0a204.dist-info/METADATA,sha256=HK5_5jSJw4bRomB-y4I-JflPb5cufoanMIUMA5068gU,2671
220
+ hpcflow_new2-0.2.0a204.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
221
+ hpcflow_new2-0.2.0a204.dist-info/entry_points.txt,sha256=aoGtCnFdfPcXfBdu2zZyMOJoz6fPgdR0elqsgrE-USU,106
222
+ hpcflow_new2-0.2.0a204.dist-info/RECORD,,