mapFolding 0.3.10__py3-none-any.whl → 0.3.11__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.
@@ -1,2 +1 @@
1
1
  from .makeJob import makeStateJob
2
- from .synthesizeModulesNumba import decorateCallableWithNumba, Z0Z_UnhandledDecorators
@@ -1,5 +1,6 @@
1
1
  from mapFolding import getPathFilenameFoldsTotal, computationState, outfitCountFolds, getAlgorithmSource
2
- from typing import Literal, Optional, Sequence, overload
2
+ from types import ModuleType
3
+ from typing import Any, Literal, Optional, Sequence, overload
3
4
  import pathlib
4
5
  import pickle
5
6
 
@@ -13,7 +14,7 @@ def makeStateJob(listDimensions: Sequence[int], *, writeJob: Literal[False]
13
14
  , **keywordArguments: Optional[str]) -> computationState:
14
15
  ...
15
16
 
16
- def makeStateJob(listDimensions: Sequence[int], *, writeJob: bool = True, **keywordArguments: Optional[str]) -> computationState | pathlib.Path:
17
+ def makeStateJob(listDimensions: Sequence[int], *, writeJob: bool = True, **keywordArguments: Optional[Any]) -> computationState | pathlib.Path:
17
18
  """
18
19
  Creates a computation state job for map folding calculations and optionally saves it to disk.
19
20
 
@@ -42,10 +43,9 @@ def makeStateJob(listDimensions: Sequence[int], *, writeJob: bool = True, **keyw
42
43
  when writeJob is True. The file is saved in a directory structure based on the map shape.
43
44
  """
44
45
 
45
- stateUniversal: computationState = outfitCountFolds(listDimensions, computationDivisions=None, CPUlimit=None, **keywordArguments)
46
+ stateUniversal: computationState = outfitCountFolds(listDimensions, **keywordArguments)
46
47
 
47
-
48
- moduleSource = getAlgorithmSource()
48
+ moduleSource: ModuleType = getAlgorithmSource()
49
49
  moduleSource.countInitialize(stateUniversal['connectionGraph'], stateUniversal['gapsWhere'], stateUniversal['my'], stateUniversal['track'])
50
50
 
51
51
  if not writeJob: