Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

fix: avoid validating when building dict #431

Merged
merged 2 commits into from
Jan 10, 2021
Merged

Conversation

redeboer
Copy link
Member

Tests should make sure that the framework dumps in the correct format. JSON validation is only relevant for input (e.g. a hand-written amplitude model or particle list).

This is more convenient when debugging
The framework should just dump in the correct format,
validation is about input
@redeboer redeboer added the Bug Something isn't working label Jan 10, 2021
@redeboer redeboer self-assigned this Jan 10, 2021
@codecov
Copy link

codecov bot commented Jan 10, 2021

Codecov Report

Merging #431 (c0fd4d5) into master (3b9834c) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #431      +/-   ##
==========================================
+ Coverage   90.02%   90.07%   +0.04%     
==========================================
  Files          22       22              
  Lines        3440     3437       -3     
  Branches      847      847              
==========================================
- Hits         3097     3096       -1     
+ Misses        173      172       -1     
+ Partials      170      169       -1     
Flag Coverage Δ
unittests 90.07% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/expertsystem/io/_dict/dump.py 81.81% <ø> (-0.54%) ⬇️
src/expertsystem/amplitude/helicity_decay.py 90.31% <0.00%> (+0.77%) ⬆️

@redeboer redeboer merged commit 4718ec9 into master Jan 10, 2021
@redeboer redeboer deleted the validate-on-read-only branch January 10, 2021 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant