Skip to content

Commit

Permalink
Fix assert msg
Browse files Browse the repository at this point in the history
  • Loading branch information
micmarty-deepsense committed Aug 19, 2020
1 parent 49d0394 commit 00d737d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carla_real_traffic_scenarios/ngsim/ngsim_recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def _init_df(self, data_dir, x_offset_meters):

for timeslot in self._ngsim_dataset.timeslots:
file_name = f'{data_dir}/{self._ngsim_dataset.data_dir}/trajectories-{timeslot.file_suffix}.txt'
assert isfile(file_name), f'{file_name}.{{txt}} not found.'
assert isfile(file_name), f'{file_name} not found.'

LOGGER.info(f'Loading trajectories from {file_name}')
df = pd.read_csv(file_name, sep=r'\s+', header=None, names=(
Expand Down

0 comments on commit 00d737d

Please sign in to comment.