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

Use the caseroot automatically #19

Open
TomNicholas opened this issue Aug 16, 2024 · 1 comment
Open

Use the caseroot automatically #19

TomNicholas opened this issue Aug 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@TomNicholas
Copy link
Member

I feel like manually adding the caseroot in here seems redundant, we should just do that by default.

roms_marbl_case.persist(roms_marbl_case.caseroot+'/roms_marbl_case.yaml')
@TomNicholas TomNicholas added the enhancement New feature or request label Aug 16, 2024
@dafyddstephenson
Copy link
Contributor

If we do this:

  • there should be logic in Case.persist() to test whether the argument is a path (overriding save to Case.caseroot) or just a filename (save to Case.caseroot)
  • a print statement should inform the user of where the file has been saved

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

No branches or pull requests

2 participants