Skip to content

Commit

Permalink
add: minor unsignificant changes to defualt params
Browse files Browse the repository at this point in the history
  • Loading branch information
jernejaMislej committed Aug 21, 2018
1 parent 3c339bf commit 2715b5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mapillary_tools/process_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ def process_csv(import_path,
print("No images found in the import path " + import_path)
sys.exit()

if gps_week_column != None and convert_gps_time == None:
if gps_week_column != None and convert_gps_time == False:
print("Error, in order to parse timestamp provided as a combination of GPS week and GPS seconds, you must specify timestamp column and flag --convert_gps_time, exiting...")
sys.exit()

if (convert_gps_time != None or convert_utc_time != None) and timestamp_column == None:
if (convert_gps_time != False or convert_utc_time != False) and timestamp_column == None:
print("Error, if specifying a flag to convert timestamp, timestamp column must be provided, exiting...")
sys.exit()

Expand Down
2 changes: 1 addition & 1 deletion mapillary_tools/process_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def timestamps_from_filename(full_image_list,

def sample_video(video_file,
import_path,
video_sample_interval,
video_sample_interval=2.0,
video_start_time=None,
video_duration_ratio=1.0,
verbose=False):
Expand Down

0 comments on commit 2715b5f

Please sign in to comment.