We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError Traceback (most recent call last)
in () 1 from act_newmap_prep import * 2 ----> 3 step4_read_new_map(uploaded_osu_name);
4 frames
/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
/content/osumapper/v7.0/map_analyze.py in (.0) 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
/content/osumapper/v7.0/map_analyze.py in get_slider_len_ts(ts_a, tick) 50 51 def get_slider_len_ts(ts_a, tick): ---> 52 if tick < ts_a[0]["beginTime"]: 53 return ts_a[0]["sliderLength"]; 54 _out = 100;
TypeError: '<' not supported between instances of 'float' and 'NoneType'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TypeError Traceback (most recent call last)
in ()
1 from act_newmap_prep import *
2
----> 3 step4_read_new_map(uploaded_osu_name);
4 frames
/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
/content/osumapper/v7.0/map_analyze.py in (.0)
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
/content/osumapper/v7.0/map_analyze.py in get_slider_len_ts(ts_a, tick)
50
51 def get_slider_len_ts(ts_a, tick):
---> 52 if tick < ts_a[0]["beginTime"]:
53 return ts_a[0]["sliderLength"];
54 _out = 100;
TypeError: '<' not supported between instances of 'float' and 'NoneType'
The text was updated successfully, but these errors were encountered: