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

Improves Project.save #127

Merged
merged 7 commits into from
Feb 18, 2025
Merged

Conversation

alexhroom
Copy link
Collaborator

Fixes #126 by changing the Project.save method to do the following:

  • Now only takes one parameter, filepath, which is the path to the actual file to save to
  • Saves custom file paths relative to where the project is saved and loads them accordingly, so that projects are more portable

RATapi/project.py Outdated Show resolved Hide resolved
@alexhroom alexhroom merged commit 148d0d9 into RascalSoftware:main Feb 18, 2025
7 checks passed
@alexhroom alexhroom deleted the 126-better-save branch February 18, 2025 09:32
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.

Save project custom file paths as relative
2 participants