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

Add back support for tubhist #958

Merged
merged 1 commit into from Dec 1, 2021

Conversation

DocGarbanzo
Copy link
Contributor

The donkey tubhist command got lost when migrating to 4.x. We are bringing it back here.

path_list = tub_paths.split(",")
records = [record for path in path_list for record
in Tub(path, read_only=True)]
df = pd.DataFrame(records)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pandas is a pretty heavy package to install on a SBC. If you can avoid it, that would be a lot nicer. We have been trying to avoid dependencies on it in the past.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, at least we can move the import into the function, one wouldn't run it on the RPi anyway as it directly prints into the screen.

@tikurahul tikurahul merged commit 3297771 into autorope:dev Dec 1, 2021
@DocGarbanzo DocGarbanzo deleted the resurrect_tubhist branch December 2, 2021 08:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants