41c9183be3
Merge branch 'refs/heads/correlation_picker' into develop
2024-09-12 16:24:50 +02:00
f78315dec4
[update] new test files for test_autopicker after changes in autopicker
2024-09-11 11:02:32 +02:00
28f75cedcb
Merge branch 'refs/heads/develop' into correlation_picker
2024-09-11 10:31:50 +02:00
6542b6cc4f
[minor] slightly improved test output
2024-09-10 16:57:00 +02:00
cc7716a2b7
[minor] improved unittest result
2024-09-09 16:05:02 +02:00
431dbe8924
[testing] improved dictionary comparison. Failed tests have completely different picks (not only snrdb)
2024-08-30 15:07:31 +02:00
63810730e5
[bugfix] added missing parameter "taup_phases" introduced a long time ago into default parameters and parameters for unit tests
2024-08-30 14:51:30 +02:00
f2159c47f9
[testing] brought test_autopickstation up-to-date using, removing deprecated methods and using pytest.approx
...
Certain tests fail on snrdb calculation which has to be examined (WIP)
2024-08-30 12:41:16 +02:00
d0fbb91ffe
[update] added test for AutoPyLoT, added test files for correlation picker as well
2024-08-29 16:46:30 +02:00
424d42aa1c
Merge branch 'refs/heads/develop' into correlation_picker
...
# Conflicts:
# pylot/core/pick/charfuns.py
# tests/test_autopicker/pylot_alparray_mantle_corr_stack_0.03-0.5.in
# tests/test_autopicker/test_autopylot.py
2024-08-29 16:37:15 +02:00
2cea10088d
[update] added test for AutoPyLoT, added test files for correlation picker as well
2024-08-29 16:35:04 +02:00
5d90904838
Merge branch 'develop' into correlation_picker
2024-08-27 17:46:21 +02:00
7a13288c85
[major] getting rid of unused/unnecessary "rootpath" and "database" structure. Testing required.
2024-08-27 17:45:15 +02:00
29107ee40c
[update] WIP: adding tests for autopylot (global)
2024-08-26 17:18:41 +02:00
f4f48a930f
[refactor] moved unittest to existing test folder
2024-08-09 15:03:55 +02:00
dd685d5d5e
[refactor] rewrote/simplified getQualitiesfromxml code, used function already implemented in phases.py
2022-03-16 16:00:14 +01:00
3cd17ff364
[update] added xml file for unittest
2022-03-16 14:31:03 +01:00
d879aa1a8b
[bugfix] small fix to get getQualitiesfromxml running, added unittest for function
2022-03-16 14:29:47 +01:00
e35d5d6df9
[refactor] automatic code reformatting (Pycharm)
2022-03-09 14:41:34 +01:00
9cef22b74b
[refactor] code cleanup (WIP), open issues #25 and #26
2022-03-09 14:08:04 +01:00
6b9231abd3
[merge] feature/refactor into develop
2019-04-12 10:31:29 +02:00
Darius Arnold
242d8e3b1d
Remove unwanted indentation in autopickstation test input file
2019-04-09 16:49:01 +02:00
739a6e89f4
[pycharm] optimized imports
2018-08-16 17:34:05 +02:00
Darius Arnold
6936cfcfa6
[bugfix] Taupy didn't check return of get_coordinates
...
For a station not in the metadata, get_coordinates would return None which wasn't checked for.
This includes a test for a station which is not in metadata.
2018-08-13 22:42:19 +02:00
Darius Arnold
9929e3d441
[change] testPickingResults.py in accordance with bugfix
2018-08-08 19:25:41 +02:00
Darius Arnold
d4e2f4a070
[bugfix] maxDiff not correctly set in test_autopickstation
2018-08-08 09:11:34 +02:00
Darius Arnold
146da1d794
[change] Quality class determination documentation improvement
...
Also change order of expected/actual values in test assert methods to improve output of test function.
The first parameter is supposed to be the expected value, the second one the actual result.
2018-08-07 13:58:59 +02:00
Darius Arnold
d3fee396b2
[modify] test_autopickstation to work with new return value
2018-08-03 13:50:41 +02:00
Darius Arnold
86f6584d91
Modify test_autopickstation's MockMetadata to work with the new Metadata class
2018-08-03 13:23:52 +02:00
Darius Arnold
a45e817213
Merge remote-tracking branch 'origin/develop' into feature/refactor
2018-08-03 11:55:13 +02:00
Darius Arnold
7b2ae2fa8f
Disable NonLinLoc in testing parameter file
2018-08-03 11:01:58 +02:00
Darius Arnold
108ba80b83
[minor] disable length limit when printing diff of picking results
...
By default the difference printed when two picking result dictionaries are compared is limited in length, this disables the limit.
2018-08-03 11:00:53 +02:00
Darius Arnold
8dcea2a8c3
[change] PickingResults now only stores actual results, PickingContainer stores intermediary values
...
PickingResults now stores only the actual results of picking, which are returned from the autopickstation function.
To store intermediary results during picking, the new class PickingContainer is used.
2018-08-03 10:59:10 +02:00
Darius Arnold
076115f7f5
[add] Station A106 to tests
...
This station has invalid values recorded on both N and E component, but a pick can still be found on Z
2018-07-30 14:32:32 +02:00
Darius Arnold
d14e789e97
Modify test to test that picking is possible for station with only vertical component
2018-07-30 14:31:56 +02:00
Darius Arnold
09721c7bb9
[add] station CH.FIESA to test_autopickstation
2018-07-20 15:06:15 +02:00
Darius Arnold
653e7c9b9a
[remove] unused function for creating an error message for autopickstation tests
2018-07-20 15:05:42 +02:00
Darius Arnold
1b815a27b8
[add] HidePrint can be configured to skip hiding for quick debugging of tests
2018-07-20 15:04:48 +02:00
Darius Arnold
153beff663
[add] tests for picking with missing trace in stream
2018-07-20 13:02:57 +02:00
7a0d3486a6
[cleanup] code cleanup by PyCharm
2018-07-17 14:49:34 +02:00
Darius Arnold
02873938cb
[change] minSlope value decreased due to difference in slope calculation
2018-07-17 11:37:29 +02:00
Darius Arnold
d84be68694
[add] tests for file where metadata has changed due to changed instruments
2018-07-17 11:18:07 +02:00
Darius Arnold
787c46eeaf
[add] tests for file where metadata is available at multiple time intervals
2018-07-17 11:17:23 +02:00
Darius Arnold
da29b286f1
[add] tests for read_single_file
2018-07-17 10:56:53 +02:00
Darius Arnold
7734650d2e
Move the metadata files used ofr testing into own folder
2018-07-17 10:34:42 +02:00
Darius Arnold
f5c1fea159
[Change] use HidePrints to clean output of test results
2018-07-13 23:25:11 +02:00
Darius Arnold
10aa0360bc
[Add] Utility class to hide prints during testing
...
Provides with HidePrints context manager and @HidePrints.hide decorator
2018-07-13 21:33:45 +02:00
Darius Arnold
c308415aa5
Move test_autopickstation to subdirectory in pylot/tests
2018-07-13 09:45:57 +02:00
Darius Arnold
2c92f6f2fd
Merge branch 'develop' into feature/refactor
2018-07-13 09:28:50 +02:00
1d215c181c
[update] time optional for get_metadata/get_coordinates, if not time is specified use current UTCDateTime
2018-07-12 11:43:15 +02:00