Skip to content

Macros are not renamed in DataLab after exporting them to Python scripts #82

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

Closed
PierreRaybaut opened this issue Jun 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PierreRaybaut
Copy link
Contributor

Reported by a user directly by email:

In the macro tab, the name "untitled_0" always appears even after saving the macro.
I believe this is just a display issue

Regarding macros, the user experience might be a bit confusing, but the behavior you are observing is not a bug. Indeed, when you save your macro in a Python script, you are actually performing an export, not a save. Macros are automatically saved with the DataLab workspace when you save the latter in HDF5 format. They can be renamed, but this renaming is entirely independent of the export process to a Python script. In other words, when you export your macro to a Python script, it is not renamed with the name of the Python file you chose.

However, I agree that this might not be very intuitive, and at the very least, it might be necessary to rename the macro when you export it. That's the purpose of this Issue.

@PierreRaybaut PierreRaybaut added the bug Something isn't working label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant