pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

ENH: error on duplicate records generated #110

Closed klauer closed 5 years ago

klauer commented 5 years ago

Closes #96

Looks like:

$ pytmc db TC_project/TwinCAT\ Project1/TwinCAT\ Project1/Untitled1/Untitled1.tmc
ERROR:pytmc.bin.db:Duplicate records encountered:
    ADS_TST:ReadOnly:Str (2)
    ADS_TST:ReadOnly:bArray (2)
    ADS_TST:ReadOnly:bState (2)
codecov-io commented 5 years ago

Codecov Report

Merging #110 into master will decrease coverage by 0.2%. The diff coverage is 28.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage   74.62%   74.42%   -0.21%     
==========================================
  Files          15       15              
  Lines        1600     1607       +7     
==========================================
+ Hits         1194     1196       +2     
- Misses        406      411       +5
Impacted Files Coverage Δ
pytmc/bin/db.py 44.3% <28.57%> (-1.53%) :arrow_down:

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 0492cfe...c8296ab. Read the comment docs.