You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On step 4 on the google colab
`/content/osumapper/v7.0/act_newmap_prep.py in step4_read_new_map(file_path, divisor)
26
27 start = time.time()
---> 28 read_and_save_osu_tester_file(file_path.strip(), filename="mapthis", divisor=divisor);
29 end = time.time()
/content/osumapper/v7.0/audio_tools.py in read_and_save_osu_tester_file(path, filename, json_name, divisor)
206
207 # ticks = ticks from each uninherited timing section
--> 208 ticks, timestamps, tick_lengths, slider_lengths = get_all_ticks_and_lengths_from_ts(osu_dict["timing"]["uts"], osu_dict["timing"]["ts"], file_len, divisor=divisor);
209
210 # old version to determine ticks (all from start)
/content/osumapper/v7.0/map_analyze.py in get_all_ticks_and_lengths_from_ts(uts_array, ts_array, end_time, divisor)
78 tick_len = [[uts["tickLength"]] * len(np.arange(uts["beginTime"], endtimes[i], uts["tickLength"] / divisor)) for i, uts in enumerate(uts_array)];
79 # slider_len = [[ts["sliderLength"]] * len(np.arange(ts["beginTime"], endtimes[i], ts["tickLength"] / divisor)) for i, ts in enumerate(ts_array)];
---> 80 slider_len = [get_slider_len_ts(ts_array, timestamp) for timestamp in np.concatenate(timestamps)];
81 return np.concatenate(ticks_from_uts), np.round(np.concatenate(timestamps)).astype(int), np.concatenate(tick_len), np.array(slider_len);
82
/usr/local/lib/python3.10/dist-packages/numpy/core/overrides.py in concatenate(*args, **kwargs)
ValueError: need at least one array to concatenate`
The text was updated successfully, but these errors were encountered:
On step 4 on the google colab
`/content/osumapper/v7.0/act_newmap_prep.py in step4_read_new_map(file_path, divisor)
26
27 start = time.time()
---> 28 read_and_save_osu_tester_file(file_path.strip(), filename="mapthis", divisor=divisor);
29 end = time.time()
/content/osumapper/v7.0/audio_tools.py in read_and_save_osu_tester_file(path, filename, json_name, divisor)
206
207 # ticks = ticks from each uninherited timing section
--> 208 ticks, timestamps, tick_lengths, slider_lengths = get_all_ticks_and_lengths_from_ts(osu_dict["timing"]["uts"], osu_dict["timing"]["ts"], file_len, divisor=divisor);
209
210 # old version to determine ticks (all from start)
/content/osumapper/v7.0/map_analyze.py in get_all_ticks_and_lengths_from_ts(uts_array, ts_array, end_time, divisor)
78 tick_len = [[uts["tickLength"]] * len(np.arange(uts["beginTime"], endtimes[i], uts["tickLength"] / divisor)) for i, uts in enumerate(uts_array)];
79 # slider_len = [[ts["sliderLength"]] * len(np.arange(ts["beginTime"], endtimes[i], ts["tickLength"] / divisor)) for i, ts in enumerate(ts_array)];
---> 80 slider_len = [get_slider_len_ts(ts_array, timestamp) for timestamp in np.concatenate(timestamps)];
81 return np.concatenate(ticks_from_uts), np.round(np.concatenate(timestamps)).astype(int), np.concatenate(tick_len), np.array(slider_len);
82
/usr/local/lib/python3.10/dist-packages/numpy/core/overrides.py in concatenate(*args, **kwargs)
ValueError: need at least one array to concatenate`
The text was updated successfully, but these errors were encountered: