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

1341 Issue fix - reports folder is created (empty) when you specify output flag #1348

Merged
merged 4 commits into from
Aug 18, 2024

Conversation

ajcriado
Copy link

Description

The reports folder is always created where you execute the app even though you specify output flag because controller.setup method is not handling the options["output"] value, so it creates the folder ("reports" name by default, stored in options["output_path"]) leaving it empty.

I just control if options["output"] comes with value as it is done in controller.setup_reports method

Fix #1341

1

@ajcriado ajcriado changed the title 1341-Issue-fix 1341 Issue fix - reports folder is created (empty) when you specify output flag Jan 2, 2024
@maurosoria
Copy link
Owner

Hi Antonio! Thanks for the contribution!

Seems a valid fix @shelld3v, right?

@shelld3v
Copy link
Collaborator

shelld3v commented Jan 5, 2024

This should work, but I'm seeing a very similar check here.
image

I'm wondering whether we should move that piece of code (creating report folder for auto-save reports) to setup_reports? I don't even know why I didn't do it from the start, was it because of an unknown issue? 🤔

@maurosoria maurosoria merged commit 9752105 into maurosoria:master Aug 18, 2024
3 of 7 checks passed
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.

"reports" folder always created
3 participants