Skip to content

Commit

Permalink
remove trailing blank lines from test data
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Dec 16, 2024
1 parent 7a06a8c commit 59c4d40
Show file tree
Hide file tree
Showing 73 changed files with 7 additions and 243 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ pip install vdct2template
<font color="#AAAAAA">│ </font><font color="#2AA1B3"><b>--help</b></font> <font color="#A2734C"><b> </b></font> Show this message and exit. │
<font color="#AAAAAA">╰────────────────────────────────────────────────────────────────────────────────────────╯</font>

</pre>
</pre>
2 changes: 1 addition & 1 deletion tests/data/NX102_digitalIn_Debounced.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ record(mbbiDirect, "$(device):DBBIT") {
#! TemplateField("word","type",16777215,0,1)
#! TemplateField("word","PORT",16777215,0,1)
#! TemplateField("word","TAG",16777215,0,1)
#! TemplateField("word","TAGIDX",16777215,0,1)
#! TemplateField("word","TAGIDX",16777215,0,1)
2 changes: 0 additions & 2 deletions tests/data/NX102_powerSupply.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,3 @@ record(ai, "$(device):PSU:TEMPERATURE") {
field(ASLO, "0.1")
field(PREC, "1")
}


2 changes: 1 addition & 1 deletion tests/data/NX102_readWord.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -476,4 +476,4 @@ record(sseq, "$(device):$(type)15:FAN") {
field(LNK1, "$(device):$(type)15.ZNAM")
field(DOL2, "$(device):$(type)15:DESC")
field(LNK2, "$(device):$(type)15.ONAM")
}
}
1 change: 0 additions & 1 deletion tests/data/NX102_vacValveTclose.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ record(ai, "$(device):CDUR") {
field(INP, "@$(port) $(tag).Last_Close_Duration[$(tagidx)]")
field(EGU, "s")
}

1 change: 0 additions & 1 deletion tests/data/dlsPLC_fastvalveGilk.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,3 @@ record(bi, "$(device):GILK15") {
field(ZNAM, "$(gilk15=unused)")
field(ONAM, "$(gilk15=unused)")
}

1 change: 0 additions & 1 deletion tests/data/dlsPLC_interlock.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@ expand("dlsPLC_valveIlk.vdb", valveIlk) {
#! TemplateField("valveIlk","ilk2",16777215,0,1)
#! TemplateField("valveIlk","ilk1",16777215,0,1)
#! TemplateField("valveIlk","ilk0",16777215,0,1)

1 change: 0 additions & 1 deletion tests/data/dlsPLC_interlock_summary.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -362,4 +362,3 @@ expand("dlsPLC_interlock_check.vdb", check24) {
#! TemplateInstance("check24",4700,2660,0,"")
#! TemplateField("check24","ilk",16777215,0,1)
#! TemplateField("check24","N",16777215,0,1)

2 changes: 0 additions & 2 deletions tests/data/dlsPLC_mpsPermit.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,3 @@ record(ao, "$(device):MODSTAINPDIS")
field(VAL, "1")
field(OUT, "$(device):MODSTAINP.DISA")
}


2 changes: 1 addition & 1 deletion tests/data/dlsPLC_radmonreset.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ record(bo, "$(device):RADMONOVERRIDE")
field(ZNAM, "No")
field(ONAM, "Yes")
}


2 changes: 0 additions & 2 deletions tests/data/dlsPLC_vacValveSoftOpening.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,3 @@ expand("dlsPLC_valveIlk.vdb", valveFullIlk) {
macro(ilk14, "$(fullilk14=unused)")
macro(ilk15, "$(fullilk15=unused)")
}


1 change: 0 additions & 1 deletion tests/data/dlsPLC_vacValveTclose.vdb
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,3 @@ record(calc, "$(device):TRESP")
field(HSV, "$(tclose_hsv=NO_ALARM)")
field(HHSV, "$(tclose_hhsv=NO_ALARM)")
}

1 change: 0 additions & 1 deletion tests/results/NX102_PreVacCoils_SMLVDT.template
Original file line number Diff line number Diff line change
Expand Up @@ -740,4 +740,3 @@ record(stringout, "$(device)$(lvdtprefix=:LVDT)$(lvdtID):LONGDESC") {
field(PINI, "YES")
field(VAL, "$(lvdt_longdesc=Manipulator LVDT $(lvdtID))")
}

1 change: 0 additions & 1 deletion tests/results/NX102_PreVacCoils_SMPort.template
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,3 @@ substitute "_longdesc=$(longdesc=Manipulator Position Port $(posportID) status.)
substitute "_shortdesc=$(shortdesc=Posport$(posportID))"

include "NX102_PreVacCoils_SMPortPositionStatus.template"

2 changes: 0 additions & 2 deletions tests/results/NX102_digitalIn.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ substitute "_TAGIDX=$(tagidx)"
substitute "_has_debounce=0"

include "NX102_readWord.template"


1 change: 0 additions & 1 deletion tests/results/NX102_digitalIn_Debounced.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ record(mbbiDirect, "$(device):DBBIT") {
field(NOBT, "16")
}

#! TemplateField("word","TAGIDX",16777215,0,1)
7 changes: 0 additions & 7 deletions tests/results/NX102_fastValve.template
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,3 @@ record(bi, "$(device):SHOWILK") {
field(ZNAM, "Gauge")
field(ONAM, "Arm")
}







1 change: 0 additions & 1 deletion tests/results/NX102_feTemperature.template
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,3 @@ record(calcout, "$(device)$(temp):GETCALC") {
record(bo, "$(device)$(temp):HASOFFSET") {
field(VAL, "0")
}

4 changes: 0 additions & 4 deletions tests/results/NX102_genericDevice.template
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,3 @@ record(bi, "$(device):MODE") {
field(ZNAM, "$(mode1=Operational)")
field(ONAM, "$(mode2=Service)")
}




4 changes: 0 additions & 4 deletions tests/results/NX102_interlock.template
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,3 @@ substitute "_typeprefix="
substitute "_DIR=$(interlock):"

include "NX102_valveIlk.template"




10 changes: 0 additions & 10 deletions tests/results/NX102_mpsPermit.template
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,3 @@ record(ai, "$(device):MODE:INP") {
field(SCAN, "1 second")
field(FLNK, "$(device):MODE")
}










2 changes: 0 additions & 2 deletions tests/results/NX102_powerSupply.template
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,3 @@ record(ai, "$(device):PSU:TEMPERATURE") {
field(ASLO, "0.1")
field(PREC, "1")
}


2 changes: 1 addition & 1 deletion tests/results/NX102_readWord.template
Original file line number Diff line number Diff line change
Expand Up @@ -468,4 +468,4 @@ record(sseq, "$(device):$(type)15:FAN") {
field(LNK1, "$(device):$(type)15.ZNAM")
field(DOL2, "$(device):$(type)15:DESC")
field(LNK2, "$(device):$(type)15.ONAM")
}
}
1 change: 0 additions & 1 deletion tests/results/NX102_robotDXrealR.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ record(ai, "$(device)$(variable)") {
field(PREC, "$(prec=2)")
field(INP, "@$(port) $(tagread)")
}

1 change: 0 additions & 1 deletion tests/results/NX102_robotDXrealRW.template
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ record(ai, "$(device)$(variable)_RBV") {
field(PREC, "$(prec=2)")
field(INP, "@$(port) $(tagread)")
}

1 change: 0 additions & 1 deletion tests/results/NX102_robotDXstatus.template
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,3 @@ record(stringout, "$(P)$(Q):B15") {
field(DESC, "$(labelF=unused)")
field(SCAN, "Passive")
}

4 changes: 0 additions & 4 deletions tests/results/NX102_sequence.template
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,3 @@ record(calcout, "$(device):PROGRESS") {
field(HOPR, "100")
field(LOPR, "0")
}




1 change: 0 additions & 1 deletion tests/results/NX102_temperature.template
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,3 @@ record(fanout, "$(device)$(temp):GETLIMIT:FAN") {
field(LNK1, "$(device)$(temp)")
field(LNK2, "$(device)$(temp):GETCALC")
}

5 changes: 0 additions & 5 deletions tests/results/NX102_vacPump.template
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,3 @@ record(bi, "$(device):PLUG") {
field(ZSV, "$(short_sv0=NO_ALARM)")
field(OSV, "$(short_sv1=NO_ALARM)")
}





9 changes: 0 additions & 9 deletions tests/results/NX102_vacValve.template
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,3 @@ record(ai, "$(device):POSITION") {
field(ADEL, "0.1")
field(PREC, "1")
}









9 changes: 0 additions & 9 deletions tests/results/NX102_vacValveBistable.template
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,3 @@ record(ai, "$(device):POSITION") {
field(ADEL, "0.1")
field(PREC, "1")
}









11 changes: 0 additions & 11 deletions tests/results/NX102_vacValveDebounce.template
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,3 @@ record(ai, "$(device):INPTIMEOUT") {
field(ADEL, "0.1")
field(PREC, "1")
}











1 change: 0 additions & 1 deletion tests/results/NX102_vacValveTclose.template
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ record(ai, "$(device):CDUR") {
field(INP, "@$(port) $(tag).Last_Close_Duration[$(tagidx)]")
field(EGU, "s")
}

1 change: 0 additions & 1 deletion tests/results/NX102_valveCtrl.template
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,3 @@ record(calcout, "$(device):MOVN") {
field(CALC, "A=2|A=4")
field(INPA, "$(device):STA CP")
}

1 change: 0 additions & 1 deletion tests/results/NX102_valveGilk.template
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,3 @@ record(sseq, "$(device):GILK15:FAN") {
field(DOL2, "$(device):GILK15:DESC")
field(LNK2, "$(device):GILK15.ONAM")
}

1 change: 0 additions & 1 deletion tests/results/NX102_valveIlk.template
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,3 @@ record(calcout, "$(device)$(typeprefix)$(DIR)LATILKCALC") {
field(OOPT, "Every Time")
field(DOPT, "Use CALC")
}

1 change: 0 additions & 1 deletion tests/results/dlsPLC_dummyValve.template
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ record(mbbi, "$(device):ILKSTA") {
field(FRSV, "$(ilksta_sv4=NO_ALARM)")
field(FVSV, "$(ilksta_sv5=NO_ALARM)")
}

7 changes: 0 additions & 7 deletions tests/results/dlsPLC_fastValve.template
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,3 @@ record(bi, "$(device):SHOWILK")
field(ZNAM, "Gauge")
field(ONAM, "Arm")
}







1 change: 0 additions & 1 deletion tests/results/dlsPLC_fastvalveGilk.template
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,3 @@ record(bi, "$(device):GILK15") {
field(ZNAM, "$(gilk15=unused)")
field(ONAM, "$(gilk15=unused)")
}

7 changes: 0 additions & 7 deletions tests/results/dlsPLC_feFastValve.template
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,3 @@ record(ai, "$(device):PARMBITS")
# field(CALC, "1=1?0:1")
# }








1 change: 0 additions & 1 deletion tests/results/dlsPLC_feTemperature.template
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,3 @@ record(calcout, "$(device)$(temp):LIMITINDX") {
field(OUT, "$(device)$(temp):GETLIMIT.INDX PP")
field(PINI, "YES")
}

1 change: 0 additions & 1 deletion tests/results/dlsPLC_flow.template
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,3 @@ record(calc, "$(P)$(Q):STATUS") {
field(LLSV, "MAJOR")
field(LSV, "MINOR")
}

6 changes: 0 additions & 6 deletions tests/results/dlsPLC_genericDevice.template
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,3 @@ record(bi, "$(device):MODE") {
field(ZNAM, "$(mode1=Operational)")
field(ONAM, "$(mode2=Service)")
}






4 changes: 0 additions & 4 deletions tests/results/dlsPLC_interlock.template
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,3 @@ substitute "_ilk15=$(ilk15=unused)"
substitute "_addr=$(addr)"

include "dlsPLC_valveIlk.template"




1 change: 0 additions & 1 deletion tests/results/dlsPLC_interlock_check.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ record(calc, "$(device):ILK:CHECK$(N)") {
field(INPA, "$(device):$(ilk):ILK CP")
field(INPB, "$(device):ILK:OK-VALUE CP")
}

50 changes: 0 additions & 50 deletions tests/results/dlsPLC_interlock_summary.template
Original file line number Diff line number Diff line change
Expand Up @@ -221,53 +221,3 @@ substitute "_N=24"
substitute "_ilk=$(ilk24=NO-INTERLOCK)"

include "dlsPLC_interlock_check.template"


















































14 changes: 0 additions & 14 deletions tests/results/dlsPLC_leakValve.template
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,3 @@ record(ao, "$(device):TARGETPINPDIS")
field(VAL, "1")
field(OUT, "$(device):TARGETPINP.DISA")
}














2 changes: 0 additions & 2 deletions tests/results/dlsPLC_mpsPermit.template
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,3 @@ record(ao, "$(device):MODSTAINPDIS")
field(VAL, "1")
field(OUT, "$(device):MODSTAINP.DISA")
}


1 change: 0 additions & 1 deletion tests/results/dlsPLC_overrideRequest.template
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,3 @@ record(ao, "$(P):SETPOINT") {
field(DTYP, "Soft Channel")
field(VAL, "$(SETPOINT)")
}

Loading

0 comments on commit 59c4d40

Please sign in to comment.