Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1193499
[OMCPath] add class
syntron Jun 28, 2025
01af4ba
[OMCPath] add implementation using OMC via sendExpression()
syntron Jun 27, 2025
873ab70
[OMCPath] add pytest (only docker at the moment)
syntron Jun 28, 2025
3019ac3
[OMCPath] TODO items
syntron Jun 28, 2025
5c92c20
[test_OMCPath] mypy fix
syntron Jul 2, 2025
e3ecb69
[test_OMCPath] fix end of file
syntron Jul 2, 2025
5b35438
[test_OMCPath] define test using OMCSessionZMQ() locally
syntron Jul 3, 2025
234e4c9
add TODO - need to check Python versions
syntron Jul 6, 2025
676e278
[test_OMCPath] activate docker based on test_docker
syntron Jul 6, 2025
99893cd
[OMCPath] add more functionality and docstrings
syntron Jul 11, 2025
c23e57f
[OMCPath] remove TODO entries
syntron Jul 11, 2025
1acd916
[OMCPath] define limited compatibility for Python < 3.12
syntron Jul 11, 2025
7a50441
[OMCSEssionZMQ] use OMCpath
syntron Jul 11, 2025
b1efdb1
[OMCSessionZMQ] create a tempdir using omcpath_tempdir()
syntron Jul 11, 2025
e8bd3d8
[OMCPath] fix mypy
syntron Jul 11, 2025
84c73be
[OMCPath] add warning message for Python < 3.12
syntron Jul 11, 2025
3fa97b0
[OMCPath] try to make mypy happy ...
syntron Jul 11, 2025
84c7671
[test_OMCPath] only for Python >= 3.12
syntron Jul 11, 2025
f256888
[test_OMCPath] update test
syntron Jul 11, 2025
458b875
[OMCPath._omc_resolve] use sendExpression() with parsed=False
syntron Jul 12, 2025
9a16d44
[test_OMCPath] cleanup; use the same code for local OMC and docker ba…
syntron Jul 12, 2025
0ea522e
[test_OMCPath] define test for WSL
syntron Jul 12, 2025
0a67b35
[test_OMCPath] use omcpath_tempdir() instead of hard-coded tempdir de…
syntron Jul 12, 2025
7f86ff6
[OMCPath] spelling fix
syntron Jul 15, 2025
f2cd718
[OMCPath] implementation version 3
syntron Jul 16, 2025
63042fb
[OMCSession*] fix flake8 (PyCharm likes the empty lines)
syntron Jul 16, 2025
6328a17
[OMCSessionZMQ] more generic definiton for omcpath_tempdir()
syntron Jul 16, 2025
ad7d54f
[OMCPathCompatibility] mypy on github ...
syntron Jul 16, 2025
769bd67
[OMCPathCompatibility] improve log messages
syntron Jul 16, 2025
553933a
[test_OMCPath] update
syntron Jul 16, 2025
6629673
[OMCPathReal] align exists() to the definition used in pathlib
syntron Jul 24, 2025
6f70ad2
[test_OMCPath] fix error
syntron Jul 26, 2025
b0368c7
Merge branch 'master' into OMCPath
adeas31 Oct 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[OMCSession*] fix flake8 (PyCharm likes the empty lines)
  • Loading branch information
syntron committed Oct 15, 2025
commit 63042fb45bca53006f8b4d2f20a5980cbb559657
3 changes: 0 additions & 3 deletions OMPython/OMCSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,15 +443,12 @@ def size(self) -> int:
"""
return self.stat().st_size


class OMCPathCompatibilityPosix(pathlib.PosixPath, OMCPathCompatibility):
pass


class OMCPathCompatibilityWindows(pathlib.WindowsPath, OMCPathCompatibility):
pass


OMCPath = OMCPathCompatibility

else:
Expand Down