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

Merge filename path in results objects #22

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

SteSeg
Copy link
Collaborator

@SteSeg SteSeg commented Aug 2, 2024

Minor change in the source code. The two main classes (ResultsFromDatabase and ResultsFromOpenmc) used to take as arguments in the constructor the filename and path strings and then generate the path to the file by merging the two strings. E.g.:

ofb.ResultsFromDatabase(filename='myfile', path='path/to/')

Now they take in just one string with the full relative path already:

ofb.ResultsFromDatabase(file='path/to/myfile')

Tutorial notebooks and models have been update and tested accordingly.

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.

1 participant