Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
fix(dtree): filter /keys /dtype from TCs datatree.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ankostis committed Nov 15, 2019
1 parent 85010ab commit 3a9438b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 88 deletions.
87 changes: 0 additions & 87 deletions datatree.txt
Original file line number Diff line number Diff line change
@@ -1,87 +0,0 @@

/cycle/a
/cycle/accel
/cycle/accel_raw
/cycle/cruise
/cycle/decel
/cycle/g_max0
/cycle/g_min
/cycle/initaccel
/cycle/n
/cycle/ok_gear
/cycle/ok_gear0
/cycle/ok_max_n
/cycle/ok_min_n_g1
/cycle/ok_min_n_g1_initaccel
/cycle/ok_min_n_g2
/cycle/ok_min_n_g2_stopdecel
/cycle/ok_min_n_g3plus_dns
/cycle/ok_min_n_g3plus_ups
/cycle/ok_n
/cycle/ok_p
/cycle/p_avail
/cycle/p_inert
/cycle/p_req
/cycle/p_resist
/cycle/run
/cycle/stop
/cycle/stopdecel
/cycle/t
/cycle/up
/cycle/v
/cycle/v_cycle
/cycle/v_target
/cycle_data/classes
/cycle_data/pmr_limits
/cycle_data/velocity_limits
/driver_mass
/f0
/f1
/f2
/f_downscale
/f_downscale_decimals
/f_downscale_threshold
/f_dscl_orig
/f_inertial
/f_safety_margin
/g_vmax
/gear_ratios
/is_n_lim_vmax
/n95_high
/n95_low
/n_idle
/n_max
/n_max1
/n_max2
/n_max3
/n_min_drive_dn_start
/n_min_drive_down
/n_min_drive_set
/n_min_drive_up
/n_min_drive_up_start
/n_rated
/n_vmax
/names/g
/names/phase_
/names/v
/p_rated
/pmr
/resistance_coeffs_regression_curves
/t_cold_end
/test_mass
/unladen_mass
/v_max
/wltc_class
/wot/ASM
/wot/n
/wot/n_norm
/wot/p
/wot/p_avail
/wot/p_avail_stable
/wot/p_norm
/wot/p_remain_stable
/wot/p_resist
/wot/sign_p_remain_stable
/wot/v
/wot/zero_crosings
/wots_vmax
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ def cleanup(request):

def write_data_psteps():
pstep_paths = set(
i[:-5] if i.endswith("/ndim") else i for i in wio.paths_collected()
i[:-5]
if any(i.endswith(suffix) for suffix in "/dtype /keys /ndim".split())
else i
for i in wio.paths_collected()
)
dtree_file = Path(__file__).parent.parent.joinpath("datatree.txt")
pstep_paths |= set(dtree_file.read_text().split("\n"))
Expand Down

0 comments on commit 3a9438b

Please sign in to comment.