You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new .exists method allows detecting if main path/file already exists. Does not check for alternate path.
So first add parameter altive=True/False to disable auto alternate path creation i.e force it to fail if main path fails due to permissions.
Now can check to see if main or alt path already exists by changing reopen/remake behavior.
Add a virgin=True/False parameter to reopen/remake and some logic changes that there would be a way to make it so existing reopen/remake methods could tell if file alread ready existed because it would force it to only be opened == True if it was a virgin open (i.e. did not exist before i.e never been opened). But is was going to take more time to figure out than I had so I will come back to it later. This way can also manage the alternate path as well. Created an issue for me to do this later.
The text was updated successfully, but these errors were encountered:
new .exists method allows detecting if main path/file already exists. Does not check for alternate path.
So first add parameter altive=True/False to disable auto alternate path creation i.e force it to fail if main path fails due to permissions.
Now can check to see if main or alt path already exists by changing reopen/remake behavior.
Add a virgin=True/False parameter to reopen/remake and some logic changes that there would be a way to make it so existing reopen/remake methods could tell if file alread ready existed because it would force it to only be opened == True if it was a virgin open (i.e. did not exist before i.e never been opened). But is was going to take more time to figure out than I had so I will come back to it later. This way can also manage the alternate path as well. Created an issue for me to do this later.
The text was updated successfully, but these errors were encountered: