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

Correct file path management #125

Merged
merged 6 commits into from
Mar 22, 2024
Merged

Conversation

loganharbour
Copy link
Contributor

@loganharbour loganharbour commented Mar 20, 2024

refs idaholab/moose#26947

Requires idaholab/moose#27143 and is in support of idaholab/moose#26947

All file_location parameters are set to the FileName type, which eventually will be auto filled with the correct absolute path to the file base. For objects that have a default, the default is set to . (cwd of the input file). All property_file parameters are set to the RelativeFileName type, which means don't have their absolute paths resolved so you can do <file_location>/<property_file>.

@moosebuild
Copy link
Collaborator

Job Precheck on 1944998 wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/crane/docs/PRs/125/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format 9b883c5c1e394b6ecb09ab2d688240a523d24e6c

src/actions/ChemicalReactions.C Outdated Show resolved Hide resolved
src/actions/ChemicalReactionsBase.C Outdated Show resolved Hide resolved
@loganharbour
Copy link
Contributor Author

@cticenhour this is ready for review. Zapdos passes all tests with shannon-lab/zapdos#240.

Copy link
Collaborator

@cticenhour cticenhour left a comment

Choose a reason for hiding this comment

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

Great line reduction!

include/utils/CraneUtils.h Outdated Show resolved Hide resolved
include/utils/CraneUtils.h Show resolved Hide resolved
include/utils/CraneUtils.h Show resolved Hide resolved
src/utils/CraneUtils.C Show resolved Hide resolved
src/utils/CraneUtils.C Show resolved Hide resolved
src/utils/CraneUtils.C Show resolved Hide resolved
src/utils/CraneUtils.C Show resolved Hide resolved
src/materials/EEDFRateConstantTownsend.C Outdated Show resolved Hide resolved
@cticenhour
Copy link
Collaborator

Test results: https://civet.inl.gov/pr/21435/

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

3 participants