Skip to content
New issue

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

problem that makes the whole thing not function #44

Open
bigj333 opened this issue Jun 11, 2023 · 0 comments
Open

problem that makes the whole thing not function #44

bigj333 opened this issue Jun 11, 2023 · 0 comments

Comments

@bigj333
Copy link

bigj333 commented Jun 11, 2023

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant