Wykres commitów

1426 Commity (ee3048d9857d26001d3d3e7821bfe1ce72036e2f)

Autor SHA1 Wiadomość Data
Holger Müller ee3048d985
catch serial exception on device open - fixes #502 (#504) 2022-05-27 08:33:53 +02:00
Holger Müller 3f4a262abe
Feature/linting 220514 (#503)
* Unified Chart Code
* New Defauls class for persistance of settings - fixes #491
* Removed non-interactive update checks
2022-05-24 17:05:59 +02:00
Holger Müller 6aa7aaa051
Feature/linting 220402 (#499)
* added .flatpak-builder to .gitingnore
* GroupDelay Chart simplified
* allow numpy > 1.21 fixes #456
* Added flatpak manifest
2022-05-14 11:00:34 +02:00
Holger Müller 140ce4906c
Merge pull request #496 from gaionim/features/delta_reference
delta reference
2022-05-14 10:39:33 +02:00
Holger Müller 06cd2de0a6
Merge pull request #495 from gaionim/pull/narrow_span
use more digit in format frequency when span is narrow
2022-05-13 07:56:15 +02:00
Mauro Gaioni f933027af5 button in one row 2022-05-06 15:17:22 +02:00
Mauro Gaioni 134affab04 pulito, ma prende marker3 invece che reference 2022-05-06 14:49:31 +02:00
Mauro Gaioni a457d9c688 closes #438
use more digit in format frequency
when span is narrow
2022-05-05 12:34:21 +02:00
Holger Müller cd3d2b6c2c unused imports and linting 2022-04-01 18:58:11 +02:00
Holger Müller 582b442910
Merge pull request #469 from NanoVNA-Saver/testing
Release of 0.4.0
Enhanced through calibration
2022-04-01 16:51:11 +02:00
Holger Müller 6c82ff6ee3 Updated documentation for 0.4.0 2022-04-01 16:44:54 +02:00
Holger Müller f68d3c2fb7 Version 0.4.0
Allow 2 digit versions. Fixes #483
2022-04-01 16:29:19 +02:00
Holger Müller 69cc2dcfb4
Merge pull request #482 from NanoVNA-Saver/Development
github workflow fixes
2022-03-26 20:14:31 +01:00
Holger Müller 02de5a1650
Fix linux binary build 2022-03-26 20:11:33 +01:00
Holger Müller 23db45d6d7
Merge pull request #480 from dhalbert/patch-1
Fix command-line formatting in README.md
2022-03-26 20:09:39 +01:00
Dan Halbert ed48c85e8e
Fix command-line formatting in README.md
Add additional indentation to force code formatting of command lines. (Could use triple-backticks instead.)
2022-03-26 09:03:03 -04:00
Holger Müller 747184e85f use pyinstaller 4.10 2022-03-17 18:04:34 +01:00
Holger Müller 630d6fafc3 linting 2022-03-17 17:54:52 +01:00
Holger Müller d0dad2a746 Merge branch 'testing' into Development 2022-03-17 17:53:14 +01:00
Holger Müller 4d4ff52c15
Merge pull request #475 from silbe/version-recursion-fix
Version: avoid infinite recursion
2022-03-11 08:40:47 +01:00
Sascha Silbe ca97287fc4 Version: avoid infinite recursion
The comparison operators (<, >, etc.) are not translated 1:1 to
customisation methods (__lt__, __gt__, ...) in Python. Instead the
type of the operands plays a role in determining on which of the two
sides the customisation method is invoked (see Python Language
Reference section 3.3.1 [1]). This means 'a > b' can end up invoking
b.__lt__(a) rather than a.__gt__(b).

This behaviour can causes infinite recursion in Version.__lt__():

2022-03-07 13:47:52,087 - NanoVNASaver.Hardware.NanoVNA_V2 - ERROR - Timeout reading version registers
Traceback (most recent call last):
  File "/home/sascha/nanovna-saver/NanoVNASaver/Controls/SerialControl.py", line 73, in serialButtonClick
    self.connect_device()
  File "/home/sascha/nanovna-saver/NanoVNASaver/Controls/SerialControl.py", line 93, in connect_device
    self.app.vna = get_VNA(self.interface)
  File "/home/sascha/nanovna-saver/NanoVNASaver/Hardware/Hardware.py", line 101, in get_VNA
    return NAME2DEVICE[iface.comment](iface)
  File "/home/sascha/nanovna-saver/NanoVNASaver/Hardware/NanoVNA_V2.py", line 76, in __init__
    super().__init__(iface)
  File "/home/sascha/nanovna-saver/NanoVNASaver/Hardware/VNA.py", line 71, in __init__
    self.read_features()
  File "/home/sascha/nanovna-saver/NanoVNASaver/Hardware/NanoVNA_V2.py", line 107, in read_features
    if self.board_revision >= Version("2.0.4"):
  File "/home/sascha/nanovna-saver/NanoVNASaver/Version.py", line 63, in __le__
    return self < other or self == other
  File "/home/sascha/nanovna-saver/NanoVNASaver/Version.py", line 57, in __lt__
    return other > self
  File "/home/sascha/nanovna-saver/NanoVNASaver/Version.py", line 57, in __lt__
    return other > self
  File "/home/sascha/nanovna-saver/NanoVNASaver/Version.py", line 57, in __lt__
    return other > self
  [Previous line repeated 491 more times]
RecursionError: maximum recursion depth exceeded in comparison

Fix it by explicitly invoking the customisation methods we expect.

[1] https://docs.python.org/3/reference/datamodel.html#object.__lt__
2022-03-09 12:06:55 +01:00
Holger Müller 982dbe26ab version in workflow as string 2022-02-18 20:33:23 +01:00
Holger Müller d596ba7661 test build with python 3.10 2022-02-18 20:31:09 +01:00
Holger Müller 8432dcfbd3 use older setuptools for pyinstaller 2022-02-18 20:16:44 +01:00
Holger Müller 884207d910 updated pyinstaller 2022-02-18 19:36:56 +01:00
Holger Müller f613ee1a5a Version Bump 2022-02-18 19:32:43 +01:00
Holger Müller 1c8477f1a9 Linting and refactoring 2022-02-18 19:31:54 +01:00
Holger Müller cb3122d632
Merge pull request #465 from galileo-pkm/PA0JOZ_devel
PA0JOZ Enhanced Response Correction
2022-02-18 18:57:49 +01:00
Holger Müller 83d011122c
Merge pull request #461 from RandMental/Development
self.sweep_control.progress_bar.setValue() needs an int value, percen…
2022-01-17 08:50:41 +01:00
Holger Müller 55d86acec1
Update NanoVNASaver/NanoVNASaver.py 2022-01-17 08:50:04 +01:00
Holger Müller e6d9b47f83
Merge pull request #466 from galileo-pkm/i458
fix for issue #458
2022-01-17 08:47:48 +01:00
Galileo 55b7c4e42c fix for issue #458 2022-01-17 01:15:25 +01:00
Galileo 915da14ac1 PA0JOZ Enhanced Response Correction 2022-01-16 21:37:20 +01:00
Randmental 209a2e326b self.sweep_control.progress_bar.setValue() needs an int value, percentage sweep is not always guaranteed to be an int 2022-01-12 16:09:15 +02:00
Holger Müller 0c179388d3 Pyinstaller and numpy version fixes for binary builds 2022-01-11 17:22:33 +01:00
Holger Müller 3e78b490e9 linux workflows just knows python 3.9 2022-01-10 16:55:50 +01:00
Holger Müller 8208563ff3 Modified deps/workflows
- setup.cfg should now work flowlessly with fedoro 36 (#456)
 - github actions are updated to use more current software versions
2022-01-10 16:49:25 +01:00
Holger Müller c9ccaffa41
Merge pull request #454 from gaionim/pull/shebang
Add shebang and make nanovna-saver.py  executable
2022-01-09 15:28:18 +01:00
Holger Müller 28fd7e5478 fix bug #455
vswr of datapoint now returns inf instead of going negative
2022-01-09 15:24:04 +01:00
Mauro Gaioni d09ab02201 Add shebang and make nanovna-saver.py executable 2022-01-05 16:19:32 +01:00
Holger Müller cbcf61afb5
Merge pull request #452 from NanoVNA-Saver/testing
Version 0.3.10
2022-01-04 08:44:03 +01:00
Holger Müller 4a620a5686 Version 0.3.10 2022-01-04 08:30:40 +01:00
Holger Müller 3b35219d75 Use pyinstaller 4.7 on windows binary build 2022-01-04 08:18:38 +01:00
Holger Müller 700781288b
Merge pull request #451 from NanoVNA-Saver/Development
Development
2022-01-04 08:14:14 +01:00
Holger Müller fdb8f0ac43 prepare merge to testing 2022-01-04 08:13:49 +01:00
Holger Müller 8cc635ffa3
Merge pull request #450 from DiSlord/Development
Calibration standarts fix and improve
2022-01-04 08:09:45 +01:00
Holger Müller c194a32eac
Merge pull request #446 from rjordans/Development
Change calculation of admittance value and unit in marker plotting code
2022-01-04 08:09:33 +01:00
DiSlord d03982af73 Fix division on zero in Open calibration standard C0 value = 0
Implement Load C calibration use
2022-01-03 19:42:17 +03:00
Roel Jordans 4bee354bf7 Change calculation of admittance value and unit in marker plotting code
Signed-off-by: Roel Jordans <r.jordans@tue.nl>
2021-12-14 11:37:10 +01:00
Holger Müller 43fd3b7d88 increased pre version 2021-10-10 14:34:02 +02:00