Skip to content

Conversation

@denstre
Copy link
Contributor

@denstre denstre commented Jun 8, 2020

TODO: (Reminder for myself)

Resolves #141

  • Adapt Tests

  • Adapt Factory (convert double double quotes ("") to double quotes("))

@denstre denstre added bug Something isn't working invalid This doesn't seem right labels Jun 8, 2020
@denstre denstre added this to the Version 1.0.1 milestone Jun 8, 2020
@denstre denstre requested review from ckittl and johanneshiry June 8, 2020 18:46
@denstre denstre self-assigned this Jun 8, 2020
@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #166 into master will increase coverage by 0.89%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #166      +/-   ##
============================================
+ Coverage     74.77%   75.67%   +0.89%     
- Complexity     1469     1521      +52     
============================================
  Files           206      206              
  Lines          5991     6015      +24     
  Branches        579      580       +1     
============================================
+ Hits           4480     4552      +72     
+ Misses         1163     1116      -47     
+ Partials        348      347       -1     
Impacted Files Coverage Δ Complexity Δ
...edu/ie3/datamodel/io/source/csv/CsvDataSource.java 92.12% <0.00%> (+0.61%) 53.00% <0.00%> (+5.00%)
...edu/ie3/datamodel/models/input/system/PvInput.java 75.28% <0.00%> (+1.12%) 14.00% <0.00%> (+1.00%)
...s/input/connector/type/Transformer3WTypeInput.java 71.64% <0.00%> (+1.49%) 24.00% <0.00%> (+1.00%)
...del/models/input/connector/Transformer3WInput.java 74.19% <0.00%> (+1.61%) 13.00% <0.00%> (+1.00%)
...u/ie3/datamodel/models/input/system/LoadInput.java 67.21% <0.00%> (+1.63%) 10.00% <0.00%> (+1.00%)
...3/datamodel/models/input/MeasurementUnitInput.java 67.30% <0.00%> (+1.92%) 10.00% <0.00%> (+1.00%)
...e3/datamodel/models/input/connector/LineInput.java 72.00% <0.00%> (+2.00%) 10.00% <0.00%> (+1.00%)
...s/input/connector/type/Transformer2WTypeInput.java 73.46% <0.00%> (+2.04%) 17.00% <0.00%> (+1.00%)
...edu/ie3/datamodel/models/input/system/BmInput.java 72.91% <0.00%> (+2.08%) 9.00% <0.00%> (+1.00%)
...du/ie3/datamodel/models/input/system/ChpInput.java 72.91% <0.00%> (+2.08%) 9.00% <0.00%> (+1.00%)
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d6d3af...a645e62. Read the comment docs.

@denstre denstre marked this pull request as draft June 8, 2020 18:52
@ckittl
Copy link
Member

ckittl commented Jun 15, 2020

Additionally: Please move the quotation handling from BufferedCsvWriter to CsvFileSink. The sink suits better, as it could use different other csv writers via it's connector. Then the quotation handling would have to be implemented in every future implementation of the writer.

@ckittl ckittl linked an issue Jun 15, 2020 that may be closed by this pull request
3 tasks
@denstre
Copy link
Contributor Author

denstre commented Jun 15, 2020

!test

@denstre
Copy link
Contributor Author

denstre commented Jun 16, 2020

!test

1 similar comment
@denstre
Copy link
Contributor Author

denstre commented Jun 16, 2020

!test

@johanneshiry
Copy link
Member

!test

@johanneshiry
Copy link
Member

johanneshiry commented Jun 17, 2020

Won't compile until PowerSystemUtils#33 is merged and deployed

@johanneshiry johanneshiry requested review from ckittl and removed request for ckittl June 17, 2020 11:00
johanneshiry and others added 3 commits June 18, 2020 13:02
Co-authored-by: Chris Kittl <44838605+ckittl@users.noreply.github.com>
- extensive tests for new parsing
@johanneshiry johanneshiry requested a review from ckittl June 18, 2020 19:38
@ckittl ckittl merged commit 6a3f099 into master Jun 19, 2020
@ckittl ckittl deleted the ds/#141-adapt-jsonstrings-for-csv-rev2 branch June 19, 2020 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add quotation marks to all special fields when writing .csv files

4 participants