Skip to content

Delete simulation error handling and developer guide updates#64

Open
deepakmaroo wants to merge 3 commits intoiterorganization:developfrom
deepakmaroo:delete-simulation-error-handle
Open

Delete simulation error handling and developer guide updates#64
deepakmaroo wants to merge 3 commits intoiterorganization:developfrom
deepakmaroo:delete-simulation-error-handle

Conversation

@deepakmaroo
Copy link
Copy Markdown
Contributor

  • Replaced directory.rmdir() with shutil.rmtree(directory)
  • Added swegger API documentation under developer guide

Copy link
Copy Markdown
Contributor

@SimonPinches SimonPinches left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -391,7 +392,7 @@ def delete(self, sim_id: str, user: User) -> SimulationDeleteResponse:
if first_file.uri.path is not None:
directory = first_file.uri.path.parent
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unless I'm mistaking about the intent for this file/folder removal during the delete, I think this function can be improved.

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.

3 participants